]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
20 years agoRemove code for SQL cursors. (CVS 2312)
danielk1977 [Fri, 4 Feb 2005 04:07:16 +0000 (04:07 +0000)] 
Remove code for SQL cursors. (CVS 2312)

FossilOrigin-Name: 2eb90870556c90b8d85da3d5eb7554f74ec922c2

20 years agoGet AUTOINCREMENT and VACUUM working together. Ticket #1095. (CVS 2311)
drh [Thu, 3 Feb 2005 01:08:20 +0000 (01:08 +0000)] 
Get AUTOINCREMENT and VACUUM working together.  Ticket #1095. (CVS 2311)

FossilOrigin-Name: 332a531d06a610e6597b02105fcda767313f0225

20 years agoFix the ".dump" command in the shell so that it works with AUTOVACUUM.
drh [Thu, 3 Feb 2005 00:42:34 +0000 (00:42 +0000)] 
Fix the ".dump" command in the shell so that it works with AUTOVACUUM.
This is related to ticket #1095. (CVS 2310)

FossilOrigin-Name: 76c4a96c5a2148f253cc5e034567b16317343be7

20 years agoMake sure the rc variable in OsWrite of os_win.c is always initialized.
drh [Thu, 3 Feb 2005 00:29:47 +0000 (00:29 +0000)] 
Make sure the rc variable in OsWrite of os_win.c is always initialized.
Also assert that the amt parameter is always greater than zero.
Ticket #1094. (CVS 2309)

FossilOrigin-Name: 4b399ae7791288e5d44f90da530908d9ca77ff4b

20 years agoFix a comment in sqlite3.h. No code changes. Ticket #1093. (CVS 2308)
danielk1977 [Wed, 2 Feb 2005 01:13:38 +0000 (01:13 +0000)] 
Fix a comment in sqlite3.h. No code changes. Ticket #1093. (CVS 2308)

FossilOrigin-Name: d1ea2fb70be905947c8ff74da8e1f719a8fb85f5

20 years agoHandle "rowid<=X ORDER BY rowid DESC" where X is an integer. Fix for ticket #1092...
danielk1977 [Wed, 2 Feb 2005 01:10:44 +0000 (01:10 +0000)] 
Handle "rowid<=X ORDER BY rowid DESC" where X is an integer. Fix for ticket #1092. (CVS 2307)

FossilOrigin-Name: 506088796c846243e24c4cba6be4ce6511fdb345

20 years agoVersion 3.1.1 (beta) (CVS 2306)
drh [Tue, 1 Feb 2005 17:05:13 +0000 (17:05 +0000)] 
Version 3.1.1 (beta) (CVS 2306)

FossilOrigin-Name: 2e1c71c4686472c6ee277f8928320095bc27846d

20 years agoIncrement the version number to 3.1.1beta. (CVS 2305)
drh [Tue, 1 Feb 2005 15:57:07 +0000 (15:57 +0000)] 
Increment the version number to 3.1.1beta. (CVS 2305)

FossilOrigin-Name: 076f9868a487913a79abddfb3977f05cd88d6cf1

20 years agoSpace analyzer: Format integer results as integers. Also fix the calculation of avera...
danielk1977 [Tue, 1 Feb 2005 10:36:40 +0000 (10:36 +0000)] 
Space analyzer: Format integer results as integers. Also fix the calculation of average-fanout. (CVS 2304)

FossilOrigin-Name: 52e473b94694cd0991257427d57515ecef93c780

20 years agoHave debugging code handle sqliteMalloc(n) where n<0 in the same way as production...
danielk1977 [Tue, 1 Feb 2005 10:35:06 +0000 (10:35 +0000)] 
Have debugging code handle sqliteMalloc(n) where n<0 in the same way as production. (CVS 2303)

FossilOrigin-Name: ab85e1d01299e383bda1834664370f04b13634b6

20 years agoMore performance tweaking in the parser. (CVS 2302)
drh [Tue, 1 Feb 2005 04:09:36 +0000 (04:09 +0000)] 
More performance tweaking in the parser. (CVS 2302)

FossilOrigin-Name: a3d12726bb7bce72b8266236800c07f22ac5212f

20 years agoFix an error introduced with (2299). (CVS 2301)
danielk1977 [Tue, 1 Feb 2005 03:46:43 +0000 (03:46 +0000)] 
Fix an error introduced with (2299). (CVS 2301)

FossilOrigin-Name: 22041d5f26355b0fc80eb355bfec897fb50ac1e1

20 years agoLemon optimization: When doing a shift following a reduce that pops one
drh [Tue, 1 Feb 2005 03:20:00 +0000 (03:20 +0000)] 
Lemon optimization:  When doing a shift following a reduce that pops one
or more elements off the stack, no need to check for stack overflow. (CVS 2300)

