]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
15 years agoFix a VDBE stack overflow issue with the UPDATE statement. branch-3.3.6
drh [Thu, 3 Sep 2009 19:43:49 +0000 (19:43 +0000)] 
Fix a VDBE stack overflow issue with the UPDATE statement.

FossilOrigin-Name: 715cecb8c795a28f312544031884622827358eda

19 years agoVersion 3.3.6 (CVS 3206)
drh [Tue, 6 Jun 2006 13:34:16 +0000 (13:34 +0000)] 
Version 3.3.6 (CVS 3206)

FossilOrigin-Name: c11cb07e4b3f0b815a7099c8d201b3473869cba2

19 years agoChanges in preparation for version 3.3.6. (CVS 3205)
drh [Tue, 6 Jun 2006 12:38:50 +0000 (12:38 +0000)] 
Changes in preparation for version 3.3.6. (CVS 3205)

FossilOrigin-Name: b2e11e02902d6fa8fc2fb95cda4810e837d6861e

19 years agoCommand "sqlite3 -version" returns 0 instead of 1. Ticket #1771. (CVS 3204)
drh [Tue, 6 Jun 2006 12:32:21 +0000 (12:32 +0000)] 
Command "sqlite3 -version" returns 0 instead of 1.  Ticket #1771. (CVS 3204)

FossilOrigin-Name: fd0fae4835a7d16b0186827b756c44bc984b42dc

19 years agoIn joins of the form "A left B, C" make sure they are not transformed into
drh [Tue, 6 Jun 2006 11:45:54 +0000 (11:45 +0000)] 
In joins of the form "A left B, C" make sure they are not transformed into
"A left C, B".  Ticket #1830.  See also #1652. (CVS 3203)

FossilOrigin-Name: 2baa983653796e16d36739e37b0be1672bf59a92

19 years agoAdd comments to the changes of check-in (3200). (CVS 3202)
drh [Sun, 4 Jun 2006 23:31:48 +0000 (23:31 +0000)] 
Add comments to the changes of check-in (3200). (CVS 3202)

FossilOrigin-Name: 697498d4e86a42d7063417a9549ad04aaf4db31c

19 years agoFix a windows portability problem in trans.test. (CVS 3201)
drh [Sun, 4 Jun 2006 23:20:10 +0000 (23:20 +0000)] 
Fix a windows portability problem in trans.test. (CVS 3201)

FossilOrigin-Name: f2538dfdb608b7f849bfc5fac0ec9d0d8dece4c7

19 years agoChanges to help SQLite cope with virus scanners and other programs that
drh [Sun, 4 Jun 2006 23:02:20 +0000 (23:02 +0000)] 
Changes to help SQLite cope with virus scanners and other programs that
open journal files for reading and thus prevent SQLite from deleting
them in order to commit a transaction. (CVS 3200)

FossilOrigin-Name: f32dbe47ffd1e7e5695f02bf4263d80bea177ffb

19 years agoRemove unused variables from vdbe.c. (CVS 3199)
drh [Sat, 3 Jun 2006 18:04:17 +0000 (18:04 +0000)] 
Remove unused variables from vdbe.c. (CVS 3199)

FossilOrigin-Name: d54750aefba0accd66f928e55ae52fe074f2b8da

19 years agoAdded support for OS/2. Ticket #1817 (CVS 3198)
drh [Sat, 3 Jun 2006 18:02:15 +0000 (18:02 +0000)] 
Added support for OS/2.  Ticket #1817 (CVS 3198)

FossilOrigin-Name: 373246c2d1edaec1ce248ff875db48ce51d896f9

