Commit Graph

2036 Commits

Author SHA1 Message Date
drh
5bb7ffe1ea Fix a problem with EXPLAIN on pragmas that return single integer values.
Ticket #886 (CVS 1929)

FossilOrigin-Name: 8ce3d730b0bf1a9b9472ff38c58c462ebc3566e3
2004-09-02 15:14:00 +00:00
drh
92f02c31d4 Transactions commit on the last sqlite3_step(), not on sqlite3_finalize().
This allows the sqlite3_step() to return SQLITE_BUSY if the commit is
blocked by a lock.  Ticket #885. (CVS 1928)

FossilOrigin-Name: d1b29156558f1c576002cdb2544dffaa693da39b
2004-09-02 14:57:08 +00:00
drh
66cbd1543b Work around a bug in the Borland C++ compiler. Ticket #881. (CVS 1927)
FossilOrigin-Name: 18af6ba580a5ad50a20955bfe2ebce8e30b1d39e
2004-09-01 16:12:25 +00:00
drh
91bb0eedd1 Optimizations on the SELECT code generator. (CVS 1926)
FossilOrigin-Name: 9c411c3c8dde2061c98513a413ef58c5c2de45af
2004-09-01 03:06:34 +00:00
drh
c8d7441eb4 Changes to support compiling under windows. (CVS 1925)
FossilOrigin-Name: 68a712f3728587ee20f6f15900e9826eeeaaa0de
2004-08-31 23:41:26 +00:00
drh
855eb1cf02 Simplifications and optimizations. Also: disable the corrupt.test for now. (CVS 1924)
FossilOrigin-Name: 8fd65e704888a8e2f4a712a94fd0e3f866c10ef3
2004-08-31 13:45:11 +00:00
drh
4e5ffc5f8d Combine the implementation of LIKE and GLOB into a single parameterized
function. (CVS 1923)

FossilOrigin-Name: 0a47c8f86d1649e9ae7edd4c49a6fe5f5272351e
2004-08-31 00:52:37 +00:00
drh
ee696e2218 Better detection and handling of corrupt database files. (CVS 1922)
FossilOrigin-Name: 8f5b199e845fa7ae3444ef69bd840716d305cf73
2004-08-30 16:52:17 +00:00
drh
57ee3cc2ce Documentation updates (CVS 1921)
FossilOrigin-Name: 9322c439c5727f0d65548efdf4de4d7b89b4be66
2004-08-30 14:58:11 +00:00
drh
7f4680c92e Remove the \001 character that lemon inserts automatically in its
output file.  The need for this character has expired and it creates
confusion for users.  Ticket #877 (CVS 1920)

FossilOrigin-Name: acfc59186ac7452c0a74dc4ef8df9a1c94fc4f46
2004-08-30 14:22:31 +00:00
drh
dd3d4598bf Modify the sqlite shell program so that the ".dump" command does not give up
if it encounters an SQLITE_CORRUPT error.  It tries to keep going in order
to extract as much information as it can from the corrupt database. (CVS 1919)

FossilOrigin-Name: d3f3acb77f4e9f597af5afac565916b9c5e1c5d6
2004-08-30 01:54:05 +00:00
drh
effd02bcbe Change the name of the global variable to sqlite3_temp_directory to
avoid a naming conflict with version 2.8. (CVS 1918)

FossilOrigin-Name: 431f7436a680b7c520aa559b0bf8619d7faba8c1
2004-08-29 23:42:13 +00:00
drh
208f80a7d4 Fix a bug in the NOCASE collating function. (CVS 1917)
FossilOrigin-Name: 32c2974af67abbbfa75c46afdab59ea6d5c15beb
2004-08-29 20:08:58 +00:00
drh
7cdc3e6578 Version 3.0.5 (beta) (CVS 1916)
FossilOrigin-Name: f3fe8c9fa63ed50e033f6caf7927cc3a998bcaa1
2004-08-29 18:14:39 +00:00
drh
d271df0569 Adjustments to the download.html page generator script. (CVS 1915)
FossilOrigin-Name: a6dc1331396569a3d7c3fad27b98577918d7219d
2004-08-29 18:14:18 +00:00
drh
37e012846c Increase the version number and update the change log in preparation for
the release of version 3.0.5. (CVS 1914)

