]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
19 years agoHandle malloc() failures that occur inside create_collation() calls. (CVS 2966)
danielk1977 [Wed, 18 Jan 2006 04:26:07 +0000 (04:26 +0000)] 
Handle malloc() failures that occur inside create_collation() calls. (CVS 2966)

FossilOrigin-Name: 95c5903f368413019af83aa73263e0e9d1204b62

19 years agoArrange for ThreadData to be automatically deallocated even if SQLITE_MEMDEBUG is...
danielk1977 [Tue, 17 Jan 2006 16:10:13 +0000 (16:10 +0000)] 
Arrange for ThreadData to be automatically deallocated even if SQLITE_MEMDEBUG is defined. Fix for #1623. (CVS 2965)

FossilOrigin-Name: 9e2e40845d30cc150abe23ee318a721b4fe9613c

19 years agoFix compilation errors when building SQLITE_DEBUG defined but without SQLITE_MEMDEBUG...
danielk1977 [Tue, 17 Jan 2006 15:36:32 +0000 (15:36 +0000)] 
Fix compilation errors when building SQLITE_DEBUG defined but without SQLITE_MEMDEBUG. (CVS 2964)

FossilOrigin-Name: 62dd2427784721436737a6e8e11fc05e10f0c44d

19 years agoVarious fixes that allow the malloc() failure tests to pass again. (CVS 2963)
danielk1977 [Tue, 17 Jan 2006 13:21:40 +0000 (13:21 +0000)] 
Various fixes that allow the malloc() failure tests to pass again. (CVS 2963)

FossilOrigin-Name: 0505405fb9ae1068b7976718efbf2aabd07592d4

19 years agoTest suite fixes for builds that define OMIT symbols. (CVS 2962)
danielk1977 [Tue, 17 Jan 2006 09:35:01 +0000 (09:35 +0000)] 
Test suite fixes for builds that define OMIT symbols. (CVS 2962)

FossilOrigin-Name: 3a54a33dcb7e765ee3773397407e8929a8cfe1a9

19 years agoTest file fixes for libaries compiled with various SQLITE_OMIT_ macros. (CVS 2961)
danielk1977 [Mon, 16 Jan 2006 16:24:25 +0000 (16:24 +0000)] 
Test file fixes for libaries compiled with various SQLITE_OMIT_ macros. (CVS 2961)

FossilOrigin-Name: c058f483a52c8043178b6329aa5e58bedf0c8277

19 years agoFix problems compiling with memory-management enabled. Ticket #1619. (CVS 2960)
danielk1977 [Mon, 16 Jan 2006 15:32:23 +0000 (15:32 +0000)] 
Fix problems compiling with memory-management enabled. Ticket #1619. (CVS 2960)

FossilOrigin-Name: 36b03259654ffa9b14ebe1093984b29e9efbd56c

19 years agoFix some of the issues raised in #1615. (CVS 2959)
danielk1977 [Mon, 16 Jan 2006 15:14:27 +0000 (15:14 +0000)] 
Fix some of the issues raised in #1615. (CVS 2959)

FossilOrigin-Name: 0d5d83bcbd65dd7ae968909acfee075185e49c38

19 years agoCorrectly handle malloc() failure in GenericMalloc() and GenericRealloc(). Fix for...
danielk1977 [Mon, 16 Jan 2006 14:29:05 +0000 (14:29 +0000)] 
Correctly handle malloc() failure in GenericMalloc() and GenericRealloc(). Fix for #1617. (CVS 2958)

FossilOrigin-Name: 9dfc4a880b49869e945d6a19e63fcf6dc94412ad

19 years agoRun the tests in shared.test a second time using an autovacuum database. (CVS 2957)
danielk1977 [Mon, 16 Jan 2006 12:46:41 +0000 (12:46 +0000)] 
Run the tests in shared.test a second time using an autovacuum database. (CVS 2957)

FossilOrigin-Name: 9927522923558348a846e033b92100c0ed4ee556

19 years agoClarify error handling in pager code. No functional changes. (CVS 2956)
danielk1977 [Mon, 16 Jan 2006 11:29:19 +0000 (11:29 +0000)] 
Clarify error handling in pager code. No functional changes. (CVS 2956)

FossilOrigin-Name: 7b48836214ea3152f46e2dffb097ae7ea14901f4

19 years agoVersion 3.3.1 (alpha) (CVS 2953)
drh [Mon, 16 Jan 2006 02:39:05 +0000 (02:39 +0000)] 
Version 3.3.1 (alpha) (CVS 2953)

FossilOrigin-Name: bd7c5699939fda2bb792a0e2448df064a1171769

