]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
19 years agoAdd the SQLITE_THREADS_OVERRIDE_LOCKS compile-time option that disables
drh [Tue, 31 Jan 2006 23:03:35 +0000 (23:03 +0000)] 
Add the SQLITE_THREADS_OVERRIDE_LOCKS compile-time option that disables
the run-time test to see if threads can override each others locks on unix. (CVS 3050)

FossilOrigin-Name: e83a19e8cb6d721b02502925b362f2e86b2de742

19 years agoPatches to support linux on embedded platforms. (CVS 3049)
drh [Tue, 31 Jan 2006 20:49:13 +0000 (20:49 +0000)] 
Patches to support linux on embedded platforms. (CVS 3049)

FossilOrigin-Name: a088eb6d6eda70d89add1e5d95be5efda6c0de67

19 years agoFix some pointless warnings from overly-pedantic compilers. (CVS 3048)
drh [Tue, 31 Jan 2006 19:31:43 +0000 (19:31 +0000)] 
Fix some pointless warnings from overly-pedantic compilers. (CVS 3048)

FossilOrigin-Name: b922c8e45f9a7799583d8b42875b27032fd71422

19 years ago3rd parameter to sqlite3_prepare() should be -1 if the string length is
drh [Tue, 31 Jan 2006 19:07:22 +0000 (19:07 +0000)] 
3rd parameter to sqlite3_prepare() should be -1 if the string length is
unknown.  Passing in zero causes a zero-length SQL statement to be
prepared, which is a no-op.  Ticket #1651.  This bug introduced by the
fix for ticket #1650. (CVS 3047)

FossilOrigin-Name: 1e68ac590d9edd3784cd7afd6705a30f01740d0d

19 years agoVersion 3.3.3 (CVS 3046)
drh [Tue, 31 Jan 2006 16:21:13 +0000 (16:21 +0000)] 
Version 3.3.3 (CVS 3046)

FossilOrigin-Name: 10a3f5654616cfe5b245f1348249101a7d956222

19 years agoPut in the correct release date for version 3.3.3. (CVS 3045)
drh [Tue, 31 Jan 2006 16:20:50 +0000 (16:20 +0000)] 
Put in the correct release date for version 3.3.3. (CVS 3045)

FossilOrigin-Name: 1133a84039e6a81855445b5309b36136f0a7d149

19 years agoFix an problem in the test scripts that was show false failures under
drh [Tue, 31 Jan 2006 15:19:45 +0000 (15:19 +0000)] 
Fix an problem in the test scripts that was show false failures under
windows. (CVS 3044)

FossilOrigin-Name: 0cf4e3c6e767cab7e145c50f1fa7097844ad5abc

19 years agoAuthorization callback on the ALTER TABLE ADD COLUMN command.
drh [Tue, 31 Jan 2006 14:28:44 +0000 (14:28 +0000)] 
Authorization callback on the ALTER TABLE ADD COLUMN command.
Ticket #1479. (CVS 3043)

FossilOrigin-Name: 461f586973431438bb074aa3077f705e9b1b80da

19 years agoRemove support for the non-standard ON CONFLICT clause on CREATE INDEX.
drh [Mon, 30 Jan 2006 23:04:51 +0000 (23:04 +0000)] 
Remove support for the non-standard ON CONFLICT clause on CREATE INDEX.
Ticket #1486.  The ON CONFLICT clause has never worked on CREATE INDEX so
removing it should not break anything. (CVS 3042)

FossilOrigin-Name: 669bcf5ab694359485ab30913d8d9e4926f41789

19 years agoMemory DB works with autovacuum. (CVS 3041)
drh [Mon, 30 Jan 2006 22:48:44 +0000 (22:48 +0000)] 
Memory DB works with autovacuum. (CVS 3041)

FossilOrigin-Name: 34dff874a2bf8331be87310809ba11d813fadb7d

19 years agoMake sure the 3rd parameter to sqlite3_prepare() is honored. Ticket #1650. (CVS...
drh [Mon, 30 Jan 2006 22:35:43 +0000 (22:35 +0000)] 
Make sure the 3rd parameter to sqlite3_prepare() is honored.  Ticket #1650. (CVS 3040)