19 years agoDo not record blank lines in the command-line editing history of the shell. (CVS...
drh [Sat, 3 Jun 2006 17:37:25 +0000 (17:37 +0000)] 
Do not record blank lines in the command-line editing history of the shell. (CVS 3197)

FossilOrigin-Name: 0eabda82cd0d476a7e05ba4b027b819318aef9c3

19 years agoThe windows driver always allows other processes to write the database file
drh [Fri, 2 Jun 2006 12:40:08 +0000 (12:40 +0000)] 
The windows driver always allows other processes to write the database file
even if it only has read permission on the file.  This is an experimental
checkin - we still have not determined that this change is safe.  Ticket #1803. (CVS 3196)

FossilOrigin-Name: 4bf03c3bbc1303ed9b4059917e8d6a613b1510f3

19 years agoFix typo in lang_analyze.html. (CVS 3195)
drh [Wed, 31 May 2006 11:12:01 +0000 (11:12 +0000)] 
Fix typo in lang_analyze.html. (CVS 3195)

FossilOrigin-Name: fba8ce8c383fa8e66bc2dd5a354f411ad2b83c6d

19 years agoClarify the operation of sqlite3_last_insert_rowid() in the documentation. (CVS 3194)
drh [Sat, 27 May 2006 11:15:47 +0000 (11:15 +0000)] 
Clarify the operation of sqlite3_last_insert_rowid() in the documentation. (CVS 3194)

FossilOrigin-Name: 9e0b83b81f13277b9da877bdd96c544ec66533f0

19 years agoAllow SQL statements to be executed from within a progress callback.
drh [Fri, 26 May 2006 19:57:19 +0000 (19:57 +0000)] 
Allow SQL statements to be executed from within a progress callback.
Be warned, however, that the progress callback might be called
recursively in this case.  It is up to the program to disable the
progress callback to prevent recursive invocations.
Ticket #1827. (CVS 3193)

FossilOrigin-Name: ffc4730c05ea64b8c32f64b323db9b96b26bcb88

19 years agoSyntax errors override errors from the code generator, not the other
drh [Thu, 25 May 2006 12:17:31 +0000 (12:17 +0000)] 
Syntax errors override errors from the code generator, not the other
way around. (CVS 3192)

FossilOrigin-Name: 5031ffc665782e7b300c498fb8be168443505add

19 years agoHandle NULL database names in ATTACH and DETACH as if they were empty
drh [Thu, 25 May 2006 11:52:37 +0000 (11:52 +0000)] 
Handle NULL database names in ATTACH and DETACH as if they were empty
strings.  Ticket #1825. (CVS 3191)

FossilOrigin-Name: 79a818bb05bc95c4c83375a679955dd18659b2b8

19 years agoWhen opening a new connection on a shared cache, be careful not to
drh [Wed, 24 May 2006 12:43:26 +0000 (12:43 +0000)] 
When opening a new connection on a shared cache, be careful not to
overwrite the encoding flag on the shared cache.  Ticket #1824. (CVS 3190)

FossilOrigin-Name: c8e5ceedee087098c04e3b6b8b82710de0563e77

19 years agoAdditional tests for ticket #1821. (CVS 3189)
drh [Tue, 23 May 2006 23:25:09 +0000 (23:25 +0000)] 
Additional tests for ticket #1821. (CVS 3189)

FossilOrigin-Name: b93e3fb02aeff7fe6cae56c3a45c43ffdb2f030b

19 years agoFix type coercion rules for the IN operator. Ticket #1821. (CVS 3188)
drh [Tue, 23 May 2006 23:22:29 +0000 (23:22 +0000)] 
Fix type coercion rules for the IN operator.  Ticket #1821. (CVS 3188)

FossilOrigin-Name: 6e5a49762166a942e1b2c3beae8a30c07187eb10

19 years agoIf an sqlite3_mprintf() call uses a disallowed internal-use-only conversion
drh [Mon, 22 May 2006 22:04:00 +0000 (22:04 +0000)] 
If an sqlite3_mprintf() call uses a disallowed internal-use-only conversion
character, then abort the call with a -1 error code.  Ticket #1818. (CVS 3187)

FossilOrigin-Name: 9d7297b9ef6ca2f35116e37f993bb029cf03d4f0

19 years agoAdjust the default weights on indices so that an index that matches more
drh [Thu, 11 May 2006 23:14:59 +0000 (23:14 +0000)] 
Adjust the default weights on indices so that an index that matches more
terms of the where clause wins (by default) over one that matches fewer.
Ticket #1808. (CVS 3186)

FossilOrigin-Name: 249b579f83b2922e3e03037186a9402af951e6d1

19 years agoFix documentation typo: The name of the competing database engine is
drh [Thu, 11 May 2006 13:33:14 +0000 (13:33 +0000)] 
Fix documentation typo:  The name of the competing database engine is
"Firebird", not "Firefox". (CVS 3185)

FossilOrigin-Name: 8be6a39d7108839b0fb298a2d536d68ebca86d66

19 years agoCorrectly handle multi-column indices where multiple columns are constrained
drh [Thu, 11 May 2006 13:26:25 +0000 (13:26 +0000)] 
Correctly handle multi-column indices where multiple columns are constrained
by IN operators with subqueries on the right-hand side.  Ticket #1807. (CVS 3184)

FossilOrigin-Name: b16541ba5e6a9514f9f317888117c68b6818f9cb

19 years agoFix comments on the implementation of the SUM() function. (CVS 3183)
drh [Thu, 11 May 2006 13:25:39 +0000 (13:25 +0000)] 
Fix comments on the implementation of the SUM() function. (CVS 3183)

FossilOrigin-Name: a8909f3e5fc67ac1ba7d1abd7fb0f4004fec5984

19 years agoOut-of-memory checks added to tclsqlite.c and shell.c. Tickets #1805 and #1806....
drh [Wed, 10 May 2006 14:39:13 +0000 (14:39 +0000)] 
Out-of-memory checks added to tclsqlite.c and shell.c.  Tickets #1805 and #1806. (CVS 3182)

FossilOrigin-Name: 364031d6e512b992a7147bbc8e046c20c0c5335a

19 years agoFix error processing in Lemon. SQLite does not use this feature of lemon
drh [Mon, 8 May 2006 15:14:19 +0000 (15:14 +0000)] 
Fix error processing in Lemon.  SQLite does not use this feature of lemon
so it is uneffected. (CVS 3181)

FossilOrigin-Name: 864cac960390a31c240d34ffd62bb084ab780267

19 years agoAutomatically increase the size of the pager hash table as the number
drh [Sun, 7 May 2006 17:49:38 +0000 (17:49 +0000)] 
Automatically increase the size of the pager hash table as the number
of in-memory pages increases.  Tickets #1790 and #1799. (CVS 3180)

FossilOrigin-Name: ef8e9886f40c8528604264308f5e4734ae6706c5

19 years agoFix a typo on a webpage. Ticket #1792. (CVS 3179)
drh [Wed, 3 May 2006 23:39:36 +0000 (23:39 +0000)] 
Fix a typo on a webpage.  Ticket #1792. (CVS 3179)

FossilOrigin-Name: 2702205277f45aadd2f07d51f71af4efd266228f

19 years agoFaster :memory: database COMMITs. Ticket #1790. (CVS 3178)
drh [Wed, 3 May 2006 23:34:05 +0000 (23:34 +0000)] 
Faster :memory: database COMMITs.  Ticket #1790. (CVS 3178)

FossilOrigin-Name: 8f820e435272c0a4861421508c7e6f2979c2750f

19 years agoGet LIMIT 0 working on subqueries. Ticket #1784. (CVS 3177)
drh [Wed, 26 Apr 2006 17:39:34 +0000 (17:39 +0000)] 
Get LIMIT 0 working on subqueries.  Ticket #1784. (CVS 3177)

FossilOrigin-Name: 7f3ef7ddba22d69a23e656836ba76738c9652b4d

19 years agoAdditional information about index sorting in EXPLAIN QUERY PLAN. (CVS 3176)
drh [Fri, 21 Apr 2006 09:38:36 +0000 (09:38 +0000)] 
Additional information about index sorting in EXPLAIN QUERY PLAN. (CVS 3176)

FossilOrigin-Name: 39dd969527a107b2a6bb94dfc35d93850917faa8

19 years agoRemove a superfluous call to access() in the unix driver. Error spotted
drh [Wed, 19 Apr 2006 01:24:53 +0000 (01:24 +0000)] 
Remove a superfluous call to access() in the unix driver.  Error spotted
by Coverity. (CVS 3175)

FossilOrigin-Name: 4f195aa1ebef5129e6f912e78b3d5f97b393a06c

19 years agoAllocate enough memory for the worst-case UTF-16 to UTF-8 conversion.
drh [Sun, 16 Apr 2006 12:05:03 +0000 (12:05 +0000)] 
Allocate enough memory for the worst-case UTF-16 to UTF-8 conversion.
Ticket #1773. (CVS 3174)

FossilOrigin-Name: 2a0120c0f06d17185ede773729d97c93f90923ff

19 years agoAllow constant terms in the ORDER BY or GROUP BY clauses. Ticket #1768. (CVS 3173)
drh [Tue, 11 Apr 2006 14:16:21 +0000 (14:16 +0000)] 
Allow constant terms in the ORDER BY or GROUP BY clauses.  Ticket #1768. (CVS 3173)

FossilOrigin-Name: d83e0230c0c4909cb035e266beffc0967526d9c1

19 years agoFollow-up to check-in (3164). Make sure SQLITE_NOMEM is returned after
drh [Mon, 10 Apr 2006 13:37:47 +0000 (13:37 +0000)] 
Follow-up to check-in (3164).  Make sure SQLITE_NOMEM is returned after
a memory allocation failure.  It is not sufficent to return an "out of memory"
error message.  The return code needs to be SQLITE_NOMEM. (CVS 3172)

FossilOrigin-Name: 9d95750e8556aef20a637a815652d547ed2f887c

19 years agoVariable declarations should come before code. Ticket #1763. (CVS 3171)
drh [Sat, 8 Apr 2006 19:14:53 +0000 (19:14 +0000)] 
Variable declarations should come before code.  Ticket #1763. (CVS 3171)

FossilOrigin-Name: 9682f84401f7e21630246e1c37351425b78b7afa

19 years agoReorder code so that it compiles with SQLITE_OMIT_MEMORYDB. Ticket #1754. (CVS 3170)
drh [Fri, 7 Apr 2006 13:54:46 +0000 (13:54 +0000)] 
Reorder code so that it compiles with SQLITE_OMIT_MEMORYDB.  Ticket #1754. (CVS 3170)

FossilOrigin-Name: 1929e37d5e691f9d2bec01deb7bdbbbb6f5ace01

19 years agoReturn the correct declared column type, origin column name, origin database
drh [Fri, 7 Apr 2006 13:50:37 +0000 (13:50 +0000)] 
Return the correct declared column type, origin column name, origin database
name, etc. from aggregate queries.  Ticket #1726 and #1755. (CVS 3169)

FossilOrigin-Name: e64809f0ae98ce9d152cf030cae72bf3df3e2403

19 years agoAvoid the use of atof(). Ticket #1756. (CVS 3168)
drh [Fri, 7 Apr 2006 13:26:42 +0000 (13:26 +0000)] 
Avoid the use of atof().  Ticket #1756. (CVS 3168)

FossilOrigin-Name: 76aef93c3e113b0077f534a437a339be2b15ca3d

19 years agoVersion 3.3.5 (CVS 3167)
drh [Wed, 5 Apr 2006 13:16:48 +0000 (13:16 +0000)] 
Version 3.3.5 (CVS 3167)

FossilOrigin-Name: a091a61d8832ad3454231f480ec605101bb9363a

19 years agoFix typos in the previous check-in. (CVS 3166)
drh [Wed, 5 Apr 2006 12:50:08 +0000 (12:50 +0000)] 
Fix typos in the previous check-in. (CVS 3166)

FossilOrigin-Name: 119ec402281c142359cfe5ccf1416bf69eed103f

19 years agoPreparing for the release of version 3.3.5. (CVS 3165)
drh [Wed, 5 Apr 2006 12:15:11 +0000 (12:15 +0000)] 
Preparing for the release of version 3.3.5. (CVS 3165)

FossilOrigin-Name: 159fb92bd5290098986709f5d9ff8183e9059d53

19 years agoMake sure SQLITE_NOMEM is reported out on a malloc failure in an ATTACH
drh [Wed, 5 Apr 2006 11:57:37 +0000 (11:57 +0000)] 
Make sure SQLITE_NOMEM is reported out on a malloc failure in an ATTACH
even if the malloc failure reports within a nested calls to sqlite3_prepare(). (CVS 3164)

FossilOrigin-Name: 3538a4e30fb5131b461bb0cf72cada63e9724e14

19 years agoAdd documentation on new sqlite_authorizer callback types. Ticket #1744. (CVS 3163)
drh [Wed, 5 Apr 2006 01:08:35 +0000 (01:08 +0000)] 
Add documentation on new sqlite_authorizer callback types. Ticket #1744. (CVS 3163)

FossilOrigin-Name: fdbff3f145296d5dcba8987c25629e27353e2ab0

19 years agoDocumentation typos. Tickets #1749 and #1750. (CVS 3162)
drh [Wed, 5 Apr 2006 01:02:08 +0000 (01:02 +0000)] 
Documentation typos.  Tickets #1749 and #1750. (CVS 3162)

FossilOrigin-Name: 51b35ace203a33f6f04f1139ca8ab652c5c76f9a

19 years agoChanges to get SQLite running on machines that use the EBCDIC character set. (CVS...
drh [Tue, 4 Apr 2006 01:54:55 +0000 (01:54 +0000)] 
Changes to get SQLite running on machines that use the EBCDIC character set. (CVS 3161)

FossilOrigin-Name: 4342b4997199241cafd6120c6abda665770e270c

19 years agoDo not strip windows DLLs because this prevents them from being relocatable.
drh [Sun, 2 Apr 2006 11:57:12 +0000 (11:57 +0000)] 
Do not strip windows DLLs because this prevents them from being relocatable.
Ticket #1474. (CVS 3160)

FossilOrigin-Name: 94054cd997a67541547cf593bfbba7da4f9e31ce

19 years agoRemove mention of the REVERSE collating sequence from the documentation. (CVS 3159)
drh [Sat, 1 Apr 2006 14:38:41 +0000 (14:38 +0000)] 
Remove mention of the REVERSE collating sequence from the documentation. (CVS 3159)

FossilOrigin-Name: bd6876a1a946a9b266b31d776081464de7c7f437

19 years agoProperly record the names of triggers even if the name is quoted.
drh [Wed, 29 Mar 2006 00:24:06 +0000 (00:24 +0000)] 
Properly record the names of triggers even if the name is quoted.
Ticket #1737. (CVS 3158)

FossilOrigin-Name: 4ba280ddd66d5cbf617263d6300b7582f65d47a9

19 years agoCompile-time option to use only 32-bit integers. (CVS 3157)
drh [Tue, 28 Mar 2006 23:57:17 +0000 (23:57 +0000)] 
Compile-time option to use only 32-bit integers. (CVS 3157)

FossilOrigin-Name: aedadfc3e47efa28ff81d7789b54fba9fcc128db

19 years agoJoin optimizer enhancements. (CVS 3156)
drh [Tue, 28 Mar 2006 23:55:57 +0000 (23:55 +0000)] 
Join optimizer enhancements. (CVS 3156)

FossilOrigin-Name: 0039888f9132dc7461af4ae448292a0ce9adf804

19 years agoExtra asserts to prove that certain reported errors in btree.c are not really
drh [Tue, 28 Mar 2006 00:24:44 +0000 (00:24 +0000)] 
Extra asserts to prove that certain reported errors in btree.c are not really
errors. (CVS 3155)

FossilOrigin-Name: c64542d0e8efd6daecb037009474f4448793e4c0

19 years agoWork around a bug in GCC 4.0.2. (CVS 3154)
drh [Sun, 26 Mar 2006 20:49:17 +0000 (20:49 +0000)] 
Work around a bug in GCC 4.0.2. (CVS 3154)

FossilOrigin-Name: fe0920c7922bfdbefbc0107fb9170d98bec2dcef

19 years agoSQLite now always chooses the column names for compound selects using
drh [Sun, 26 Mar 2006 01:21:22 +0000 (01:21 +0000)] 
SQLite now always chooses the column names for compound selects using
the left-most select.  This makes SQLite work like other SQL database,
but it also is a change from historical behavior and may break some
scripts.  Ticket #1721. (CVS 3153)

FossilOrigin-Name: 80cda9f7ce83f2de6cd2fdaf6150bbc35b670fee

19 years agoAdd code to report an error on a recursive trigger, but leave it
drh [Sat, 25 Mar 2006 15:52:19 +0000 (15:52 +0000)] 
Add code to report an error on a recursive trigger, but leave it
commented out - turning it on will likely break a lot of code. (CVS 3152)

FossilOrigin-Name: c83ec81d53f756660cafbbdaf9cf92e9e4bab4ad

19 years agoAdd a note to the API documentation emphasizing that the filename argument
drh [Sat, 25 Mar 2006 14:03:42 +0000 (14:03 +0000)] 
Add a note to the API documentation emphasizing that the filename argument
to sqlite3_open() must be UTF-8.  Tickets #1713, #1533. (CVS 3151)

FossilOrigin-Name: b0111f43e4f82f0c3144d1e6348d9e5fae504d95

19 years agoMake sure the rootpage values in the symbol table are correctly updated
drh [Fri, 24 Mar 2006 03:36:26 +0000 (03:36 +0000)] 
Make sure the rootpage values in the symbol table are correctly updated
when dropping tables and indices in autocommit mode.  Ticket #1728. (CVS 3150)

FossilOrigin-Name: 1c582dd11304f4421da2fa451f52b313b541270e

19 years agoImprovements to comments in build.c. (CVS 3149)
drh [Thu, 23 Mar 2006 23:33:26 +0000 (23:33 +0000)] 
Improvements to comments in build.c. (CVS 3149)

FossilOrigin-Name: 986208a364ce0ba81456b54e6561a277fb19309c

19 years agoGet autovacuum and in-memory databases working together. Ticket #1727. (CVS 3148)
drh [Thu, 23 Mar 2006 23:29:04 +0000 (23:29 +0000)] 
Get autovacuum and in-memory databases working together.  Ticket #1727. (CVS 3148)

FossilOrigin-Name: 21446df6420df00468867f1131c28604a1ae91a3

19 years agoUse the pread()/pwrite() interface on Posix if compiled with -DUSE_PREAD=1.
drh [Thu, 23 Mar 2006 22:42:20 +0000 (22:42 +0000)] 
Use the pread()/pwrite() interface on Posix if compiled with -DUSE_PREAD=1.
Note that on Linux this is slower and does not work for large files. (CVS 3147)

FossilOrigin-Name: 5a24f61981df4d8b696f03372eba2d37228906d9

19 years agoImprovements to comments. No changes to code. (CVS 3146)
drh [Thu, 23 Mar 2006 14:03:00 +0000 (14:03 +0000)] 
Improvements to comments.   No changes to code. (CVS 3146)

FossilOrigin-Name: 01e164da67fde3a89abeadd5973ead7a74e23a51

19 years agoGet the build to run with -DSQLITE_OMIT_SHARED_CACHE. (CVS 3145)
drh [Wed, 22 Mar 2006 22:10:07 +0000 (22:10 +0000)] 
Get the build to run with -DSQLITE_OMIT_SHARED_CACHE. (CVS 3145)

FossilOrigin-Name: 15e3b183bc554f729ce99c7daa5e36cdbcfa93fa

19 years agoIncrease test coverage to above 98%. (CVS 3144)
drh [Sun, 19 Mar 2006 13:00:25 +0000 (13:00 +0000)] 
Increase test coverage to above 98%. (CVS 3144)

FossilOrigin-Name: 8ae6ccc715b081cd422e847cd9e5cc22b04d8512

19 years agoMiscellaneous code cleanup. (CVS 3143)
drh [Fri, 17 Mar 2006 13:56:34 +0000 (13:56 +0000)] 
Miscellaneous code cleanup. (CVS 3143)

FossilOrigin-Name: 8f60139f688903f0e635b0a904ab9ca401fbe71f

19 years agoCode and comment cleanup for the sorting optimization of the previous check-in. ...
drh [Fri, 17 Mar 2006 00:25:59 +0000 (00:25 +0000)] 
Code and comment cleanup for the sorting optimization of the previous check-in. (CVS 3142)

FossilOrigin-Name: f3fbe72733b49264a6e0a91bf65c7fd80c7b65ea

19 years agoMuch faster sorting when there are a large number of columns in the
drh [Fri, 17 Mar 2006 00:04:03 +0000 (00:04 +0000)] 
Much faster sorting when there are a large number of columns in the
result set. (CVS 3141)

FossilOrigin-Name: 6b3717aeb4ac45a433f2a30bdd0264ed728676e1

19 years agoFix some compiler warnings. (CVS 3140)
drh [Thu, 16 Mar 2006 16:19:56 +0000 (16:19 +0000)] 
Fix some compiler warnings. (CVS 3140)

FossilOrigin-Name: 6c5175bc0f98e4ce715b099394f3fdc878ed82e8

19 years agoMake provisions in the code to support Provisions to support caching of
drh [Thu, 16 Mar 2006 14:05:14 +0000 (14:05 +0000)] 
Make provisions in the code to support Provisions to support caching of
serialized statements in the SSE extension. (CVS 3139)

FossilOrigin-Name: 5048fae04227857c064c0ba48eb11bedeb467df0

19 years agoPerformance improvement in sqlite3VdbeAddOp(). (CVS 3138)
drh [Wed, 15 Mar 2006 22:44:36 +0000 (22:44 +0000)] 
Performance improvement in sqlite3VdbeAddOp(). (CVS 3138)

FossilOrigin-Name: 6bcbe8fcad35de6e9b90e7776bd262fdf7cbc28e

19 years agoFix CHECK constraints to use alternative conflict resolution. Ticket #1717. (CVS...
drh [Wed, 15 Mar 2006 16:26:10 +0000 (16:26 +0000)] 
Fix CHECK constraints to use alternative conflict resolution.  Ticket #1717. (CVS 3137)

FossilOrigin-Name: c0d20fa97f94313e6b7ee5b4baa236ef5b664d76

19 years agoSet and clear the full_column_name flag using direct invocation rather than
drh [Tue, 14 Mar 2006 13:10:42 +0000 (13:10 +0000)] 
Set and clear the full_column_name flag using direct invocation rather than
the execsql tcl command so that the select1 test works with the serialized
statement extension. (CVS 3136)

FossilOrigin-Name: 4d70013a6a42a58bc7af3a87bf79c131a0070e96

19 years agoMove the PENDING_PAGE to a very large value if disk I/O is omitted. (CVS 3135)
drh [Tue, 14 Mar 2006 12:59:10 +0000 (12:59 +0000)] 
Move the PENDING_PAGE to a very large value if disk I/O is omitted. (CVS 3135)

FossilOrigin-Name: f07181739f82b0d23f934f51b97e67c32efe6f42

19 years agoMake sure sqlite3FindCollSeq() returns NULL after a malloc() failure. (CVS 3134)
drh [Tue, 14 Mar 2006 11:08:27 +0000 (11:08 +0000)] 
Make sure sqlite3FindCollSeq() returns NULL after a malloc() failure. (CVS 3134)

FossilOrigin-Name: 0e05355f3ca795f0ab959553e6c9462e5483c3b2

19 years agoGet parserless builds working again. (CVS 3133)
drh [Mon, 13 Mar 2006 15:06:05 +0000 (15:06 +0000)] 
Get parserless builds working again. (CVS 3133)

FossilOrigin-Name: 5ddc09a5e4d81a73228cd8038c6dc345b1fdf4af

19 years agoFix documentation to show the correct return type from sqlite3_db_handle().
drh [Mon, 13 Mar 2006 14:31:39 +0000 (14:31 +0000)] 
Fix documentation to show the correct return type from sqlite3_db_handle().
Ticket #1716. (CVS 3132)

FossilOrigin-Name: f4fb047d0a0939ab6a25b75999501f5956e9f67c

19 years agoChanges to get the Serialized Statement Extension working again. (CVS 3131)
drh [Mon, 13 Mar 2006 14:28:05 +0000 (14:28 +0000)] 
Changes to get the Serialized Statement Extension working again. (CVS 3131)

FossilOrigin-Name: 255fdbe6fa31ce276a8e6511af4ec6c36a741c20

19 years agoAdditional changes due to Coverity scans. (CVS 3130)
drh [Mon, 13 Mar 2006 12:54:09 +0000 (12:54 +0000)] 
Additional changes due to Coverity scans. (CVS 3130)

FossilOrigin-Name: a69f697d50124f2c0c654d56390ae83a4ac5e9e8

19 years agoAdd an assert() to demonstrate that Klockworks is wrong about an aleged bug. (CVS...
drh [Sat, 11 Mar 2006 12:04:18 +0000 (12:04 +0000)] 
Add an assert() to demonstrate that Klockworks is wrong about an aleged bug. (CVS 3129)

FossilOrigin-Name: 0910022be3ec8ce540e0e6adce2eed7a7cd28fd3

19 years agoCorrect names returned from a query against a view. Ticket #1709, #1688, #1711....
drh [Thu, 9 Mar 2006 17:28:12 +0000 (17:28 +0000)] 
Correct names returned from a query against a view.  Ticket #1709, #1688, #1711. (CVS 3128)

FossilOrigin-Name: 36830fafa405c9eae4795045efc6843394c67555

19 years agoRemove all reference to EXTERN from tclsqlite.c. Ticket #1687. (CVS 3127)
drh [Mon, 6 Mar 2006 23:30:51 +0000 (23:30 +0000)] 
Remove all reference to EXTERN from tclsqlite.c.  Ticket #1687. (CVS 3127)

FossilOrigin-Name: b4d3e0d528c7d17fa3d05956a188cd4d431204b2

19 years agoCode changes resulting from Coverity analysis.
drh [Mon, 6 Mar 2006 20:55:46 +0000 (20:55 +0000)] 
Code changes resulting from Coverity analysis.
http://scan.coverity.com/  Found 1 potential segfault in sqlite3_mprintf().
Also 2 failures to fclose() following a malloc() failure.  And lots of
cases where unnecessary conditionals could be removed from the code. (CVS 3126)

FossilOrigin-Name: e510e6dd9d6261f33b853af3b32d155b9d6b63b3

19 years agoPager performance enhancements. (CVS 3125)
drh [Mon, 6 Mar 2006 18:23:16 +0000 (18:23 +0000)] 
Pager performance enhancements. (CVS 3125)

FossilOrigin-Name: 9c26570743d878dee963e37728969fb30a2fb436

19 years agoFix typo in documentation. Ticket #1578. (CVS 3124)
drh [Fri, 3 Mar 2006 21:39:54 +0000 (21:39 +0000)] 
Fix typo in documentation.  Ticket #1578. (CVS 3124)

FossilOrigin-Name: cb2e009f1748e8c4945e85a3d36b4435003412f0

19 years agoEXPLAIN sets the length of its text return values correctly. Ticket #1583. (CVS...
drh [Fri, 3 Mar 2006 21:38:03 +0000 (21:38 +0000)] 
EXPLAIN sets the length of its text return values correctly.  Ticket #1583. (CVS 3123)

FossilOrigin-Name: 34b560e81170b33b766a6a7cd462a227425c15d9

19 years agoThe table_info pragma shows column affinity as "" if there is no column
drh [Fri, 3 Mar 2006 21:20:16 +0000 (21:20 +0000)] 
The table_info pragma shows column affinity as "" if there is no column
affinity.  Ticket #1570. (CVS 3122)

FossilOrigin-Name: 5cae8d63d9c83f481bd2fbbcfed69df631062651

19 years agoMake sure the default busy handler uses usleep() when available.
drh [Fri, 3 Mar 2006 20:54:41 +0000 (20:54 +0000)] 
Make sure the default busy handler uses usleep() when available.
Ticket #1684. (CVS 3121)

FossilOrigin-Name: 43e5462608819e9c2c8bcb4860d4c2d6ecda600c

19 years agoThe --enable-debug option on configure enables verbose explain and vdbe_trace.
drh [Fri, 3 Mar 2006 20:37:52 +0000 (20:37 +0000)] 
The --enable-debug option on configure enables verbose explain and vdbe_trace.
Ticket #1680. (CVS 3120)

FossilOrigin-Name: ee2f706800849a95cc74a08ba0f25d3728dbe3ec

19 years agoFix tclsqlite.c to better support Mingw. Ticket #1687. (CVS 3119)
drh [Fri, 3 Mar 2006 20:32:18 +0000 (20:32 +0000)] 
Fix tclsqlite.c to better support Mingw.  Ticket #1687. (CVS 3119)

FossilOrigin-Name: da0e843c05fc708d48e396aaab00fb6247180b51

19 years agoIgnore leading spaces on text to numeric conversions. Ticket #1662.
drh [Fri, 3 Mar 2006 19:12:29 +0000 (19:12 +0000)] 
Ignore leading spaces on text to numeric conversions.  Ticket #1662.
Fixes to test cases broken by the recent changes to round(). (CVS 3118)

FossilOrigin-Name: cdca3383c54b33aeafbbdbbb4ae7c90796cf66e5

19 years agoAllow WHERE clause terms on the left table of a LEFT OUTER JOIN to
drh [Thu, 2 Mar 2006 04:44:23 +0000 (04:44 +0000)] 
Allow WHERE clause terms on the left table of a LEFT OUTER JOIN to
contain aggregate subqueries.  Ticket #1697. (CVS 3117)

FossilOrigin-Name: a286e54e26f9a364127649eeea160d5fa8928faf

19 years agoChange the ROUND() function to return a REAL value instead of TEXT.
drh [Thu, 2 Mar 2006 03:02:48 +0000 (03:02 +0000)] 
Change the ROUND() function to return a REAL value instead of TEXT.
Ticket #1699. (CVS 3116)

FossilOrigin-Name: 9dbadfb2111f7d7f971e1832db3992ed5851d8b1

19 years agoReduce the size of a memory allocation in the windows driver to the
drh [Mon, 27 Feb 2006 23:44:35 +0000 (23:44 +0000)] 
Reduce the size of a memory allocation in the windows driver to the
minimum needed.  Ticket #1690. (CVS 3115)

FossilOrigin-Name: 1fe9ca078b77b79ac738a095d8d4c82ae0926286

19 years agoAdd a test to make sure parser stack overflow is detected and reported. (CVS 3114)
drh [Mon, 27 Feb 2006 23:19:20 +0000 (23:19 +0000)] 
Add a test to make sure parser stack overflow is detected and reported. (CVS 3114)

FossilOrigin-Name: 201ab3b5238c4afeb9a9f254f9ed3632b106066d

19 years agoThe parser now permits very large triggers - triggers with 10000 or more
drh [Mon, 27 Feb 2006 22:22:27 +0000 (22:22 +0000)] 
The parser now permits very large triggers - triggers with 10000 or more
statements. (CVS 3113)

FossilOrigin-Name: b4fa96d0e92182cd8792e88b4540b95912bb9f95

19 years agoDetect stack overflow in the parser and report an error. (CVS 3112)
drh [Mon, 27 Feb 2006 21:58:07 +0000 (21:58 +0000)] 
Detect stack overflow in the parser and report an error. (CVS 3112)

FossilOrigin-Name: bd2c38f4670d1243284f2431b5e0712a6d1de1d7

19 years agoAdditional compiler warnings suppressed. (CVS 3111)
drh [Fri, 24 Feb 2006 03:09:37 +0000 (03:09 +0000)] 
Additional compiler warnings suppressed. (CVS 3111)

FossilOrigin-Name: a359b1817e85a9c5f31085817ae70e3e0b8ac7a7

19 years agoRemove unused parameters on internal APIs. Suppress warnings from
drh [Fri, 24 Feb 2006 02:53:49 +0000 (02:53 +0000)] 
Remove unused parameters on internal APIs.  Suppress warnings from
CodeWarrior. (CVS 3110)

FossilOrigin-Name: 4b22e4b847f8d5c29830baea541194ef3a0c4811

19 years agoMake sure the random() function always returns a value that can be passed
drh [Thu, 23 Feb 2006 21:51:12 +0000 (21:51 +0000)] 
Make sure the random() function always returns a value that can be passed
to abs(). (CVS 3109)

FossilOrigin-Name: 5d2e7ea01989fc9ba2c79d192760bc29f8cab463

19 years agoDetect integer overflow in the abs() function. The random() function
drh [Thu, 23 Feb 2006 21:43:55 +0000 (21:43 +0000)] 
Detect integer overflow in the abs() function.  The random() function
now provides 64 bits of randomness instead of just 32.  Fix bugs in
testing logic of test4.c. (CVS 3108)

FossilOrigin-Name: 942c509595a2a300e798e6b048ad7fc3bc54af43