Commit Graph

1902 Commits

Author SHA1 Message Date
drh
fa6bc0000f Wildcards with the same name map into the same variable number. New
api sqlite3_bind_parameter_index() added to map wildcard names into
wildcard index numbers.  Support for "?nnn" wildcards. (CVS 1945)

FossilOrigin-Name: 435b3f301fbb6953adc974c7f03589b06e9114c3
2004-09-07 16:19:52 +00:00
drh
1807ce37b8 Fix the onecolumn method in the TCL interface so that it works the same
as the eval method in all ways except for returning just the first value
in the result set. (CVS 1944)

FossilOrigin-Name: f323e4f86a08fe6448cbd4ff7cab459e8039d9f1
2004-09-07 13:20:35 +00:00
drh
af805ca035 Lemon escapes backslashes in filenames in #line directives it generates.
Ticket #892. (CVS 1943)

FossilOrigin-Name: d53047cbbc4e618c7bb5161b6f82876bb113db25
2004-09-07 11:28:25 +00:00
drh
12057d54ef Fix more name collisions. Allow sqlite.h and sqlite3.h to both be included
in the same C/C++ source file. (CVS 1942)

FossilOrigin-Name: 23e5bed1c5062f0f639751f89873bf1a277547bd
2004-09-06 17:34:12 +00:00
drh
9bb575fd72 Fix a naming conflict between sqlite versions 2 and 3. An open sqlite3
connection now *must* be called "sqlite3".  You cannot call it "sqlite".
This might break existing code. (CVS 1941)

FossilOrigin-Name: 3ddf5a9d1c480a2e3aa32685879063b11afddbe1
2004-09-06 17:24:11 +00:00
drh
873cdcb2ce Comment changes and minor code cleanup. (CVS 1940)
FossilOrigin-Name: dfa9ea89c473e1fea804ad07e8e58a9af1e92f6c
2004-09-05 23:23:41 +00:00
drh
f2a611c988 Make VACUUM work when the page size is different than the default 1024.
Ticket #890. (CVS 1939)

FossilOrigin-Name: fa82becae7e41c47a6387061932f692c6f9f472e
2004-09-05 00:33:43 +00:00
drh
ad3e010547 Fix a comment. (CVS 1938)
FossilOrigin-Name: af44ddeea110576bf9c475b5e6e3540ee50c5edf
2004-09-03 23:32:18 +00:00
drh
2e38c32b67 Modify btree.c so that is allocates big data structures using malloc()
instead of allocating from the stack.  Stack allocations cause problems
for embedded systems and pthreads implementations that only allocate a
limited amount of stack space. (CVS 1937)

FossilOrigin-Name: 4595292f936bdbec10734f42682824e91ff71d11
2004-09-03 18:38:44 +00:00
drh
2c7e56798b More tests of sqlite3_step() and SQLITE_BUSY added. (CVS 1936)
FossilOrigin-Name: 9e6645dd781cb8e422e371ca23766dc1b689481e
2004-09-03 00:27:56 +00:00
drh
6ad3326fd5 Fix a typo in the "News" on the homepage. (CVS 1935)
FossilOrigin-Name: 45d7158878a9648708d8ed47944707169a7f7f1c
2004-09-02 16:53:12 +00:00
drh
bc58e70e90 Version 3.0.6 (beta) (CVS 1934)
FossilOrigin-Name: c190b95c30981d2a6026e501e21af675ff8a2d13
2004-09-02 16:45:58 +00:00
drh
d1b03577ec Update version number and documentation for version 3.0.6. (CVS 1933)
FossilOrigin-Name: 67370926e374180b2de6e9ab60e5c9ddab4b1317
2004-09-02 16:36:03 +00:00
drh
c44af71c08 Address some minor 32/64 bit issues. (CVS 1932)
FossilOrigin-Name: 6c9be972c1c289b657ba87db8db08fceb89b0171
2004-09-02 15:53:56 +00:00
drh
32fc1a5c51 Fix a bug in the pagesize test script. (CVS 1931)
FossilOrigin-Name: 1cf05bc607c88a3c0b81e82ee2d4fc761f08901a
2004-09-02 15:49:07 +00:00
drh
51a6ec4892 Fix VACUUM so that it works on files whose name contains '. Ticket #873 (CVS 1930)
FossilOrigin-Name: 8dd938e48048ffeb11181db9d98112ea2adbcfa6
2004-09-02 15:27:41 +00:00
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