19 years agoFix the script that cross-compiles the windows DLL so that it works
drh [Mon, 16 Jan 2006 02:37:51 +0000 (02:37 +0000)] 
Fix the script that cross-compiles the windows DLL so that it works
correctly with the latest interface.  Ticket #1614.  Do not strip
the windows DLL.  Ticket #1474. (CVS 2954)

FossilOrigin-Name: 6591d365d4ba1263c3bc48f5ab47633fae2b2a3a

19 years agoVersion 3.3.1 (withdrawn - see ticket #1614) (CVS 2955)
drh [Mon, 16 Jan 2006 00:04:59 +0000 (00:04 +0000)] 
Version 3.3.1 (withdrawn - see ticket #1614) (CVS 2955)

FossilOrigin-Name: ed0f1d9086de3ffa77c9864bf880e2930ef0f96f

19 years agoCode size reductions in the pager. (CVS 2952)
drh [Sun, 15 Jan 2006 20:28:28 +0000 (20:28 +0000)] 
Code size reductions in the pager. (CVS 2952)

FossilOrigin-Name: c7da3aa9bdf7b788424633015000955606e93f48

19 years agoPrepare for the 3.3.1 alpha release. (CVS 2951)
drh [Sun, 15 Jan 2006 18:29:17 +0000 (18:29 +0000)] 
Prepare for the 3.3.1 alpha release. (CVS 2951)

FossilOrigin-Name: 3e32bcf0b8ee8d7a3f26ced8d5887561eeb3e7ab

19 years agoClean up comments in os_unix.c. (CVS 2950)
drh [Sun, 15 Jan 2006 17:27:17 +0000 (17:27 +0000)] 
Clean up comments in os_unix.c. (CVS 2950)

FossilOrigin-Name: 2170e803ad48cffa6dddf8b591e0c085a7e66c86

19 years agoCorrectly set the length of the string in bytes when transforming an OP_String8 to...
danielk1977 [Sun, 15 Jan 2006 14:11:48 +0000 (14:11 +0000)] 
Correctly set the length of the string in bytes when transforming an OP_String8 to OP_String in a utf-16 vdbe program. (CVS 2949)

FossilOrigin-Name: 69f996e0fac1dc50b8c43d5fa132f79776843819

19 years agoFix a buffer-overrun that could occur after a malloc() failure. (CVS 2948)
danielk1977 [Sun, 15 Jan 2006 13:13:56 +0000 (13:13 +0000)] 
Fix a buffer-overrun that could occur after a malloc() failure. (CVS 2948)

FossilOrigin-Name: 662522218f967a8fb07427a9abd53334bb1400f7

19 years agoRollback any open write-transaction when a shared-cache connection is closed. (CVS...
danielk1977 [Sun, 15 Jan 2006 11:39:18 +0000 (11:39 +0000)] 
Rollback any open write-transaction when a shared-cache connection is closed. (CVS 2947)

FossilOrigin-Name: 1944d92b530d3bbcd31561063660de03d668af23

19 years agoClosing a file from the wrong thread is harmless on most systems.
drh [Sun, 15 Jan 2006 02:43:16 +0000 (02:43 +0000)] 
Closing a file from the wrong thread is harmless on most systems.
(See ticket #1611)
But on systems like RedHat9 with broken fcntl() locks, it leaks file
descriptors.  That is better than the alternative of prematurely breaking
locks and causing database corruption.  Nevertheless, it would be good
if we could figure out a way to report errors when closing a file from
the wrong thread. (CVS 2946)

FossilOrigin-Name: ad8f12cad1fcd9c54478abe20050f9a953035506

19 years agoAdd tests and fix bugs in the new cross-thread lock resolution code.
drh [Sun, 15 Jan 2006 02:30:57 +0000 (02:30 +0000)] 
Add tests and fix bugs in the new cross-thread lock resolution code.
When an unlock fails, do not leak file descriptors (ticket #1611).
But we really ought to report SQLITE_MISUSE or some other error instead
of just returning SQLITE_OK. (CVS 2945)

FossilOrigin-Name: f68e05cb2be65fad43fac823b2a9c53b6d2e797d

19 years agoDocumentation updates. Fix to date.c. But most importantly: database
drh [Sun, 15 Jan 2006 00:13:15 +0000 (00:13 +0000)] 
Documentation updates.  Fix to date.c.  But most importantly: database
connections are now allowed to change threads as long as they are not
holding a lock. (CVS 2944)

FossilOrigin-Name: 03c422ecb508dd84dfafc8b7a0b790a43f5dadda

19 years agoFixes for OMIT_SUBQUERY builds: Disable where clause OR->IN optimization. Include...
danielk1977 [Sat, 14 Jan 2006 08:02:28 +0000 (08:02 +0000)] 
Fixes for OMIT_SUBQUERY builds: Disable where clause OR->IN optimization. Include EXISTS keyword (for new CREATE TABLE syntax). Test file fixes. (CVS 2943)

FossilOrigin-Name: 8e79a0c24a03ccf960d6ccfb7c6b9b0f7c614e9b

19 years agoAccount for multi-byte characters in ALTER TABLE code. Fix for #1609. (CVS 2942)
danielk1977 [Fri, 13 Jan 2006 18:06:40 +0000 (18:06 +0000)] 
Account for multi-byte characters in ALTER TABLE code. Fix for #1609. (CVS 2942)

FossilOrigin-Name: d634f8b28abd7af4565c644bd7972b067caa0133

19 years agoTweaks to make OP_Column run a fraction faster. (CVS 2941)
danielk1977 [Fri, 13 Jan 2006 17:12:01 +0000 (17:12 +0000)] 
Tweaks to make OP_Column run a fraction faster. (CVS 2941)

FossilOrigin-Name: 2d74cc22de2aa59329b1ea5c26acd6ebe46e16c2

19 years agoAvoid parsing an entire record header when it is not required. (CVS 2940)
danielk1977 [Fri, 13 Jan 2006 15:58:43 +0000 (15:58 +0000)] 
Avoid parsing an entire record header when it is not required. (CVS 2940)

FossilOrigin-Name: 0de729d9144afba144811799f65e32140c14ef8a

19 years agoMake sure the authenticator does not try to authenticate columns in
drh [Fri, 13 Jan 2006 13:55:44 +0000 (13:55 +0000)] 
Make sure the authenticator does not try to authenticate columns in
subqueries.   Ticket #1607. (CVS 2939)

FossilOrigin-Name: 55b7dfaf4d3a6d01fffdaf1707e88bcd215d7333

19 years agoFix a vdbe stack overflow problem that could occur with a correlated sub-query. ...
danielk1977 [Fri, 13 Jan 2006 13:01:19 +0000 (13:01 +0000)] 
Fix a vdbe stack overflow problem that could occur with a correlated sub-query. (CVS 2938)

FossilOrigin-Name: caa7da807d6578f7d8848978a7d3175b6ea1743b

19 years agoRemove a few duplicate variable initializations in sqlite3BtreeCursor(). (CVS 2937)
danielk1977 [Fri, 13 Jan 2006 11:22:07 +0000 (11:22 +0000)] 
Remove a few duplicate variable initializations in sqlite3BtreeCursor(). (CVS 2937)

FossilOrigin-Name: 5e46ec01ff3fe8654fc267efbb12d2d1b01c48aa

19 years agoMinor modification to restoreOrClearCursorPosition() to improve efficiency. Do not...
danielk1977 [Fri, 13 Jan 2006 06:33:23 +0000 (06:33 +0000)] 
Minor modification to restoreOrClearCursorPosition() to improve efficiency. Do not allocate the extra 8-bytes if memory-management is not enabled. (CVS 2936)

FossilOrigin-Name: dd705955429d847af85ffaf248976bcd1d861852

19 years agoAdditional speed enhancements in btree.c. (CVS 2935)
drh [Fri, 13 Jan 2006 04:31:58 +0000 (04:31 +0000)] 
Additional speed enhancements in btree.c. (CVS 2935)

FossilOrigin-Name: 48b550ce2ea43c7c1c59cd43d0008ba18fc0215b

19 years agoSmall performance improvement on sqlite3BtreeMoveto. (CVS 2934)
drh [Fri, 13 Jan 2006 02:35:09 +0000 (02:35 +0000)] 
Small performance improvement on sqlite3BtreeMoveto. (CVS 2934)

FossilOrigin-Name: c780152f3cff9c0a13d231935ae3c2e2d28b4460

19 years agoAdd a high-speed version of sqlite3GetVarint32 to vdbe.c for a 3% performance
drh [Fri, 13 Jan 2006 01:48:59 +0000 (01:48 +0000)] 
Add a high-speed version of sqlite3GetVarint32 to vdbe.c for a 3% performance
gain. (CVS 2933)

FossilOrigin-Name: a64e8251a606fb2c298d7d804f3964a9155c73c5

19 years agoAdd tests to make sure "PRAGMA table_info" works using sqlite3_prepare16.
drh [Fri, 13 Jan 2006 01:25:05 +0000 (01:25 +0000)] 
Add tests to make sure "PRAGMA table_info" works using sqlite3_prepare16.
Ticket #1606. (CVS 2932)

FossilOrigin-Name: ace8ba817766f9da270cd7f06b68cc537768a8be

19 years agoTerminate the va_start in the getDigits function of date.c. (CVS 2931)
drh [Fri, 13 Jan 2006 01:17:21 +0000 (01:17 +0000)] 
Terminate the va_start in the getDigits function of date.c. (CVS 2931)

FossilOrigin-Name: 94eac140f2363c7c3df68fa6f46728abfbfee1e6

19 years agoAdd support for the TOTAL() aggregate function - works like SUM() except
drh [Thu, 12 Jan 2006 22:17:50 +0000 (22:17 +0000)] 
Add support for the TOTAL() aggregate function - works like SUM() except
that it returns 0 instead of NULL when presented with an empty list. (CVS 2930)

FossilOrigin-Name: a7f528ff3446d50b280fb0b85063879e3ac5751a

19 years agoPerformance boost in sqlite3VdbeRecordCompare. (CVS 2929)
drh [Thu, 12 Jan 2006 20:28:35 +0000 (20:28 +0000)] 
Performance boost in sqlite3VdbeRecordCompare. (CVS 2929)

FossilOrigin-Name: 14c423075bcebf42a3f4e24838bc865cfb90afda

19 years agoAutomatically cast BLOBs to strings prior to handing them over to
drh [Thu, 12 Jan 2006 19:42:41 +0000 (19:42 +0000)] 
Automatically cast BLOBs to strings prior to handing them over to
functions like LIKE that want strings.  Ticket #1605. (CVS 2928)

FossilOrigin-Name: 730ddb0b74ed23c916dabd7ce893bd6bc55f3549

19 years agoCache the encoding value inside VdbeExec. (CVS 2927)
drh [Thu, 12 Jan 2006 17:20:50 +0000 (17:20 +0000)] 
Cache the encoding value inside VdbeExec. (CVS 2927)

FossilOrigin-Name: 6d2a816ede8d17b993a21e418cf25edd103334de

19 years agoAdditional performance improvements in sqlite3BtreeMoveto. (CVS 2926)
drh [Thu, 12 Jan 2006 15:01:15 +0000 (15:01 +0000)] 
Additional performance improvements in sqlite3BtreeMoveto. (CVS 2926)

FossilOrigin-Name: 52b3be96b6e96994ec6fbcc67bf355cd05f61730

19 years agoBtreeMoveto optimization goes about 1.5% faster. (CVS 2925)
drh [Thu, 12 Jan 2006 14:30:19 +0000 (14:30 +0000)] 
BtreeMoveto optimization goes about 1.5% faster. (CVS 2925)

FossilOrigin-Name: 4e4a650484a39cac43386d8488ff42a8a0cc2820

19 years agoAbout a 2.5% speed improvement by reducing the number of sqlite3ThreadData
drh [Thu, 12 Jan 2006 12:43:36 +0000 (12:43 +0000)] 
About a 2.5% speed improvement by reducing the number of sqlite3ThreadData
calls in the parser. (CVS 2924)

FossilOrigin-Name: 0caa1994770142d6ca15284a26bad3879b07b15a

19 years agoMark the end of the return codes in the sqlite3.h.in template file. (CVS 2923)
drh [Thu, 12 Jan 2006 02:50:09 +0000 (02:50 +0000)] 
Mark the end of the return codes in the sqlite3.h.in template file. (CVS 2923)

FossilOrigin-Name: 19b848d99f215914454422edc0ce72422de0774e

19 years agoAdd the legacy_file_format pragma. (CVS 2922)
drh [Thu, 12 Jan 2006 01:56:43 +0000 (01:56 +0000)] 
Add the legacy_file_format pragma. (CVS 2922)

FossilOrigin-Name: b2dbd1a5b7f5a70049f25755f07b9c4c5116549b

19 years agoImprove performance by about 10% by avoiding excess calls to get
drh [Thu, 12 Jan 2006 01:25:18 +0000 (01:25 +0000)] 
Improve performance by about 10% by avoiding excess calls to get
the thread-specific data. (CVS 2921)

FossilOrigin-Name: a8c74febec11eb689ca9f6b454f8c8bbadfc49d7

19 years agoTesting of the automatic TSD deallocation logic. The sqlite3_thread_cleanup()
drh [Wed, 11 Jan 2006 23:40:33 +0000 (23:40 +0000)] 
Testing of the automatic TSD deallocation logic.  The sqlite3_thread_cleanup()
API is documented.  This should close ticket #1601. (CVS 2920)

FossilOrigin-Name: fb518b0ce4ddd4aaca5cccf61e651f173e735119

19 years agoAutomatically deallocate thread-specific data when it is no longer
drh [Wed, 11 Jan 2006 21:41:20 +0000 (21:41 +0000)] 
Automatically deallocate thread-specific data when it is no longer
being used.  Ticket #1601.  Also implemented the suggestion of
ticket #1603. Memory management is now off by default at compile-time.
The sqlite3_enable_memory_management() API has been removed. (CVS 2919)

FossilOrigin-Name: 5d9c6aa964305c3f36741ff0058da5b5f3ce0d24

19 years agoEnsure the database attached as part of VACUUM can be detached successfully after...
danielk1977 [Wed, 11 Jan 2006 16:10:20 +0000 (16:10 +0000)] 
Ensure the database attached as part of VACUUM can be detached successfully after a malloc() failure. (CVS 2918)

FossilOrigin-Name: 8c26893c65574b0667bb84bde3ca49751079cc8d

19 years agoFix bugs caused by assuming that shared-schemas are initialized. (CVS 2917)
danielk1977 [Wed, 11 Jan 2006 14:09:31 +0000 (14:09 +0000)] 
Fix bugs caused by assuming that shared-schemas are initialized. (CVS 2917)

FossilOrigin-Name: 3970eb875d1830d35b3a70a7583a8ab6b238cad6

19 years agoFix typo noted by #1599. (CVS 2916)
danielk1977 [Wed, 11 Jan 2006 05:49:50 +0000 (05:49 +0000)] 
Fix typo noted by #1599. (CVS 2916)

FossilOrigin-Name: 1b368c7c5ca7974e0975dc4e3c931680c9e8df1f

19 years agoVersion 3.3.0 (alpha) (CVS 2915)
drh [Wed, 11 Jan 2006 01:28:30 +0000 (01:28 +0000)] 
Version 3.3.0 (alpha) (CVS 2915)

FossilOrigin-Name: 59a7a56c1bba84b5c60a2f3e25bf51d933075aaf

19 years agoAdd new APIs to the sqlite3.def file. (CVS 2914)
drh [Wed, 11 Jan 2006 01:28:11 +0000 (01:28 +0000)] 
Add new APIs to the sqlite3.def file. (CVS 2914)

FossilOrigin-Name: 9258931a80e0dac78b015e1e200d1291a6177320

19 years agoPrepare for the release of version 3.3.0. (CVS 2913)
drh [Wed, 11 Jan 2006 01:08:34 +0000 (01:08 +0000)] 
Prepare for the release of version 3.3.0. (CVS 2913)

FossilOrigin-Name: 302993ae16750c56fd1418531ba716cff53d2df0

19 years agoFix a typo in the FAQ. (CVS 2912)
drh [Tue, 10 Jan 2006 23:00:41 +0000 (23:00 +0000)] 
Fix a typo in the FAQ. (CVS 2912)

FossilOrigin-Name: 5be03a361d9292ccdf311372be6add29ade4dd04

19 years agoFix bug in the server1 test script. (CVS 2911)
drh [Tue, 10 Jan 2006 20:36:39 +0000 (20:36 +0000)] 
Fix bug in the server1 test script. (CVS 2911)

FossilOrigin-Name: 25db22b6711590214f4f953e6e3cf6be2d7451db

19 years agoCombine multiple small calls to sqlite3OsWrite into one larger call. (CVS 2910)
drh [Tue, 10 Jan 2006 20:32:32 +0000 (20:32 +0000)] 
Combine multiple small calls to sqlite3OsWrite into one larger call. (CVS 2910)

FossilOrigin-Name: e6e6750c24dc8b87be96bdc0e93254d7f0700543

19 years agoImproved comments on the server and asynchronous I/O demo programs. (CVS 2909)
drh [Tue, 10 Jan 2006 20:01:18 +0000 (20:01 +0000)] 
Improved comments on the server and asynchronous I/O demo programs. (CVS 2909)

FossilOrigin-Name: c0f47ccbc915f20d56f393383c21b4026785e6a5

19 years agoMore pedantic changes to comments in VDBE. No changes to code. Ticket #1596. (CVS...
drh [Tue, 10 Jan 2006 19:45:49 +0000 (19:45 +0000)] 
More pedantic changes to comments in VDBE.  No changes to code.  Ticket #1596. (CVS 2908)

FossilOrigin-Name: 1cf6855430352ffbf921a977186345d7272fe272

19 years agoFix opcode name in comments. No changes to code. (CVS 2907)
drh [Tue, 10 Jan 2006 18:44:08 +0000 (18:44 +0000)] 
Fix opcode name in comments.  No changes to code. (CVS 2907)

FossilOrigin-Name: 511ac9db12ad84bb02d84568b75fc65cef661e88

19 years agoInitialize variables in malloc3.test (was causing error in all.test). (CVS 2906)
danielk1977 [Tue, 10 Jan 2006 18:27:41 +0000 (18:27 +0000)] 
Initialize variables in malloc3.test (was causing error in all.test). (CVS 2906)

FossilOrigin-Name: 16a8172a617d4ff739660ae67d3e381b2dea68e6

19 years agoTypos in new documentation. (CVS 2905)
danielk1977 [Tue, 10 Jan 2006 18:08:09 +0000 (18:08 +0000)] 
Typos in new documentation. (CVS 2905)

FossilOrigin-Name: b5bedb2a9f349b32acbd0356c61cdc30fd474eca

19 years agoStore collation sequence names instead of pointers in sharable schema data structures...
danielk1977 [Tue, 10 Jan 2006 17:58:23 +0000 (17:58 +0000)] 
Store collation sequence names instead of pointers in sharable schema data structures. (CVS 2904)

FossilOrigin-Name: 0f0213be4d064b3d24e31ff93ec16f6862003d26

19 years agoUpdates to the C-API documentation. Change the parameter type of
drh [Tue, 10 Jan 2006 15:18:27 +0000 (15:18 +0000)] 
Updates to the C-API documentation.  Change the parameter type of
sqlite3_soft_heap_limit to integer. (CVS 2903)

FossilOrigin-Name: bdd35e9fbb651fe7a1ed5042923c9529c3c5ab7c

19 years agoMove the implementation of sqlite3_enable_shared_cache from btree.c to main.c. (CVS...
drh [Tue, 10 Jan 2006 13:58:48 +0000 (13:58 +0000)] 
Move the implementation of sqlite3_enable_shared_cache from btree.c to main.c. (CVS 2902)

FossilOrigin-Name: 4f2ec95283f1ae0a28b2f9ce0afc5a7203de87fb

19 years agoFix a problem with shared-schemas and temp triggers. (CVS 2901)
danielk1977 [Tue, 10 Jan 2006 12:31:39 +0000 (12:31 +0000)] 
Fix a problem with shared-schemas and temp triggers. (CVS 2901)

FossilOrigin-Name: 9c18a1ce1e7ff6a02eb0f9ce344cab9660819740

19 years agoIf compiled with memory-debugging, write garbage to memory when it is freed. Fix...
danielk1977 [Tue, 10 Jan 2006 07:14:23 +0000 (07:14 +0000)] 
If compiled with memory-debugging, write garbage to memory when it is freed. Fix for #1594. (CVS 2900)

FossilOrigin-Name: bd02a6faefa3602d0b93d54bc57809a2222d5903

19 years agoEnable shared cache on the server demonstration. (CVS 2899)
drh [Tue, 10 Jan 2006 02:30:33 +0000 (02:30 +0000)] 
Enable shared cache on the server demonstration. (CVS 2899)

FossilOrigin-Name: 8719f880a395db8be65ea45615d8e55985306f1e

19 years agoAdd the first simple tests of server mode. Get the Makefile generated from
drh [Mon, 9 Jan 2006 23:50:11 +0000 (23:50 +0000)] 
Add the first simple tests of server mode.  Get the Makefile generated from
the configure script working again. (CVS 2898)

FossilOrigin-Name: 66f84068f3c7c0963ce88f84fc0ba6775f64cd19

19 years agoAdded database server example code (untested). Fixed serveral bugs including
drh [Mon, 9 Jan 2006 23:40:25 +0000 (23:40 +0000)] 
Added database server example code (untested).  Fixed serveral bugs including
the autovacuum compile problem described by ticket #1593. (CVS 2897)

FossilOrigin-Name: ec332d8822d1ac9673581a26ab2a2fce5f2554a3

19 years agoReinstate the asynchronous I/O demonstration code and tests with minor
drh [Mon, 9 Jan 2006 17:29:52 +0000 (17:29 +0000)] 
Reinstate the asynchronous I/O demonstration code and tests with minor
changes. (CVS 2896)

FossilOrigin-Name: eeebc640aaeeb0ab7f730d854069f159aa41968b

19 years agoFix some errors to do with attached databases and text encodings in shared-cache...
danielk1977 [Mon, 9 Jan 2006 16:12:04 +0000 (16:12 +0000)] 
Fix some errors to do with attached databases and text encodings in shared-cache mode. (CVS 2895)

FossilOrigin-Name: 3e75d3d5efebc0dfff1adfc13d85e85ec39db3eb

19 years agoAdd a runtime interface to enable memory-management features. (CVS 2894)
danielk1977 [Mon, 9 Jan 2006 09:59:49 +0000 (09:59 +0000)] 
Add a runtime interface to enable memory-management features. (CVS 2894)

FossilOrigin-Name: 44f8e3139aa3ad3fcce9028565dd9ad23bbe62a2

19 years agoRename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893)
danielk1977 [Mon, 9 Jan 2006 06:29:47 +0000 (06:29 +0000)] 
Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893)

FossilOrigin-Name: 82b81f69c78cb3f54634d9aea4f6a838474dc5e5

19 years agoMinor changes so that OMIT_SHARED_CACHE works. (CVS 2892)
danielk1977 [Mon, 9 Jan 2006 05:36:27 +0000 (05:36 +0000)] 
Minor changes so that OMIT_SHARED_CACHE works. (CVS 2892)

FossilOrigin-Name: cc963f8cfc6c704c645c627bffb8df21dfebffc6

19 years agoFix timezone parsing in the date/time functions. Ticket #1587. (CVS 2891)
drh [Mon, 9 Jan 2006 00:18:02 +0000 (00:18 +0000)] 
Fix timezone parsing in the date/time functions.  Ticket #1587. (CVS 2891)

FossilOrigin-Name: 94c87b70161d4d44fbf1602fc2baae22dca08759

19 years agoRemove benign reference to an uninitialized variable. Ticket #1590. (CVS 2890)
drh [Mon, 9 Jan 2006 00:09:01 +0000 (00:09 +0000)] 
Remove benign reference to an uninitialized variable.  Ticket #1590. (CVS 2890)

FossilOrigin-Name: 32998fe8ed38a79eb79d8b13051b47bf74661e3c

19 years agoGet LIMIT and OFFSET working again for negative limits and offsets.
drh [Sun, 8 Jan 2006 18:10:17 +0000 (18:10 +0000)] 
Get LIMIT and OFFSET working again for negative limits and offsets.
Ticket #1586. (CVS 2889)

FossilOrigin-Name: b2ac0be07ec76ab23b7e5b800c0bc62d0bc97f4b

19 years agoRemove some cruft from the VDBE. Bring comments up to date. (CVS 2888)
drh [Sun, 8 Jan 2006 05:26:41 +0000 (05:26 +0000)] 
Remove some cruft from the VDBE.  Bring comments up to date. (CVS 2888)

FossilOrigin-Name: 41aef6496a10c81e1095408dc8f69740d6ea7627

19 years agoReduce memory requirements for ORDER BY combined with LIMIT. Ticket #1586. (CVS...
drh [Sun, 8 Jan 2006 05:02:54 +0000 (05:02 +0000)] 
Reduce memory requirements for ORDER BY combined with LIMIT.  Ticket #1586. (CVS 2887)

FossilOrigin-Name: 55e703ecac6e03d7364c2d919ba18d7293d6b7f6

19 years agoInvalidate all VDBE cursor row caches in between calls to sqlite3_step()
drh [Sat, 7 Jan 2006 18:48:26 +0000 (18:48 +0000)] 
Invalidate all VDBE cursor row caches in between calls to sqlite3_step()
since the emphemeral content that those caches point to might change if
the statement is READ UNCOMMITTED. (CVS 2886)

FossilOrigin-Name: 0ae461313c1642a49a9f6cda608c42c7c0053ce4

19 years agoContinued progress toward a working wince backend. (CVS 2885)
drh [Sat, 7 Jan 2006 18:14:48 +0000 (18:14 +0000)] 
Continued progress toward a working wince backend. (CVS 2885)

FossilOrigin-Name: 15fda14ee0c0524d3064d767f48edd689c090d95

19 years agoMake sure there is no ephemeral data on the stack before returning from
drh [Sat, 7 Jan 2006 18:10:32 +0000 (18:10 +0000)] 
Make sure there is no ephemeral data on the stack before returning from
an sqlite3_step() call.  Otherwise, if the statement is in READ UNCOMMITTED
mode then the data might be deleted or changed out from under us. (CVS 2884)

FossilOrigin-Name: 19f71a6d1982e986f5436bff71ef38b1bcc2e11d

19 years agoEnable redefinable I/O if the SQLITE_ENABLE_REDEF_IO macro exists. (CVS 2883)
drh [Sat, 7 Jan 2006 16:06:07 +0000 (16:06 +0000)] 
Enable redefinable I/O if the SQLITE_ENABLE_REDEF_IO macro exists. (CVS 2883)

FossilOrigin-Name: e170e15766389e978991b42a0d2ec303162aaad6

19 years agoFix some memory leaks caused by obscure syntax errors in SQL. (CVS 2882)
danielk1977 [Sat, 7 Jan 2006 14:02:26 +0000 (14:02 +0000)] 
Fix some memory leaks caused by obscure syntax errors in SQL. (CVS 2882)

FossilOrigin-Name: 6593199a4d0d0e1f9cc2f48d30327b1c03a8170e

19 years agoIn shared-cache mode, lock all required tables before beginning to execute the body...
danielk1977 [Sat, 7 Jan 2006 13:21:04 +0000 (13:21 +0000)] 
In shared-cache mode, lock all required tables before beginning to execute the body of the statement program. (CVS 2881)

FossilOrigin-Name: 23b587b05b89727248805e6d9e5141e018cf2152

19 years agoDrop the mutex if the TSD key allocation fails. Ticket #1585. (CVS 2880)
drh [Sat, 7 Jan 2006 04:06:54 +0000 (04:06 +0000)] 
Drop the mutex if the TSD key allocation fails.  Ticket #1585. (CVS 2880)

FossilOrigin-Name: 77ac231c0e21c09c0b612a4e72bcc863f2c95fd3

19 years agoFix bugs in test scripts that came of of sse testing. (CVS 2879)
drh [Fri, 6 Jan 2006 22:11:20 +0000 (22:11 +0000)] 
Fix bugs in test scripts that came of of sse testing. (CVS 2879)

FossilOrigin-Name: 22bf1a2ffac503020dfa78d228b561d1cf6f3894

19 years agoChanges so that SQLITE_OMIT_PARSER and SQLITE_OMIT_DISKIO work. (CVS 2878)
drh [Fri, 6 Jan 2006 21:52:49 +0000 (21:52 +0000)] 
Changes so that SQLITE_OMIT_PARSER and SQLITE_OMIT_DISKIO work. (CVS 2878)

FossilOrigin-Name: 9d71b7deaffdd7eb9ddad1f03df3e4c51c2cbd98

19 years agoAdditional changes for wince. (CVS 2877)
drh [Fri, 6 Jan 2006 21:09:01 +0000 (21:09 +0000)] 
Additional changes for wince. (CVS 2877)

FossilOrigin-Name: b10343d9163263f97efb1bbc61af8307a2cfe8a4

19 years agoMore changes to support wince. (CVS 2876)
drh [Fri, 6 Jan 2006 20:40:28 +0000 (20:40 +0000)] 
More changes to support wince. (CVS 2876)

FossilOrigin-Name: f3cbd995c845dc19596678d05844e0691b63da54

19 years agoAdditional efforts to get it to build on WinCE. (CVS 2875)
drh [Fri, 6 Jan 2006 20:22:29 +0000 (20:22 +0000)] 
Additional efforts to get it to build on WinCE. (CVS 2875)

FossilOrigin-Name: b45c076f0d5f7c863287ccb5703c492e1010a99d

19 years agoA first attempt at adding native support for WinCE. (CVS 2874)
drh [Fri, 6 Jan 2006 16:17:05 +0000 (16:17 +0000)] 
A first attempt at adding native support for WinCE. (CVS 2874)

FossilOrigin-Name: 434405678778e7ce6e0bdec02fa7049a1ca68d27

19 years agoFix a crash caused by adding a trigger to a shared-schema and then deleting it
danielk1977 [Fri, 6 Jan 2006 15:03:48 +0000 (15:03 +0000)] 
Fix a crash caused by adding a trigger to a shared-schema and then deleting it
using a different connection. (CVS 2873)

FossilOrigin-Name: 19f93e135f1ff4f987d14afe74b955e119904017

19 years agoFix an alignment problem in the sqlite3OsRandomSeed(). Ticket #1584. (CVS 2872)
drh [Fri, 6 Jan 2006 14:46:46 +0000 (14:46 +0000)] 
Fix an alignment problem in the sqlite3OsRandomSeed().  Ticket #1584. (CVS 2872)

FossilOrigin-Name: 373b56f0048fd6a1946a97acfcca40fd12f7d572

19 years agoRemove vestigial file: crashtest1.c (CVS 2871)
drh [Fri, 6 Jan 2006 14:41:54 +0000 (14:41 +0000)] 
Remove vestigial file: crashtest1.c (CVS 2871)

FossilOrigin-Name: 6676c7031d81202ad702142ecf9e64f14d94d968

19 years agoChange the OS interface layer to use traditional direct function call
drh [Fri, 6 Jan 2006 14:32:19 +0000 (14:32 +0000)] 
Change the OS interface layer to use traditional direct function call
implementations instead of the more complicated virtual function table.
Omit the asynchronous I/O demo. (CVS 2870)

FossilOrigin-Name: 2529c2e11fa1d345ec61f647e4f6fae20a7133d6

19 years agoAdd some simple tests and fixes for shared-schema locking. (CVS 2869)
danielk1977 [Fri, 6 Jan 2006 13:00:28 +0000 (13:00 +0000)] 
Add some simple tests and fixes for shared-schema locking. (CVS 2869)

FossilOrigin-Name: d054bed15aee3edef93cc84c83be443cdd489946

19 years agoBack out the addition of the new header file - bad idea. (CVS 2868)
drh [Fri, 6 Jan 2006 12:03:19 +0000 (12:03 +0000)] 
Back out the addition of the new header file - bad idea. (CVS 2868)

FossilOrigin-Name: 0c4c45c36fe1c3c2980155ef5126a2ad53100d65

19 years agoFix a bug that was emptying shared-schema tables during an ATTACH. (CVS 2867)
danielk1977 [Fri, 6 Jan 2006 06:33:12 +0000 (06:33 +0000)] 
Fix a bug that was emptying shared-schema tables during an ATTACH. (CVS 2867)

FossilOrigin-Name: 752a2754879becc32da9f9b910f3330f8c7145e4