FossilOrigin-Name: 69922aabb5c0065eb551fe20065c866e6abad434
2004-08-29 17:52:40 +00:00
drh
f298718005 Back out an optimization that was causing problems in UTF-16 databases. (CVS 1913)
FossilOrigin-Name: 988cb064ab2d3c9b64c075265a8cb4402a604332
2004-08-29 17:30:49 +00:00
drh
8cdbf83690 Corrections to transient table handling in compound select statments.
Tickets #826 and #875. (CVS 1912)

FossilOrigin-Name: 9cc765be4611a248cfcce1243fd1bbeaf5202968
2004-08-29 16:25:03 +00:00
drh
fbc4ee7b70 Progress toward fixing iproblems with compound selects. (CVS 1911)
FossilOrigin-Name: 307478593d5d96b79386da222c7742ea2eaa5467
2004-08-29 01:31:05 +00:00
drh
6f3a3efe03 Add prototype in sqlite3.h for the sqlite3_libversion() function. (CVS 1910)
FossilOrigin-Name: d50c47b4995bd9b58e1293aa6513361cffc6babe
2004-08-28 18:21:21 +00:00
drh
febe1060f9 Memory handling fixes and optimizations in the VDBE. Ticket #862. (CVS 1909)
FossilOrigin-Name: 5f8d246852c7cefd5941b8c7bb22177dfc7157c5
2004-08-28 18:17:48 +00:00
drh
4aec8b65c7 Add the sqlite3_libversion() API (ticket #834). Fix the build scripts to
correctly build the shared libraries with version 8.4 of Tcl. (CVS 1908)

FossilOrigin-Name: 6db26a19ea7ac77be41a7416dedaef1b9dfd9e16
2004-08-28 16:19:00 +00:00
drh
1bcdb0c0b2 Add new defenses against misuse of the C API. Ticket #870. (CVS 1906)
FossilOrigin-Name: 6ef1f662d71c75bdb7f61b2fff03f5b1b41e5586
2004-08-28 14:49:46 +00:00
drh
3d2efea4fa Add sqlite_temp_directory to the windows driver. (CVS 1905)
FossilOrigin-Name: f5b0e5b0b2f17d179c23c7e4542dbbb452096056
2004-08-28 01:12:56 +00:00
drh
db06183c22 Update the TCL binding documentation to describe the newly added ability
to specify TCL variable names in the body of an SQL statement. (CVS 1904)

FossilOrigin-Name: b3b9e58103dd6c65c55caf9a25bc1c257b37df88
2004-08-26 01:12:13 +00:00
drh
1d895039e2 Protect Tcl_Obj pointers from change using Tcl_IncrRefCount() while
executing SQL statements in the TCL bindings. (CVS 1903)

FossilOrigin-Name: 6199f2f243514bbd4befbf768a7e03aec775bed2
2004-08-26 00:56:05 +00:00
drh
2c6674cf7e Host parameter names conform to SQL-2003. (CVS 1902)
FossilOrigin-Name: fd584d1ccf6643b723c2ff0a7a16c2aea3f1142c
2004-08-25 04:07:01 +00:00
drh
9d74b4c516 Fix a bug in the parsing of wildcards that begin with '$'. (CVS 1901)
FossilOrigin-Name: 054dd8901dbfe64a8f61e7b99e23512057bad99a
2004-08-24 15:23:34 +00:00
drh
fdb38064b0 Fix a pager bug that might have made multi-database commits non-atomic
if a power failure occurred at just the wrong moment. (CVS 1900)

FossilOrigin-Name: b6eb4bf8c7763ef73723fc3d3697af435c19bae4
2004-08-21 19:20:42 +00:00
drh
290c19482e Optimizations to the code generator. (CVS 1899)
FossilOrigin-Name: bd6649c5aae1bf182610eb267b546c297a34481d
2004-08-21 17:54:45 +00:00
drh
92febd92ad Tcl interface transfers values directly between SQLite and Tcl_Objs, without
at translation to strings. (CVS 1898)

FossilOrigin-Name: e97c331362545ce21117776c7b61d3488668f2bf
2004-08-20 18:34:20 +00:00
drh
895d747226 Add support for named wildcards in SQL statements. (CVS 1897)
FossilOrigin-Name: d3be0b7c5a39c02b9b2d6d85f1595d591984a569
2004-08-20 16:02:39 +00:00
drh
e8cf2cacb1 Optimizations in the hash table module. (CVS 1896)
FossilOrigin-Name: d5b0269e0dd7c310460a7ffc4120ed45db823ce9
2004-08-20 14:08:50 +00:00
drh
7ac25c7510 Enhance lemon so that a @X instead of just X in the code expands to the
major token value rather than the minor token value.  Use this to make
the parser a few hundred bytes smaller. (CVS 1895)

FossilOrigin-Name: 28215096e0748b5b02776ddb4c964e0161bc0f16
2004-08-19 15:12:26 +00:00
drh
2889ae7248 Add the SQLITE_BUSY_RESERVED_LOCK compile-time option. (CVS 1894)
FossilOrigin-Name: 25fe7a42ec2e06e659d7a0a6664789114c007e17
2004-08-19 13:29:15 +00:00
drh
cb4c40ba0e Make sure the database file is correctly truncated after a ROLLBACK that
occurs after a statement abort. (CVS 1893)

FossilOrigin-Name: 6afe467d146828d67ad17af21604c2e691aa5dff
2004-08-18 19:09:43 +00:00
drh
2b74d70a38 Better debug logging of the pager. (CVS 1892)
FossilOrigin-Name: 1cc0323f2597584b3f3239e8948ac3ff3db8da03
2004-08-18 16:05:18 +00:00
drh
34f4732b06 Be more agressive about not creating or opening the TEMP database if there
are no TEMP tables. (CVS 1891)

FossilOrigin-Name: 6b2b6b2dbd821070a2781685c4b63a50bc8f5cae
2004-08-18 15:58:22 +00:00
drh
dc3ff9c34c Avoid creating a TEMP database unless it is absolutely necessary. (CVS 1890)
FossilOrigin-Name: 5914a11caa4c6e778cd7ca010427897c8f971552
2004-08-18 02:10:15 +00:00
drh
181fc99332 Fix a typo in a comment. (CVS 1889)
FossilOrigin-Name: 9af1d4d1456d32c2e15f73f79928572f3bfba6ae
2004-08-17 10:42:54 +00:00
drh
ae15787643 If meta(3)>0 then make the database readonly for now. This allows the current
database to interact with future releases that might include autovacuum. (CVS 1888)

FossilOrigin-Name: 7619bf4771781005da23a3e9d7b00de405e27a64
2004-08-14 19:20:09 +00:00
drh
22ac46d15d Fix a bug that was preventing "PRAGMA temp_store=MEMORY" from working. (CVS 1887)
FossilOrigin-Name: bb55894521848b6a9d8b516a3c7eeb3482936d7e
2004-08-14 18:34:54 +00:00
drh
472cbf6b9e The command-line shell should avoid writing changes into string constants. (CVS 1886)
FossilOrigin-Name: 6b8178de9936e48ed69d1546218b5def6665b459
2004-08-14 18:18:44 +00:00
drh
ab3f9fea05 Add the ability to specify a alternative temporary file directory using the
"sqlite_temp_directory" global variable. (CVS 1885)

FossilOrigin-Name: fce56ba6a3c53843fabdfad4f545e35a83a01aa9
2004-08-14 17:10:10 +00:00
drh
458b8fc8bc Version 3.0.4 (beta) (CVS 1884)
FossilOrigin-Name: 98edbdd5176704a3a8cbcb19614b51c59d748fda
2004-08-09 00:26:57 +00:00
drh
b78825070e Prepare for the release of version 3.0.4. (CVS 1883)
FossilOrigin-Name: 72fb719bdd627694d89ea523dda3cf44537463a9
2004-08-09 00:04:04 +00:00
drh
71c697ef4d Fix problems in the handling of malloc failures. (CVS 1882)
FossilOrigin-Name: 81d91d14cf2352fc7981b361ac9af99b3cbbc9e8
2004-08-08 23:39:19 +00:00
drh
4c755c0f53 Make sure the argument to ctype.h macros is always an unsigned character.
Ticket #839. (CVS 1881)

FossilOrigin-Name: b065973898c06a81c69b70b3fa91c79334bd9b9a
2004-08-08 20:22:17 +00:00
drh
8dcd7cab83 Attempting to open a locked table for writing should fail immediately.
Ticket #842. (CVS 1880)

FossilOrigin-Name: fc879a9b1d05ddb8f8c552c1d334597e41b29b27
2004-08-08 19:43:29 +00:00
drh
1d64fc1a5e Do not invoke the busy callback when trying to promote a lock from SHARED
to RESERVED.  This avoids a deadlock. (CVS 1879)

FossilOrigin-Name: d33771a303d9c20dd477b1a973024ff763203211
2004-08-07 23:54:48 +00:00