FossilOrigin-Name: 9d53cc880fd2aa3bd4b4a59f666b57b0b7864e8f

19 years agoClarify that the nBytes parameter to sqlite3_prepare is always the
drh [Mon, 30 Jan 2006 22:12:31 +0000 (22:12 +0000)] 
Clarify that the nBytes parameter to sqlite3_prepare is always the
number of bytes and never the number of characters.  Ticket #1646. (CVS 3039)

FossilOrigin-Name: 8efc8c57103cab61bc06842391744bec69c24428

19 years agoDocumentation updates in preparation for the release of 3.3.3 stable. (CVS 3038)
drh [Mon, 30 Jan 2006 16:20:29 +0000 (16:20 +0000)] 
Documentation updates in preparation for the release of 3.3.3 stable. (CVS 3038)

FossilOrigin-Name: 6537b5713a9541ec5712ae2564a801a07f93f4c8

19 years agoAdd a couple of extra test cases for #1644. (CVS 3037)
danielk1977 [Mon, 30 Jan 2006 15:41:53 +0000 (15:41 +0000)] 
Add a couple of extra test cases for #1644. (CVS 3037)

FossilOrigin-Name: e10d229ff21ac884dda24f0ff936aaeb36ff9a3f

19 years agoExpire all prepared statements whenever there is a change to the schema
drh [Mon, 30 Jan 2006 15:34:22 +0000 (15:34 +0000)] 
Expire all prepared statements whenever there is a change to the schema
of the TEMP database.  Ticket #1644. (CVS 3036)

FossilOrigin-Name: 4cd4efaf5ef40a07e76fba3073bbd2600ca7e327

19 years agoFix bug with CHECK constraints contain an IN operator. Ticket #1645. (CVS 3035)
drh [Mon, 30 Jan 2006 14:36:59 +0000 (14:36 +0000)] 
Fix bug with CHECK constraints contain an IN operator.  Ticket #1645. (CVS 3035)

FossilOrigin-Name: 944df310ce8d32798135c70becee7845676520ae

19 years agoFix a couple of (harmless) intel compiler warnings. (CVS 3034)
danielk1977 [Fri, 27 Jan 2006 06:32:00 +0000 (06:32 +0000)] 
Fix a couple of (harmless) intel compiler warnings. (CVS 3034)

FossilOrigin-Name: 2e23231f0c10b2bba9e08ea47859e2c0ffa84c76

19 years agoEnhanced comments on the opcode.h building script. (CVS 3033)
drh [Thu, 26 Jan 2006 14:29:58 +0000 (14:29 +0000)] 
Enhanced comments on the opcode.h building script. (CVS 3033)

FossilOrigin-Name: 7ccebf68eb1f707c2349004ae33575b484cc31a2

19 years agoFix an error in the collation sequence examples in datatype3.html. Ticket #1641....
danielk1977 [Thu, 26 Jan 2006 13:25:08 +0000 (13:25 +0000)] 
Fix an error in the collation sequence examples in datatype3.html. Ticket #1641. (CVS 3032)

FossilOrigin-Name: 1658ea53c929f26741d788d170368d37ae5fd105

19 years agoAdd omittest.tcl script to automate testing compile-time OMIT symbols. (CVS 3031)
danielk1977 [Thu, 26 Jan 2006 13:11:36 +0000 (13:11 +0000)] 
Add omittest.tcl script to automate testing compile-time OMIT symbols. (CVS 3031)

FossilOrigin-Name: 540d28a7d355d846cedfc21fb5156379fec830ce

19 years agoHandle a malloc() failure in resizeOpArray(). (CVS 3030)
danielk1977 [Thu, 26 Jan 2006 10:35:04 +0000 (10:35 +0000)] 
Handle a malloc() failure in resizeOpArray(). (CVS 3030)

FossilOrigin-Name: 5cecb4527b40c245cc6f3d6ce9f33466045d1469

