danielk1977
97a227c996
Fix another couple of IO or malloc() failure problems in a shared-cache context. (CVS 2982)
...
FossilOrigin-Name: 7e34163a65a5842ecc50a14a9d60601e7c9d3249
2006-01-20 16:32:04 +00:00
drh
90669c1dca
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
2006-01-20 15:45:36 +00:00
danielk1977
07cb560b23
Handle some of the IO error conditions that may occur in a shared-cache context. (CVS 2980)
...
FossilOrigin-Name: 97491d4eb5fc24d8f5cc7605db844359ecc6a818
2006-01-20 10:55:05 +00:00
drh
f98477b846
Make sure sqlite3_thread_cleanup() does not try to allocate memory. (CVS 2979)
...
FossilOrigin-Name: 0208e4221a2d90b5ae0755061c345d3351a30da8
2006-01-19 17:42:50 +00:00
drh
dab97c1c8f
Fix the #ifdef around sqlite3OutstandingMallocs() in test1.c. (CVS 2978)
...
FossilOrigin-Name: 218c6184c8edec22f9b56b3c9446d27fda9c1e00
2006-01-19 11:28:06 +00:00
danielk1977
ed4293119a
Account for read-uncommitted cursors in sqlite3BtreeClearTable(). (CVS 2977)
...
FossilOrigin-Name: 950798326860de40926e82e10134f09e6ea86245
2006-01-19 08:43:31 +00:00
danielk1977
191c3e7db0
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
2006-01-19 07:18:14 +00:00
danielk1977
e7823cb591
Omit thread2.test if memory-management is enabled at compile time. (CVS 2975)
...
FossilOrigin-Name: df91f685cacbcb3e048eaa03260b33bbcfcb321c
2006-01-18 18:33:42 +00:00
danielk1977
76e8d1a292
Include the ThreadData structure in internal malloc() testing. Also fixes for revealed bugs. (CVS 2974)
...
FossilOrigin-Name: c7b9d50d0a975912776aaa2b870308652f77e1e6
2006-01-18 18:22:43 +00:00
drh
757b04ed36
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
2006-01-18 17:25:45 +00:00
danielk1977
9e12800dec
Use a global variable protected by a mutex instead of thread-specific-data to record malloc() failures. (CVS 2972)
...
FossilOrigin-Name: ac090f2ab3b5a792c2fdf897e10060f263e0d408
2006-01-18 16:51:35 +00:00
danielk1977
1de57847f8
Fix compilation error when neither MEMDEBUG or ENABLE_MEMORY_MANAGEMENT is enabled. (CVS 2971)
...
FossilOrigin-Name: 4de5c52920c94e2a29ef4b68eb8b990c63005b3d
2006-01-18 15:39:26 +00:00
danielk1977
54f0198e47
Change sqlite3MallocClearFailed() calls to sqlite3ApiExit(), a better API. (CVS 2970)
...
FossilOrigin-Name: e0b022e5b2bfd272b4e25cd7a7b472206a118bbe
2006-01-18 15:25:17 +00:00
drh
332b1feaf1
Recursive mutexes in os_win.c. (CVS 2969)
...
FossilOrigin-Name: dd3e07cae4d0cbd4f8977e1dd11e0103e0e45b75
2006-01-18 14:20:17 +00:00
drh
a3fad6f5f3
Convert the unix driver to use a recusive mutex. Similar changes to the
...
windows driver are pending. (CVS 2968)
FossilOrigin-Name: 8830bbbac8e0c9243956aac42dc9f86a0bd1fa07
2006-01-18 14:06:37 +00:00
danielk1977
950f054cec
Handle malloc() failures that occur in open16() and errmsg16(). (CVS 2967)
...
FossilOrigin-Name: 86eab9e53db8d7fecc789fe3d8cd8d7be3196fed
2006-01-18 05:51:57 +00:00
danielk1977
9a30cf653f
Handle malloc() failures that occur inside create_collation() calls. (CVS 2966)
...
FossilOrigin-Name: 95c5903f368413019af83aa73263e0e9d1204b62
2006-01-18 04:26:07 +00:00
danielk1977
cbb8496c5e
Arrange for ThreadData to be automatically deallocated even if SQLITE_MEMDEBUG is defined. Fix for #1623 . (CVS 2965)
...
FossilOrigin-Name: 9e2e40845d30cc150abe23ee318a721b4fe9613c
2006-01-17 16:10:13 +00:00
danielk1977
08659fee65
Fix compilation errors when building SQLITE_DEBUG defined but without SQLITE_MEMDEBUG. (CVS 2964)
...
FossilOrigin-Name: 62dd2427784721436737a6e8e11fc05e10f0c44d
2006-01-17 15:36:32 +00:00
danielk1977
771151b67f
Various fixes that allow the malloc() failure tests to pass again. (CVS 2963)
...
FossilOrigin-Name: 0505405fb9ae1068b7976718efbf2aabd07592d4
2006-01-17 13:21:40 +00:00
danielk1977
3bdca9c9a5
Test suite fixes for builds that define OMIT symbols. (CVS 2962)
...
FossilOrigin-Name: 3a54a33dcb7e765ee3773397407e8929a8cfe1a9
2006-01-17 09:35:01 +00:00
danielk1977
ff890793fc
Test file fixes for libaries compiled with various SQLITE_OMIT_ macros. (CVS 2961)
...
FossilOrigin-Name: c058f483a52c8043178b6329aa5e58bedf0c8277
2006-01-16 16:24:25 +00:00
danielk1977
8212defca2
Fix problems compiling with memory-management enabled. Ticket #1619 . (CVS 2960)
...
FossilOrigin-Name: 36b03259654ffa9b14ebe1093984b29e9efbd56c
2006-01-16 15:32:23 +00:00
danielk1977
bab45c647d
Fix some of the issues raised in #1615 . (CVS 2959)
...
FossilOrigin-Name: 0d5d83bcbd65dd7ae968909acfee075185e49c38
2006-01-16 15:14:27 +00:00
danielk1977
80c43bcba1
Correctly handle malloc() failure in GenericMalloc() and GenericRealloc(). Fix for #1617 . (CVS 2958)
...
FossilOrigin-Name: 9dfc4a880b49869e945d6a19e63fcf6dc94412ad
2006-01-16 14:29:05 +00:00
danielk1977
a96a7103b2
Run the tests in shared.test a second time using an autovacuum database. (CVS 2957)
...
FossilOrigin-Name: 9927522923558348a846e033b92100c0ed4ee556
2006-01-16 12:46:41 +00:00
danielk1977
efaaf57974
Clarify error handling in pager code. No functional changes. (CVS 2956)
...
FossilOrigin-Name: 7b48836214ea3152f46e2dffb097ae7ea14901f4
2006-01-16 11:29:19 +00:00
drh
45bfcfd3fc
Version 3.3.1 (alpha) (CVS 2953)
...
FossilOrigin-Name: bd7c5699939fda2bb792a0e2448df064a1171769
2006-01-16 02:39:05 +00:00
drh
799fa956fa
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
2006-01-16 02:37:51 +00:00
drh
9c4315c288
Version 3.3.1 (withdrawn - see ticket #1614 ) (CVS 2955)
...
FossilOrigin-Name: ed0f1d9086de3ffa77c9864bf880e2930ef0f96f
2006-01-16 00:04:59 +00:00
drh
3b59a5cc5f
Code size reductions in the pager. (CVS 2952)
...
FossilOrigin-Name: c7da3aa9bdf7b788424633015000955606e93f48
2006-01-15 20:28:28 +00:00
drh
78170b2e65
Prepare for the 3.3.1 alpha release. (CVS 2951)
...
FossilOrigin-Name: 3e32bcf0b8ee8d7a3f26ced8d5887561eeb3e7ab
2006-01-15 18:29:17 +00:00
drh
f1a221e695
Clean up comments in os_unix.c. (CVS 2950)
...
FossilOrigin-Name: 2170e803ad48cffa6dddf8b591e0c085a7e66c86
2006-01-15 17:27:17 +00:00
danielk1977
819d7f4735
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
2006-01-15 14:11:48 +00:00
danielk1977
21691543a3
Fix a buffer-overrun that could occur after a malloc() failure. (CVS 2948)
...
FossilOrigin-Name: 662522218f967a8fb07427a9abd53334bb1400f7
2006-01-15 13:13:56 +00:00
danielk1977
b597f74af5
Rollback any open write-transaction when a shared-cache connection is closed. (CVS 2947)
...
FossilOrigin-Name: 1944d92b530d3bbcd31561063660de03d668af23
2006-01-15 11:39:18 +00:00
drh
3832230e25
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
2006-01-15 02:43:16 +00:00
drh
64b1bea3ba
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
2006-01-15 02:30:57 +00:00
drh
029b44bdd3
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
2006-01-15 00:13:15 +00:00
danielk1977
1576cd9251
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
2006-01-14 08:02:28 +00:00
danielk1977
79f27df664
Account for multi-byte characters in ALTER TABLE code. Fix for #1609 . (CVS 2942)
...
FossilOrigin-Name: d634f8b28abd7af4565c644bd7972b067caa0133
2006-01-13 18:06:40 +00:00
danielk1977
dedf45b260
Tweaks to make OP_Column run a fraction faster. (CVS 2941)
...
FossilOrigin-Name: 2d74cc22de2aa59329b1ea5c26acd6ebe46e16c2
2006-01-13 17:12:01 +00:00
danielk1977
9792eeff95
Avoid parsing an entire record header when it is not required. (CVS 2940)
...
FossilOrigin-Name: 0de729d9144afba144811799f65e32140c14ef8a
2006-01-13 15:58:43 +00:00
drh
a3e4d96f5d
Make sure the authenticator does not try to authenticate columns in
...
subqueries. Ticket #1607 . (CVS 2939)
FossilOrigin-Name: 55b7dfaf4d3a6d01fffdaf1707e88bcd215d7333
2006-01-13 13:55:44 +00:00
danielk1977
327bd59216
Fix a vdbe stack overflow problem that could occur with a correlated sub-query. (CVS 2938)
...
FossilOrigin-Name: caa7da807d6578f7d8848978a7d3175b6ea1743b
2006-01-13 13:01:19 +00:00
danielk1977
1fef7d5d3f
Remove a few duplicate variable initializations in sqlite3BtreeCursor(). (CVS 2937)
...
FossilOrigin-Name: 5e46ec01ff3fe8654fc267efbb12d2d1b01c48aa
2006-01-13 11:22:07 +00:00
danielk1977
e725929686
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
2006-01-13 06:33:23 +00:00
drh
777e4c43f2
Additional speed enhancements in btree.c. (CVS 2935)
...
FossilOrigin-Name: 48b550ce2ea43c7c1c59cd43d0008ba18fc0215b
2006-01-13 04:31:58 +00:00
drh
366fda6e60
Small performance improvement on sqlite3BtreeMoveto. (CVS 2934)
...
FossilOrigin-Name: c780152f3cff9c0a13d231935ae3c2e2d28b4460
2006-01-13 02:35:09 +00:00
drh
d508e7f1a1
Add a high-speed version of sqlite3GetVarint32 to vdbe.c for a 3% performance
...
gain. (CVS 2933)
FossilOrigin-Name: a64e8251a606fb2c298d7d804f3964a9155c73c5
2006-01-13 01:48:59 +00:00