FossilOrigin-Name: adcd9a3fa2a86464abd613aa88ae110b4799a241

20 years agoAvoid allocating a vdbe in sqlite3FinishCoding() if one has not been allocated alread...
danielk1977 [Tue, 1 Feb 2005 03:09:52 +0000 (03:09 +0000)] 
Avoid allocating a vdbe in sqlite3FinishCoding() if one has not been allocated already. (CVS 2299)

FossilOrigin-Name: eaf1866e4d10f0ddf5ccc02b7d9aff281ff9efc0

20 years agoChange to sqlite3AffinityType() to remove hex constants. (CVS 2298)
danielk1977 [Tue, 1 Feb 2005 02:13:29 +0000 (02:13 +0000)] 
Change to sqlite3AffinityType() to remove hex constants. (CVS 2298)

FossilOrigin-Name: d8b4b0ef13dddbf527e7440e7343c458210dceac

20 years agoTweaks to the keyword hash generator. Tried to make it a little faster.
drh [Tue, 1 Feb 2005 01:40:44 +0000 (01:40 +0000)] 
Tweaks to the keyword hash generator.  Tried to make it a little faster.
If nothing else, the keyword hash table is now a little smaller. (CVS 2297)

FossilOrigin-Name: 4eca6c05abdf3955c5fd7bd3a22c87cd4741d656

20 years agoReplace sqlite3AffinityType() with a slightly faster version. (CVS 2296)
danielk1977 [Tue, 1 Feb 2005 01:21:55 +0000 (01:21 +0000)] 
Replace sqlite3AffinityType() with a slightly faster version. (CVS 2296)

FossilOrigin-Name: abe9f5e81f1196f28eec628e898b2a994c4d659d

20 years agoPerformance tweaks for sqlite3AffinityType. (CVS 2295)
drh [Mon, 31 Jan 2005 23:45:55 +0000 (23:45 +0000)] 
Performance tweaks for sqlite3AffinityType. (CVS 2295)

FossilOrigin-Name: 32b926154aaae9264359fa1e9a7189afd08b0bb7

20 years agoMove sqlite3HashNoCase to hash.c. (CVS 2294)
danielk1977 [Mon, 31 Jan 2005 12:56:44 +0000 (12:56 +0000)] 
Move sqlite3HashNoCase to hash.c. (CVS 2294)

FossilOrigin-Name: 5c10ccd8e99cab7e9f8e733dfd1447c2df1d25c1

20 years agoAssorted minor changes to speed up loading the database schema. (CVS 2293)
danielk1977 [Mon, 31 Jan 2005 12:42:29 +0000 (12:42 +0000)] 
Assorted minor changes to speed up loading the database schema. (CVS 2293)

FossilOrigin-Name: dfbd684a913022ad43ce59c3422d3d94f776d547

20 years agoUser-contributed chagnes to tclinstaller so that it supports DESTDIR. (CVS 2292)
drh [Sun, 30 Jan 2005 22:10:00 +0000 (22:10 +0000)] 
User-contributed chagnes to tclinstaller so that it supports DESTDIR. (CVS 2292)

FossilOrigin-Name: ab8dbcf563b9069ce2049877bba69e5057f5b727

20 years agoRespect collation sequences in views. Ticket #1088. (CVS 2291)
danielk1977 [Sun, 30 Jan 2005 11:11:44 +0000 (11:11 +0000)] 
Respect collation sequences in views. Ticket #1088. (CVS 2291)

FossilOrigin-Name: 9843c0dd795ceda3c260986f95b101a0cbc7cf64

20 years agoHave the optimization introduced in (2170) deal with OP_NullRow as well as OP_Column...
danielk1977 [Sun, 30 Jan 2005 09:17:58 +0000 (09:17 +0000)] 
Have the optimization introduced in (2170) deal with OP_NullRow as well as OP_Column and OP_Recno. Fix for #1086. (CVS 2290)

FossilOrigin-Name: 356d31e03fe856642c5637f5ea5665947ff681fc

20 years agoUpdate to test files to support builds with OMIT macros defined. (CVS 2289)
danielk1977 [Sat, 29 Jan 2005 09:14:05 +0000 (09:14 +0000)] 
Update to test files to support builds with OMIT macros defined. (CVS 2289)

FossilOrigin-Name: 808e16a7dda048c214df24170da282087042ee3a

20 years agoFix a test bug causing a segfault in bind.test. (CVS 2288)
danielk1977 [Sat, 29 Jan 2005 09:00:49 +0000 (09:00 +0000)] 
Fix a test bug causing a segfault in bind.test. (CVS 2288)

FossilOrigin-Name: a8b921d45ec9ef4d16ef7b5bf09aabaf02ebc70b