19 years agoMinor comment changes and code optimizations. (CVS 3029)
drh [Wed, 25 Jan 2006 22:50:38 +0000 (22:50 +0000)] 
Minor comment changes and code optimizations. (CVS 3029)

FossilOrigin-Name: 9e55dcd1a57f2b6ad5b267e8fa58c58b266dc8c7

19 years agoRename files using for testing only so that their name begins with "test". (CVS 3028)
drh [Wed, 25 Jan 2006 15:55:37 +0000 (15:55 +0000)] 
Rename files using for testing only so that their name begins with "test". (CVS 3028)

FossilOrigin-Name: e4e6a205e4f7c14aae31f26f42a143fce143db1c

19 years agoHandle errors in saving cursor positions during a rollback by aborting all active...
danielk1977 [Tue, 24 Jan 2006 16:37:57 +0000 (16:37 +0000)] 
Handle errors in saving cursor positions during a rollback by aborting all active statements. (CVS 3027)

FossilOrigin-Name: 5df9f022bfb22976f22b996bda169635354b825c

19 years agoSave the position of any open cursors before a rollback. (CVS 3026)
danielk1977 [Tue, 24 Jan 2006 14:21:24 +0000 (14:21 +0000)] 
Save the position of any open cursors before a rollback. (CVS 3026)

FossilOrigin-Name: 32d45bcf746e7e926b8cc8bd038d66e7c2ec6562

19 years agoReturn code was being dropped because of overridden variable in OP_IsUnique. Fix...
danielk1977 [Tue, 24 Jan 2006 13:09:33 +0000 (13:09 +0000)] 
Return code was being dropped because of overridden variable in OP_IsUnique. Fix this and the test logic problem that hid it. (CVS 3025)

FossilOrigin-Name: c30705a00d7d9d61fb9cb47a1019b1a186d690a7

19 years agoRename some variables to avoid hiding others. Also add "static" to two function signa...
danielk1977 [Tue, 24 Jan 2006 12:09:17 +0000 (12:09 +0000)] 
Rename some variables to avoid hiding others. Also add "static" to two function signatures that were missing it. (CVS 3024)

FossilOrigin-Name: d86f18a4277ebffb644ba2e574e0b697c8bbf8e4

19 years agoCoverage improvements for main.c. (CVS 3023)
danielk1977 [Tue, 24 Jan 2006 11:30:27 +0000 (11:30 +0000)] 
Coverage improvements for main.c. (CVS 3023)

FossilOrigin-Name: 50964ef9b0159bfdcd7eae88b0806957cab184dc

19 years agoGeneral test coverage improvements. (CVS 3022)
danielk1977 [Tue, 24 Jan 2006 10:58:21 +0000 (10:58 +0000)] 
General test coverage improvements. (CVS 3022)

FossilOrigin-Name: 153940af5af4f775fa3b1784931d3fd1e41764c5

19 years agoSqlite3_analyzer reports an error if it runs into trouble. (CVS 3021)
drh [Tue, 24 Jan 2006 02:19:53 +0000 (02:19 +0000)] 
Sqlite3_analyzer reports an error if it runs into trouble. (CVS 3021)

FossilOrigin-Name: 388b9262281308d0a9dd16e2fb3df3425c2a491a

19 years agoUpdate the publish scripts to correctly build the TCL DLL for windows. (CVS 3020)
drh [Tue, 24 Jan 2006 02:00:32 +0000 (02:00 +0000)] 
Update the publish scripts to correctly build the TCL DLL for windows. (CVS 3020)

FossilOrigin-Name: 5254874a96acf89fe5f76c1628057b73ce66de4c

19 years agoVersion 3.3.2 (beta) (CVS 3019)
drh [Tue, 24 Jan 2006 00:40:03 +0000 (00:40 +0000)] 
Version 3.3.2 (beta) (CVS 3019)

FossilOrigin-Name: 1fdde6c5061ceb14baa43402652bdd24e3fa85df