20 years agoUpdate ioerr.test to be more deterministic. (CVS 2287)
danielk1977 [Sat, 29 Jan 2005 08:36:45 +0000 (08:36 +0000)] 
Update ioerr.test to be more deterministic. (CVS 2287)

FossilOrigin-Name: d0b16bae6555f723400821b22916b66609a26b9c

20 years agoModify sub-query handling. Tickets #1083 and #1084. (CVS 2286)
danielk1977 [Sat, 29 Jan 2005 08:32:43 +0000 (08:32 +0000)] 
Modify sub-query handling. Tickets #1083 and #1084. (CVS 2286)

FossilOrigin-Name: b1b50f315873a8614920d1e3af4a07fb29a7ff6a

20 years agoModification to schema.test so that it works with SQLITE_OMIT_TRIGGER and SQLITE_OMIT...
danielk1977 [Sat, 29 Jan 2005 01:54:18 +0000 (01:54 +0000)] 
Modification to schema.test so that it works with SQLITE_OMIT_TRIGGER and SQLITE_OMIT_UTF16 defined. (CVS 2285)

FossilOrigin-Name: 95ecb2745f3fc69d370fc3961800db56297acb68

20 years agoMake sure the #include of "sqliteInt.h" always comes first in C source files. (CVS...
drh [Fri, 28 Jan 2005 01:29:08 +0000 (01:29 +0000)] 
Make sure the #include of "sqliteInt.h" always comes first in C source files. (CVS 2284)

FossilOrigin-Name: 522c094f799220468780acb77731edb715bf5e3c

20 years agoFix a warning introduced by (2280). (CVS 2283)
danielk1977 [Thu, 27 Jan 2005 00:33:37 +0000 (00:33 +0000)] 
Fix a warning introduced by (2280). (CVS 2283)

FossilOrigin-Name: dc1b8106c4ce0ab378ee26324df4537ffe68a940

20 years agoMore changes to improve propagation of SQLITE_CORRUPT errors. (CVS 2282)
drh [Thu, 27 Jan 2005 00:33:21 +0000 (00:33 +0000)] 
More changes to improve propagation of SQLITE_CORRUPT errors. (CVS 2282)

FossilOrigin-Name: e4b5c16858db3b17a13cb572896bfd3dc08b88c1

20 years agoTest that it is ok to execute ALTER TABLE immediately after opening a database connec...
danielk1977 [Thu, 27 Jan 2005 00:30:52 +0000 (00:30 +0000)] 
Test that it is ok to execute ALTER TABLE immediately after opening a database connection. (CVS 2281)

FossilOrigin-Name: 1d5ebb1146cc6e59d8b419b3fa4796552111606d

20 years agoHave REINDEX handle missing collation sequences correctly. (CVS 2280)
danielk1977 [Thu, 27 Jan 2005 00:22:02 +0000 (00:22 +0000)] 
Have REINDEX handle missing collation sequences correctly. (CVS 2280)

FossilOrigin-Name: 1c1904f44310fa0e327d8f0a77f1cf97599b630a

20 years agoPropagate detected database corruption up through the call stack. (CVS 2279)
drh [Wed, 26 Jan 2005 21:55:31 +0000 (21:55 +0000)] 
Propagate detected database corruption up through the call stack. (CVS 2279)

FossilOrigin-Name: 2c54aba5ba781f4da1f14ed7a3986b6dc17728d7

20 years agoAn optimization to sqlite3VdbeSerialType(). (CVS 2278)
drh [Wed, 26 Jan 2005 17:47:02 +0000 (17:47 +0000)] 
An optimization to sqlite3VdbeSerialType(). (CVS 2278)

FossilOrigin-Name: db36773830cc81c38b78d1776a495d49475523be

20 years agoAdd an entry to faq.tcl regarding SQLITE_SCHEMA errors. (CVS 2277)
danielk1977 [Wed, 26 Jan 2005 10:39:58 +0000 (10:39 +0000)] 
Add an entry to faq.tcl regarding SQLITE_SCHEMA errors. (CVS 2277)

FossilOrigin-Name: 12defe8cd6a0d7434c8f74b88169155d47299079

20 years agoAllow GROUP BY on non-aggregate queries. Ticket #1064 (CVS 2276)
danielk1977 [Wed, 26 Jan 2005 03:58:35 +0000 (03:58 +0000)] 
Allow GROUP BY on non-aggregate queries. Ticket #1064 (CVS 2276)

FossilOrigin-Name: 0642d3e3d6636a5f922f75c05252c9c1372d3936

20 years agoPrevent collation sequences and user functions from being deleted or changed while...
danielk1977 [Tue, 25 Jan 2005 04:27:54 +0000 (04:27 +0000)] 
Prevent collation sequences and user functions from being deleted or changed while SQL statements are executing. (CVS 2275)

FossilOrigin-Name: cabab62bc10568d435806a7059fad7274f0dd4c8