19 years agoMore test script changes to get it to run without -DSQLITE_MEMDEBUG. (CVS 3018)
drh [Tue, 24 Jan 2006 00:15:15 +0000 (00:15 +0000)] 
More test script changes to get it to run without -DSQLITE_MEMDEBUG. (CVS 3018)

FossilOrigin-Name: 0ede5e496bc779e96f05602bebadd10f8a208d48

19 years agoChange the release date for version 3.3.2 to January 24. (CVS 3017)
drh [Mon, 23 Jan 2006 23:53:17 +0000 (23:53 +0000)] 
Change the release date for version 3.3.2 to January 24. (CVS 3017)

FossilOrigin-Name: 7a2617f6a5990dc711cacc993d7a91e4d7b6a815

19 years agoDisable shared-cache OOM tests if not compiled with -DSQLITE_MEMDEBUG. (CVS 3016)
drh [Mon, 23 Jan 2006 23:49:34 +0000 (23:49 +0000)] 
Disable shared-cache OOM tests if not compiled with -DSQLITE_MEMDEBUG. (CVS 3016)

FossilOrigin-Name: 2d896667e460dcdaf83d18bd03050e917d54edc7

19 years agoBug fix in the WinCE bindings. (CVS 3015)
drh [Mon, 23 Jan 2006 22:15:07 +0000 (22:15 +0000)] 
Bug fix in the WinCE bindings. (CVS 3015)

FossilOrigin-Name: c57922838a31b45f69ba14ae13df8a612884cb4b

19 years agoMore progress toward getting SQLITE_OMIT_FLOATING_POINT to pass tests.
drh [Mon, 23 Jan 2006 21:44:53 +0000 (21:44 +0000)] 
More progress toward getting SQLITE_OMIT_FLOATING_POINT to pass tests.
Ticket #1621. (CVS 3014)

FossilOrigin-Name: b52674e5642a9d26b15a5d5c2a6716febaef130a

19 years agoFix the shared pager tests so that they work under windows. (CVS 3013)
drh [Mon, 23 Jan 2006 21:38:03 +0000 (21:38 +0000)] 
Fix the shared pager tests so that they work under windows. (CVS 3013)

FossilOrigin-Name: 4a1a9f3e9df6588bcd4da13456790fbbc58f66de

19 years agoProgress toward getting SQLITE_OMIT_FLOATING_POINT to pass all tests.
drh [Mon, 23 Jan 2006 21:37:32 +0000 (21:37 +0000)] 
Progress toward getting SQLITE_OMIT_FLOATING_POINT to pass all tests.
Ticket #1621 (CVS 3012)

FossilOrigin-Name: c4c90965c98c591f601cd69c70351c20ba37218a

19 years agoBug fix in cases where a compound select has an ORDER BY clause with
drh [Mon, 23 Jan 2006 18:42:21 +0000 (18:42 +0000)] 
Bug fix in cases where a compound select has an ORDER BY clause with
multiple terms. (CVS 3011)

FossilOrigin-Name: 4f56949bd69fed6167fa2ae115d0251e8369d796

19 years agoAdd documentation on the IF NOT EXISTS clause to CREATE statements.
drh [Mon, 23 Jan 2006 18:14:21 +0000 (18:14 +0000)] 
Add documentation on the IF NOT EXISTS clause to CREATE statements.
Ticket #1608. (CVS 3010)

FossilOrigin-Name: d4e4ba132a94e729ffd220e0ca942cfda87b3a76

19 years agoMakefile changes so that builds work on Solaris. Ticket #1604. (CVS 3009)
drh [Mon, 23 Jan 2006 18:06:52 +0000 (18:06 +0000)] 
Makefile changes so that builds work on Solaris.  Ticket #1604. (CVS 3009)

FossilOrigin-Name: 7addf70445d46cab148496ba2f27ab3764b70f66

19 years agoBug fix in the ROWID generation logic of the VDBE. I think this
drh [Mon, 23 Jan 2006 17:43:53 +0000 (17:43 +0000)] 
Bug fix in the ROWID generation logic of the VDBE.  I think this
is a benign bug - it never causes a real fault.  But I am not certain. (CVS 3008)