20 years agoClarify documentation of DEFAULT CURRENT_TIME etc. (version 3.1.0 and greater only...
danielk1977 [Mon, 24 Jan 2005 23:27:31 +0000 (23:27 +0000)] 
Clarify documentation of DEFAULT CURRENT_TIME etc. (version 3.1.0 and greater only). (CVS 2274)

FossilOrigin-Name: 557eb2ec9d825c0a2830d3355d0d27b4b5937de2

20 years agoMore test cases to do with invalidating precompiled statements. (CVS 2273)
danielk1977 [Mon, 24 Jan 2005 13:03:32 +0000 (13:03 +0000)] 
More test cases to do with invalidating precompiled statements. (CVS 2273)

FossilOrigin-Name: b243681a0e328ee0bbf1140abfb60d65d2102ad5

20 years agoUse the cache with loading a large table in select2-2.0. (CVS 2272)
drh [Mon, 24 Jan 2005 12:46:14 +0000 (12:46 +0000)] 
Use the cache with loading a large table in select2-2.0. (CVS 2272)

FossilOrigin-Name: bd65b1805c116a9073a01164d77e2bfd4ab3b447

20 years agoModifications and bugfixes so that the test suite passes with the TCL statement cache...
danielk1977 [Mon, 24 Jan 2005 10:25:59 +0000 (10:25 +0000)] 
Modifications and bugfixes so that the test suite passes with the TCL statement cache turned on. (CVS 2271)

FossilOrigin-Name: d5233e0747789dea04d35a8350b408321d23a64d

20 years agoFlush the TCL statement cache before each lock_status pragma. (CVS 2270)
drh [Mon, 24 Jan 2005 01:38:32 +0000 (01:38 +0000)] 
Flush the TCL statement cache before each lock_status pragma. (CVS 2270)

FossilOrigin-Name: 8beae3ff8cbe23f20eb242187edbdb72133a24c3

20 years agoChange the TCL interface so that it can cache VMs and reuse them without
drh [Mon, 24 Jan 2005 00:28:42 +0000 (00:28 +0000)] 
Change the TCL interface so that it can cache VMs and reuse them without
recompiling.  But for now leave the cache turned off by default. (CVS 2269)

FossilOrigin-Name: 8db6bfef52c1f35afdb8b60cba34f6807a5917f4

20 years agoModification to shell.c to avoid a compiler warning on some compilers. (CVS 2268)
danielk1977 [Sun, 23 Jan 2005 23:43:21 +0000 (23:43 +0000)] 
Modification to shell.c to avoid a compiler warning on some compilers. (CVS 2268)

FossilOrigin-Name: 0778383b6f9e6f58202ca20e74b399f8dce90ec4

20 years agoMinor changes to avoid warnings on some compilers. (CVS 2267)
danielk1977 [Sun, 23 Jan 2005 22:41:37 +0000 (22:41 +0000)] 
Minor changes to avoid warnings on some compilers. (CVS 2267)

FossilOrigin-Name: 4daf1d1f9d4d32397d785d660394c5579c296b1f

20 years agoFix a bug in change counting that comes up when sqlite3_finalize() is
drh [Sun, 23 Jan 2005 19:04:42 +0000 (19:04 +0000)] 
Fix a bug in change counting that comes up when sqlite3_finalize() is
called right after sqlite3_reset(). (CVS 2266)

FossilOrigin-Name: 1a64295e055d083539e05f069df6f1bea12e14b2

20 years agoATTACH and DETACH cause prepared statements to expire.
drh [Sun, 23 Jan 2005 13:14:55 +0000 (13:14 +0000)] 
ATTACH and DETACH cause prepared statements to expire.
sqlite3_finalize() can now be called right after sqlite3_reset(). (CVS 2265)

FossilOrigin-Name: 6c631b86e5e166f650d3f7d53c773aa859391c2b

20 years agoTest script changes: Bug fix and cleanup on ioerr tests. Also, don't use TCL "file...
danielk1977 [Sat, 22 Jan 2005 03:39:39 +0000 (03:39 +0000)] 
Test script changes: Bug fix and cleanup on ioerr tests. Also, don't use TCL "file copy" command on windows. (CVS 2264)

FossilOrigin-Name: 764b55adb5dff944db36d0d19ce5e7cc758b3a9e

20 years agoAdd the experimental sqlite3_expired() API. (CVS 2263)
drh [Sat, 22 Jan 2005 03:03:54 +0000 (03:03 +0000)] 
Add the experimental sqlite3_expired() API. (CVS 2263)

FossilOrigin-Name: df648d50c0696cf7ada2fe5973d285b494891964

20 years agoAdd <stddef.h> to sqliteInt.h. (CVS 2262)
drh [Fri, 21 Jan 2005 21:31:40 +0000 (21:31 +0000)] 
Add <stddef.h> to sqliteInt.h. (CVS 2262)

FossilOrigin-Name: fede252d19cce6a88f6baff3362b057ab3b8af4b

20 years agoMore documentation changes. Allow SQLITE_DEFAULT_CACHE_SIZE to set the
drh [Fri, 21 Jan 2005 21:22:52 +0000 (21:22 +0000)] 
More documentation changes.  Allow SQLITE_DEFAULT_CACHE_SIZE to set the
default cache size for the pager at compile-time. (CVS 2261)

FossilOrigin-Name: 2ddb6748751c0135a42e6d0bcc303d06d8e17cf3

20 years agoVersion 3.1.0 (alpha) (CVS 2260)
drh [Fri, 21 Jan 2005 18:28:55 +0000 (18:28 +0000)] 
Version 3.1.0 (alpha) (CVS 2260)

FossilOrigin-Name: 45094abe38c3d35b0528fc28503aff604e9087f8

20 years agoDocumentation updates prior to 3.1.0. (CVS 2259)
drh [Fri, 21 Jan 2005 18:19:27 +0000 (18:19 +0000)] 
Documentation updates prior to 3.1.0. (CVS 2259)

FossilOrigin-Name: fc4f1f13d053f861b6be0ceba29bd9e62554252f

20 years agoInitialize the random number generator from /dev/urandom, if available. (CVS 2258)
drh [Fri, 21 Jan 2005 17:53:17 +0000 (17:53 +0000)] 
Initialize the random number generator from /dev/urandom, if available. (CVS 2258)

FossilOrigin-Name: aab8e7f8d81ffa786d5fae5a13963c6e58a8eefc

20 years agoChange to mkopcodeh.awk to accomodate windows systems. (CVS 2257)
drh [Fri, 21 Jan 2005 17:07:22 +0000 (17:07 +0000)] 
Change to mkopcodeh.awk to accomodate windows systems. (CVS 2257)

FossilOrigin-Name: 39786aa894d620480661ed8867961f9f1ef33e40

20 years agoUpdate change log for version 3.1.0. (CVS 2256)
drh [Fri, 21 Jan 2005 17:03:50 +0000 (17:03 +0000)] 
Update change log for version 3.1.0. (CVS 2256)

FossilOrigin-Name: 4d9b858746084c2636ba618108775b9be2eff0a5

20 years agoFinal preparations for the 3.1.0 alpha release. (CVS 2255)
drh [Fri, 21 Jan 2005 15:52:32 +0000 (15:52 +0000)] 
Final preparations for the 3.1.0 alpha release. (CVS 2255)

FossilOrigin-Name: 17122c7e8e9cae36f1ffa7b42bd69d702980ac6a

20 years agoImprove test coverage for minimum feature builds. (CVS 2254)
danielk1977 [Fri, 21 Jan 2005 11:55:25 +0000 (11:55 +0000)] 
Improve test coverage for minimum feature builds. (CVS 2254)

FossilOrigin-Name: 9c4d0e13e8c5f3fc4d7fd8f495898372293f7fad

20 years agoExclude a few more lines of code using OMIT macros. (CVS 2253)
danielk1977 [Fri, 21 Jan 2005 08:13:14 +0000 (08:13 +0000)] 
Exclude a few more lines of code using OMIT macros. (CVS 2253)

FossilOrigin-Name: c6fc49e61033419e78b6b10638d57f4942087961

20 years agoModify test scripts to work when SQLITE_OMIT_SUBQUERY (but no other OMIT macros)...
danielk1977 [Fri, 21 Jan 2005 04:25:47 +0000 (04:25 +0000)] 
Modify test scripts to work when SQLITE_OMIT_SUBQUERY (but no other OMIT macros) is defined. (CVS 2252)

FossilOrigin-Name: d4e19efcef68d834c55c7d496cdb3696d63a31a2

20 years agoModify test scripts to work when SQLITE_OMIT_SUBQUERY (along with other OMIT macros...
danielk1977 [Fri, 21 Jan 2005 03:12:14 +0000 (03:12 +0000)] 
Modify test scripts to work when SQLITE_OMIT_SUBQUERY (along with other OMIT macros) is defined. (CVS 2251)

FossilOrigin-Name: bb0254ab14417f0ab40f10f37cb63a60507f070a

20 years agoAdd a new test file for subqueries. (CVS 2250)
drh [Fri, 21 Jan 2005 02:34:44 +0000 (02:34 +0000)] 
Add a new test file for subqueries. (CVS 2250)

FossilOrigin-Name: de8ee3a29e1aafcfa05841cb44da0a05f0579596

20 years agoChange the implementation of ALTER TABLE so that it does not use the IN() operattor...
danielk1977 [Fri, 21 Jan 2005 00:44:22 +0000 (00:44 +0000)] 
Change the implementation of ALTER TABLE so that it does not use the IN() operattor. (CVS 2249)

FossilOrigin-Name: 06887afb323fa1fb6988a136f96a456467cf7b2f

20 years agoFix a segfault that occurs on a corrupt database. (CVS 2248)
drh [Fri, 21 Jan 2005 00:22:37 +0000 (00:22 +0000)] 
Fix a segfault that occurs on a corrupt database. (CVS 2248)

FossilOrigin-Name: d1166472fd17960eb3016f3d5d3bf44afc9f5bc8

20 years agoFix comment typo in mkopcodec.awk. (CVS 2247)
drh [Thu, 20 Jan 2005 23:23:29 +0000 (23:23 +0000)] 
Fix comment typo in mkopcodec.awk. (CVS 2247)

FossilOrigin-Name: 6177148260c5e3e28df6ea1c486ba3642a745a01

20 years agoBug fixes and enhancements entered while on jury recess. (CVS 2246)
drh [Thu, 20 Jan 2005 22:48:47 +0000 (22:48 +0000)] 
Bug fixes and enhancements entered while on jury recess. (CVS 2246)

FossilOrigin-Name: 38401dfbd5e3b50dd4e7a11562a7770347cebdf4

20 years agoAdded the SQLITE_OMIT_SUBQUERY compile-time option and the EXISTS operator.
drh [Thu, 20 Jan 2005 13:36:19 +0000 (13:36 +0000)] 
Added the SQLITE_OMIT_SUBQUERY compile-time option and the EXISTS operator.
Regression tests are currently failing with an assertion fault. (CVS 2245)

FossilOrigin-Name: d30fdf0f2c24cb74b48fab9b83fba4e4b2fe878a

20 years agoRemove a few more lines of code when SQLITE_OMIT_** macros are defined. (CVS 2244)
danielk1977 [Thu, 20 Jan 2005 13:03:10 +0000 (13:03 +0000)] 
Remove a few more lines of code when SQLITE_OMIT_** macros are defined. (CVS 2244)

FossilOrigin-Name: 417bbba93ad7ed5c03d9db6afc12e170155bd152

20 years agoExtend the influence of a couple of SQLITE_OMIT_** macros a little bit. (CVS 2243)
danielk1977 [Thu, 20 Jan 2005 11:32:23 +0000 (11:32 +0000)] 
Extend the influence of a couple of SQLITE_OMIT_** macros a little bit. (CVS 2243)

FossilOrigin-Name: 5b1a9bf6aa5a5c466b88f649e322e81b8466851f

20 years agoChanges so that crash.test works when SQLITE_OMIT_PAGER_PRAGMAS is defined. (CVS...
danielk1977 [Thu, 20 Jan 2005 05:24:32 +0000 (05:24 +0000)] 
Changes so that crash.test works when SQLITE_OMIT_PAGER_PRAGMAS is defined. (CVS 2242)

FossilOrigin-Name: f0add0a60e0afb833202e42cdba97bafe6a59dfc

20 years agoFix some test scripts so that they work with a minimal build configuration. (CVS...
danielk1977 [Thu, 20 Jan 2005 02:17:01 +0000 (02:17 +0000)] 
Fix some test scripts so that they work with a minimal build configuration. (CVS 2241)

FossilOrigin-Name: d267fb3ca3f31ee138c9613cb84e873ede7f141a

20 years agoTurn SQLITE_OMIT_CURSOR on by default. (CVS 2240)
drh [Thu, 20 Jan 2005 02:14:30 +0000 (02:14 +0000)] 
Turn SQLITE_OMIT_CURSOR on by default. (CVS 2240)

FossilOrigin-Name: 2d3ab1ab5ae08fe21f4662b171f04362c1326eb0

20 years agoExpression generator bug fix. (CVS 2239)
drh [Thu, 20 Jan 2005 01:51:25 +0000 (01:51 +0000)] 
Expression generator bug fix. (CVS 2239)

FossilOrigin-Name: 39cf97a902523b1e3953da8fca6983119700d682

20 years agoMinor fix for sqlite3_clear_bindings(). (CVS 2238)
danielk1977 [Thu, 20 Jan 2005 01:17:44 +0000 (01:17 +0000)] 
Minor fix for sqlite3_clear_bindings(). (CVS 2238)

FossilOrigin-Name: ff5b338cfbd4a957c8ea5e72d6340df25be68a6f

20 years agoAdd the experimental sqlite3_sleep() and sqlite3_clear_bindings() APIs. (CVS 2237)
danielk1977 [Thu, 20 Jan 2005 01:14:23 +0000 (01:14 +0000)] 
Add the experimental sqlite3_sleep() and sqlite3_clear_bindings() APIs. (CVS 2237)

FossilOrigin-Name: 9480209e8600bf411975b3950c407d60c800e5c6

20 years agoContinued refactoring of the name resolution logic and query optimizer. (CVS 2236)
drh [Wed, 19 Jan 2005 23:24:50 +0000 (23:24 +0000)] 
Continued refactoring of the name resolution logic and query optimizer. (CVS 2236)

FossilOrigin-Name: d8b2a7e09187564fe66a2b4bf0992c6a017146cf

20 years agoAnother fix along the same lines as (2234) (CVS 2235)
danielk1977 [Wed, 19 Jan 2005 03:52:54 +0000 (03:52 +0000)] 
Another fix along the same lines as (2234) (CVS 2235)

FossilOrigin-Name: 27cf83224c69e661c19f9a09f39bfdae75e3b0a4

20 years agoA few test cases were failing on windows due to mandatory locking. Omit them on that...
danielk1977 [Wed, 19 Jan 2005 03:47:15 +0000 (03:47 +0000)] 
A few test cases were failing on windows due to mandatory locking. Omit them on that platform. (CVS 2234)

FossilOrigin-Name: 441316f1af076fef42055d6abe524f2a8c5ced63

20 years agoMake sure USING and NATURAL work on joins even if the columns are renamed
drh [Tue, 18 Jan 2005 17:40:04 +0000 (17:40 +0000)] 
Make sure USING and NATURAL work on joins even if the columns are renamed
using an AS phrase.  Ticket #523. (CVS 2233)

FossilOrigin-Name: c06add57bf0ce17503181b584ea4197b39b9e538

20 years agoCREATE TABLE ... AS ... uses short names for columns. Ticket #1036. (CVS 2232)
drh [Tue, 18 Jan 2005 17:20:10 +0000 (17:20 +0000)] 
CREATE TABLE ... AS ... uses short names for columns.  Ticket #1036. (CVS 2232)

FossilOrigin-Name: b1d4c42d2be07adda68d31c570ba7cf8b115c3ad

20 years agoColumn names coming back from a SELECT are now just the name of the
drh [Tue, 18 Jan 2005 16:02:40 +0000 (16:02 +0000)] 
Column names coming back from a SELECT are now just the name of the
source column without the "table." prefix. In other words,
"PRAGMA short_column_names=ON" is now the default.
This makes the names of columns behave more like other SQL engines.
The old behavior can be restored by setting "PRAGMA short_column_names=OFF". (CVS 2231)

FossilOrigin-Name: 9295050af1bf2d9d4dc63adc225a2848d67cbe17

20 years agoContinue refactoring name resolution. Fix for ticket #1047. (CVS 2230)
drh [Tue, 18 Jan 2005 14:45:47 +0000 (14:45 +0000)] 
Continue refactoring name resolution.  Fix for ticket #1047. (CVS 2230)

FossilOrigin-Name: 88d4834fec7583a9b6400a1ce5b928c1f8a390dd

20 years agoRefinements to the name resolution logic. Change the name of the
drh [Tue, 18 Jan 2005 04:00:42 +0000 (04:00 +0000)] 
Refinements to the name resolution logic.  Change the name of the
keywordhash.c file to keywordhash.h. (CVS 2229)

FossilOrigin-Name: 0142ae6f0004bf18a1c2d8e49c09d2a9a27d6369

20 years agoInfrastructure changes to handle name resolution differently. This is needed
drh [Mon, 17 Jan 2005 22:08:19 +0000 (22:08 +0000)] 
Infrastructure changes to handle name resolution differently.  This is needed
to fix various long-standing problems with column names in joins.  It will
also make the implementation of correlated subqueries easier. (CVS 2228)

FossilOrigin-Name: 4a7534396a72ccb300303df28798bb2c50293782

20 years agoFix a bug reported on the mailing list concerning a conflict between "INSERT INTO...
danielk1977 [Mon, 17 Jan 2005 08:57:09 +0000 (08:57 +0000)] 
Fix a bug reported on the mailing list concerning a conflict between "INSERT INTO ... SELECT" statements and the "SELECT max(x) FROM tbl" optimization. (CVS 2227)

FossilOrigin-Name: 5a9da62ae303800ded99942aed30eadeb3863da3

20 years agoFix some memory leak problems with corrupt.test and auto-vacuum databases. (CVS 2226)
danielk1977 [Mon, 17 Jan 2005 07:53:44 +0000 (07:53 +0000)] 
Fix some memory leak problems with corrupt.test and auto-vacuum databases. (CVS 2226)

FossilOrigin-Name: 6244252915fa312a6c4d192464023d95aaef4661

20 years agoAdd incomplete, preliminary drafts of new documentation. (CVS 2225)
drh [Mon, 17 Jan 2005 03:42:52 +0000 (03:42 +0000)] 
Add incomplete, preliminary drafts of new documentation. (CVS 2225)

FossilOrigin-Name: a01159e8cb93199763d191b739da2a43ec88aab3

20 years agoFix a memory leak that occurs as a result of an IO error. (CVS 2224)
danielk1977 [Mon, 17 Jan 2005 03:40:08 +0000 (03:40 +0000)] 
Fix a memory leak that occurs as a result of an IO error. (CVS 2224)

FossilOrigin-Name: 1edfdcbf142b380172a26d094e6e4a3900db8463

20 years agoChange some assert()s that could fail if the database is corrupt to return SQLITE_COR...
danielk1977 [Mon, 17 Jan 2005 02:12:18 +0000 (02:12 +0000)] 
Change some assert()s that could fail if the database is corrupt to return SQLITE_CORRUPT instead. (CVS 2223)

FossilOrigin-Name: 2d58c0afa769d49c8819ea4982bc20ae39516f97

20 years agoHave sqlite3pager_get() return SQLITE_CORRUPT for a page number greater than 2^31...
danielk1977 [Mon, 17 Jan 2005 01:33:13 +0000 (01:33 +0000)] 
Have sqlite3pager_get() return SQLITE_CORRUPT for a page number greater than 2^31. (CVS 2222)

FossilOrigin-Name: feb49d10e83ecc186024d4e96b64ef92cf876715

20 years agoTurn on quick-balance by default. (CVS 2221)
drh [Sun, 16 Jan 2005 23:21:00 +0000 (23:21 +0000)] 
Turn on quick-balance by default. (CVS 2221)

FossilOrigin-Name: d0356dee55bd43f361ede1344e90d1ba6b5cde1e

20 years agoDrop support for MAC OS9. SQLite 3 has never worked for that OS because
drh [Sun, 16 Jan 2005 20:47:40 +0000 (20:47 +0000)] 
Drop support for MAC OS9.  SQLite 3 has never worked for that OS because
the developers do not have access to a machine running it and nobody from
the community has stepped forward to provide a port.  By moving the
os_mac.c file into the attic, we make the lack of support official. (CVS 2220)

FossilOrigin-Name: de9ad673d037f7bfca3a2d439259a63c9ed954db

20 years agoChanges to make sure tests work when SQLITE_DEFAULT_AUTOVACUUM is defined. (CVS 2219)
danielk1977 [Sun, 16 Jan 2005 11:07:06 +0000 (11:07 +0000)] 
Changes to make sure tests work when SQLITE_DEFAULT_AUTOVACUUM is defined. (CVS 2219)

FossilOrigin-Name: 6237c294d1211d5848bafb1310574e2486a43757

20 years agoFixes so that compiling and testing works when SQLITE_OMIT_AUTOVACUUM is defined...
danielk1977 [Sun, 16 Jan 2005 09:06:33 +0000 (09:06 +0000)] 
Fixes so that compiling and testing works when SQLITE_OMIT_AUTOVACUUM is defined. (CVS 2218)

FossilOrigin-Name: fe548561a0e7a696fd453372f4427cf3e3f19d20

20 years agoMove duplicate code to update pointer-map wrt overflow pages into a function. (CVS...
danielk1977 [Sun, 16 Jan 2005 08:00:01 +0000 (08:00 +0000)] 
Move duplicate code to update pointer-map wrt overflow pages into a function. (CVS 2217)

FossilOrigin-Name: a5c2121410476ee1bf81881fdf5917e3e16f0399

20 years agoEnhance the performance of auto-vacuum databases by reducing the number of pointer...
danielk1977 [Sat, 15 Jan 2005 12:45:51 +0000 (12:45 +0000)] 
Enhance the performance of auto-vacuum databases by reducing the number of pointer-map entries written during tree balancing. Also fix bugs in balance_quick(). (CVS 2216)

FossilOrigin-Name: 0ae29538ccccfc237904cbcfb4507074db0f5905

20 years agoTest coverage improvements. (CVS 2215)
drh [Sat, 15 Jan 2005 01:52:31 +0000 (01:52 +0000)] 
Test coverage improvements. (CVS 2215)

FossilOrigin-Name: 92f9d2b2f480fccfa6e8b70a1d19058b92a4ea8f

20 years agoImproved test coverage for update.c. (CVS 2214)
drh [Sat, 15 Jan 2005 00:40:42 +0000 (00:40 +0000)] 
Improved test coverage for update.c. (CVS 2214)

FossilOrigin-Name: 3ef95d5fe98e7451f8b87b3f5259163f3e7d0289

20 years agoImproved coverage for insert.c. (CVS 2213)
drh [Sat, 15 Jan 2005 00:36:36 +0000 (00:36 +0000)] 
Improved coverage for insert.c. (CVS 2213)

FossilOrigin-Name: 997d8afff9b316aef4c5e2127c2207758ff4a703