FossilOrigin-Name: dfe282386896967832826d130323c3ff11532873

19 years agoGet I/O error tests working on windows. (CVS 3007)
drh [Mon, 23 Jan 2006 16:25:22 +0000 (16:25 +0000)] 
Get I/O error tests working on windows. (CVS 3007)

FossilOrigin-Name: 2ef8b85db7607eb0989c5ecf49cc554fa13d894f

19 years agoFix uninitialized variable in os_unix.c. (CVS 3006)
drh [Mon, 23 Jan 2006 16:24:54 +0000 (16:24 +0000)] 
Fix uninitialized variable in os_unix.c. (CVS 3006)

FossilOrigin-Name: 892e644d20b9d132cf29242a9bca0116ebe6968f

19 years agoAdd "#ifndef NDEBUG" around sqlite3pager_iswriteable() (only used in assert() express...
danielk1977 [Mon, 23 Jan 2006 16:21:05 +0000 (16:21 +0000)] 
Add "#ifndef NDEBUG" around sqlite3pager_iswriteable() (only used in assert() expressions). Also set the internal page number of a page to zero if it fails to initialise. (CVS 3005)

FossilOrigin-Name: 77969c671c6ea1b5a2739f62de2bec10cc651b9e

19 years agoChanges to the enc2.test script so that it will run on windows. (CVS 3004)
drh [Mon, 23 Jan 2006 15:59:55 +0000 (15:59 +0000)] 
Changes to the enc2.test script so that it will run on windows. (CVS 3004)

FossilOrigin-Name: 4c1818ecebc79f5f7e5f4a7843b5fae02a251f47

19 years agoCut over the patches to support WinCE. Ticket #1600. (CVS 3003)
drh [Mon, 23 Jan 2006 15:54:25 +0000 (15:54 +0000)] 
Cut over the patches to support WinCE.  Ticket #1600. (CVS 3003)

FossilOrigin-Name: 436287c2bfe38cf6c39e4c52b1da12f8c0d673ce

19 years agoFix a bug in pager.c that was overwriting freed memory. Comment changes
drh [Mon, 23 Jan 2006 15:39:58 +0000 (15:39 +0000)] 
Fix a bug in pager.c that was overwriting freed memory.  Comment changes
in util.c. (CVS 3002)

FossilOrigin-Name: 8c7e18c3f2f0487c6125f2d12720669e4d40e760

19 years agoFurther coverage improvements for pager.c and another IO error bug fix. (CVS 3001)
danielk1977 [Mon, 23 Jan 2006 15:25:48 +0000 (15:25 +0000)] 
Further coverage improvements for pager.c and another IO error bug fix. (CVS 3001)

FossilOrigin-Name: a9ec5ee4724ab993e71ef8b387e2d92f3e74959c

19 years agoFix os_common.h so that the code builds without -DSQLITE_MEMDEBUG. (CVS 3000)
drh [Mon, 23 Jan 2006 14:05:18 +0000 (14:05 +0000)] 
Fix os_common.h so that the code builds without -DSQLITE_MEMDEBUG. (CVS 3000)

FossilOrigin-Name: 06d6540026568ca69410354ca8d85da78970c94b

19 years agoDo not automatically rollback at the btree or pager level if a commit fails. (CVS...
danielk1977 [Mon, 23 Jan 2006 13:47:47 +0000 (13:47 +0000)] 
Do not automatically rollback at the btree or pager level if a commit fails. (CVS 2999)

FossilOrigin-Name: 0f6329ef1fe0d5b225b6381fda1e8d800f65ea0f

19 years agoFix to sqlite3AllocMalloc() when it is a no-op macro. (CVS 2998)
drh [Mon, 23 Jan 2006 13:28:53 +0000 (13:28 +0000)] 
Fix to sqlite3AllocMalloc() when it is a no-op macro. (CVS 2998)

FossilOrigin-Name: 8caa9f95b8a36e34510cf46d518bd63bd8fa0a32

19 years agoDo not name variables "operator" because some compilers do not realize that
drh [Mon, 23 Jan 2006 13:22:09 +0000 (13:22 +0000)] 
Do not name variables "operator" because some compilers do not realize that
"operator" is not a reserved word in ANSI-C.  Ticket #1625. (CVS 2997)

FossilOrigin-Name: 1f42a338e2ee90f4c24a9eb19054c4b831dd661f

19 years agoWork around buggy malloc() implementations that cause problems on malloc(0).
drh [Mon, 23 Jan 2006 13:14:55 +0000 (13:14 +0000)] 
Work around buggy malloc() implementations that cause problems on malloc(0).
Ticket #1572. (CVS 2996)

FossilOrigin-Name: ada5490f12795a8d13d0f42077c463709c677846

19 years agoImprove coverage of pager.c and fix an IO error handling bug found in the process...
danielk1977 [Mon, 23 Jan 2006 13:09:45 +0000 (13:09 +0000)] 
Improve coverage of pager.c and fix an IO error handling bug found in the process. (CVS 2995)

FossilOrigin-Name: 6ec8e6b7856a0b394b8497ab9166b882f98124ba

19 years agoFix additional compiler warnings. Tickets #1615, #1616, #1627 (CVS 2994)
drh [Mon, 23 Jan 2006 13:00:35 +0000 (13:00 +0000)] 
Fix additional compiler warnings.  Tickets #1615, #1616, #1627 (CVS 2994)

FossilOrigin-Name: 6385628edd79187dff1687815d0101c31248e54f

19 years agoFixes for OMIT_UTF16 and OMIT_COMPOUND (CVS 2993)
danielk1977 [Mon, 23 Jan 2006 07:52:37 +0000 (07:52 +0000)] 
Fixes for OMIT_UTF16 and OMIT_COMPOUND (CVS 2993)

FossilOrigin-Name: f58bbdc0ac6e618686c598aaafb3a41b972e078e

19 years agoImprove coverage of expr.c and btree.c slightly. (CVS 2992)
danielk1977 [Mon, 23 Jan 2006 05:50:58 +0000 (05:50 +0000)] 
Improve coverage of expr.c and btree.c slightly. (CVS 2992)

FossilOrigin-Name: cc2e8e87cfd474b4dc6833ee0c38e2cd2dd3a494

19 years agoRemove vestiges of the older TSD code for handling OOM exceptions.
drh [Mon, 23 Jan 2006 00:04:54 +0000 (00:04 +0000)] 
Remove vestiges of the older TSD code for handling OOM exceptions.
Prepare for the release of 3.3.2. (CVS 2991)

FossilOrigin-Name: a65e85f0e01f3bca5f4e78999c10db3916824b5b

19 years agoPerformance optimization in btree.c. (CVS 2990)
drh [Sun, 22 Jan 2006 21:52:56 +0000 (21:52 +0000)] 
Performance optimization in btree.c. (CVS 2990)

FossilOrigin-Name: 3e1e6affe256a950a81ad5939b628bafb8463b42

19 years agoCode size reductions in select.c. (CVS 2989)
drh [Sun, 22 Jan 2006 00:42:09 +0000 (00:42 +0000)] 
Code size reductions in select.c. (CVS 2989)

FossilOrigin-Name: 3c2eee5e1f6c7d701a6d362a04cf896d44e97fd9

19 years agoTests for the subquery flattening fix of check-in (2987). (CVS 2988)
drh [Sun, 22 Jan 2006 00:14:39 +0000 (00:14 +0000)] 
Tests for the subquery flattening fix of check-in (2987). (CVS 2988)

FossilOrigin-Name: 72a067f0df5818c0fdb3b9f8af20f83bb2e1dd34

19 years agoDo not flatten subqueries in a join where the subquery includes a LIMIT.
drh [Sat, 21 Jan 2006 22:19:54 +0000 (22:19 +0000)] 
Do not flatten subqueries in a join where the subquery includes a LIMIT.
Ticket #1634.  This is just an initial fix.  Many test cases need to be
added prior to closing the ticket. (CVS 2987)

FossilOrigin-Name: af18c0f431a1a6349e40249009f2ac222f8c8114

19 years agoFix a bug in os.h. How did this slip by before now? (CVS 2986)
drh [Sat, 21 Jan 2006 19:57:50 +0000 (19:57 +0000)] 
Fix a bug in os.h.  How did this slip by before now? (CVS 2986)

FossilOrigin-Name: 29725de474f9aec81cea0041d9ac2df932258d01

19 years agoFix more problems with malloc() and IO failures. (CVS 2985)
danielk1977 [Sat, 21 Jan 2006 12:08:54 +0000 (12:08 +0000)] 
Fix more problems with malloc() and IO failures. (CVS 2985)

FossilOrigin-Name: 29281dea81c909b70b2d914d7061a6df8f388195

19 years agoMore compiler warnings fixed - or in some cases comments are added to explain
drh [Fri, 20 Jan 2006 18:10:57 +0000 (18:10 +0000)] 
More compiler warnings fixed - or in some cases comments are added to explain
that the compiler is wrong. (CVS 2984)

FossilOrigin-Name: 507653a98cbd096f836a977408e373640c7cdb8f

19 years agoFix some compiler warnings. (CVS 2983)
drh [Fri, 20 Jan 2006 17:56:32 +0000 (17:56 +0000)] 
Fix some compiler warnings. (CVS 2983)

FossilOrigin-Name: b7bdac0afd99b8dc03749877f675a5f782120295

19 years agoFix another couple of IO or malloc() failure problems in a shared-cache context....
danielk1977 [Fri, 20 Jan 2006 16:32:04 +0000 (16:32 +0000)] 
Fix another couple of IO or malloc() failure problems in a shared-cache context. (CVS 2982)

FossilOrigin-Name: 7e34163a65a5842ecc50a14a9d60601e7c9d3249

19 years agoFix and test the processing of sqlite3_result_error() withing aggregate
drh [Fri, 20 Jan 2006 15:45:36 +0000 (15:45 +0000)] 
Fix and test the processing of sqlite3_result_error() withing aggregate
functions.  Allow errors to come from the step function (a new
capability).  Ticket #1632. (CVS 2981)

FossilOrigin-Name: fd4a6bb1ac94d085dda247799c0a5c64aaeec046

19 years agoHandle some of the IO error conditions that may occur in a shared-cache context....
danielk1977 [Fri, 20 Jan 2006 10:55:05 +0000 (10:55 +0000)] 
Handle some of the IO error conditions that may occur in a shared-cache context. (CVS 2980)

FossilOrigin-Name: 97491d4eb5fc24d8f5cc7605db844359ecc6a818

19 years agoMake sure sqlite3_thread_cleanup() does not try to allocate memory. (CVS 2979)
drh [Thu, 19 Jan 2006 17:42:50 +0000 (17:42 +0000)] 
Make sure sqlite3_thread_cleanup() does not try to allocate memory. (CVS 2979)

FossilOrigin-Name: 0208e4221a2d90b5ae0755061c345d3351a30da8

19 years agoFix the #ifdef around sqlite3OutstandingMallocs() in test1.c. (CVS 2978)
drh [Thu, 19 Jan 2006 11:28:06 +0000 (11:28 +0000)] 
Fix the #ifdef around sqlite3OutstandingMallocs() in test1.c. (CVS 2978)

FossilOrigin-Name: 218c6184c8edec22f9b56b3c9446d27fda9c1e00

19 years agoAccount for read-uncommitted cursors in sqlite3BtreeClearTable(). (CVS 2977)
danielk1977 [Thu, 19 Jan 2006 08:43:31 +0000 (08:43 +0000)] 
Account for read-uncommitted cursors in sqlite3BtreeClearTable(). (CVS 2977)

FossilOrigin-Name: 950798326860de40926e82e10134f09e6ea86245

19 years agoFix a bug with internally saving cursors open on index tables. Also increase coverage...
danielk1977 [Thu, 19 Jan 2006 07:18:14 +0000 (07:18 +0000)] 
Fix a bug with internally saving cursors open on index tables. Also increase coverage of util.c and btree.c. (CVS 2976)

FossilOrigin-Name: a628d84d3185fb7742cc929e758bfd59c811ca0b

19 years agoOmit thread2.test if memory-management is enabled at compile time. (CVS 2975)
danielk1977 [Wed, 18 Jan 2006 18:33:42 +0000 (18:33 +0000)] 
Omit thread2.test if memory-management is enabled at compile time. (CVS 2975)

FossilOrigin-Name: df91f685cacbcb3e048eaa03260b33bbcfcb321c

19 years agoInclude the ThreadData structure in internal malloc() testing. Also fixes for reveale...
danielk1977 [Wed, 18 Jan 2006 18:22:43 +0000 (18:22 +0000)] 
Include the ThreadData structure in internal malloc() testing. Also fixes for revealed bugs. (CVS 2974)

FossilOrigin-Name: c7b9d50d0a975912776aaa2b870308652f77e1e6

19 years agoModify the sqlite3OsInMutex os-layer interface to take a single parameter
drh [Wed, 18 Jan 2006 17:25:45 +0000 (17:25 +0000)] 
Modify the sqlite3OsInMutex os-layer interface to take a single parameter
to distinguish between mutexes held by the current thread and mutexes held
by any thread.  Part of the fix for ticket #1630. (CVS 2973)

FossilOrigin-Name: e1ad9df1cf46287f2a7789275e98d28e05880e17

19 years agoUse a global variable protected by a mutex instead of thread-specific-data to record...
danielk1977 [Wed, 18 Jan 2006 16:51:35 +0000 (16:51 +0000)] 
Use a global variable protected by a mutex instead of thread-specific-data to record malloc() failures. (CVS 2972)

FossilOrigin-Name: ac090f2ab3b5a792c2fdf897e10060f263e0d408

19 years agoFix compilation error when neither MEMDEBUG or ENABLE_MEMORY_MANAGEMENT is enabled...
danielk1977 [Wed, 18 Jan 2006 15:39:26 +0000 (15:39 +0000)] 
Fix compilation error when neither MEMDEBUG or ENABLE_MEMORY_MANAGEMENT is enabled. (CVS 2971)

FossilOrigin-Name: 4de5c52920c94e2a29ef4b68eb8b990c63005b3d

19 years agoChange sqlite3MallocClearFailed() calls to sqlite3ApiExit(), a better API. (CVS 2970)
danielk1977 [Wed, 18 Jan 2006 15:25:17 +0000 (15:25 +0000)] 
Change sqlite3MallocClearFailed() calls to sqlite3ApiExit(), a better API. (CVS 2970)

FossilOrigin-Name: e0b022e5b2bfd272b4e25cd7a7b472206a118bbe

19 years agoRecursive mutexes in os_win.c. (CVS 2969)
drh [Wed, 18 Jan 2006 14:20:17 +0000 (14:20 +0000)] 
Recursive mutexes in os_win.c. (CVS 2969)

FossilOrigin-Name: dd3e07cae4d0cbd4f8977e1dd11e0103e0e45b75

19 years agoConvert the unix driver to use a recusive mutex. Similar changes to the
drh [Wed, 18 Jan 2006 14:06:37 +0000 (14:06 +0000)] 
Convert the unix driver to use a recusive mutex.  Similar changes to the
windows driver are pending. (CVS 2968)

FossilOrigin-Name: 8830bbbac8e0c9243956aac42dc9f86a0bd1fa07

19 years agoHandle malloc() failures that occur in open16() and errmsg16(). (CVS 2967)
danielk1977 [Wed, 18 Jan 2006 05:51:57 +0000 (05:51 +0000)] 
Handle malloc() failures that occur in open16() and errmsg16(). (CVS 2967)

FossilOrigin-Name: 86eab9e53db8d7fecc789fe3d8cd8d7be3196fed

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