]>
git.ipfire.org Git - thirdparty/sqlite.git/log
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
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
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
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
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
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
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
drh [Wed, 18 Jan 2006 14:20:17 +0000 (14:20 +0000)]
Recursive mutexes in os_win.c. (CVS 2969)
FossilOrigin-Name:
dd3e07cae4d0cbd4f8977e1dd11e0103e0e45b75
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
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
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
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
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
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
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
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
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
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
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
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
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
drh [Mon, 16 Jan 2006 02:39:05 +0000 (02:39 +0000)]
Version 3.3.1 (alpha) (CVS 2953)
FossilOrigin-Name:
bd7c5699939fda2bb792a0e2448df064a1171769
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
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
drh [Sun, 15 Jan 2006 20:28:28 +0000 (20:28 +0000)]
Code size reductions in the pager. (CVS 2952)
FossilOrigin-Name:
c7da3aa9bdf7b788424633015000955606e93f48
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
drh [Sun, 15 Jan 2006 17:27:17 +0000 (17:27 +0000)]
Clean up comments in os_unix.c. (CVS 2950)
FossilOrigin-Name:
2170e803ad48cffa6dddf8b591e0c085a7e66c86
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
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
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
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
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
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
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
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
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
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
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
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
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
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
drh [Fri, 13 Jan 2006 04:31:58 +0000 (04:31 +0000)]
Additional speed enhancements in btree.c. (CVS 2935)
FossilOrigin-Name:
48b550ce2ea43c7c1c59cd43d0008ba18fc0215b
drh [Fri, 13 Jan 2006 02:35:09 +0000 (02:35 +0000)]
Small performance improvement on sqlite3BtreeMoveto. (CVS 2934)
FossilOrigin-Name:
c780152f3cff9c0a13d231935ae3c2e2d28b4460
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
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
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
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
drh [Thu, 12 Jan 2006 20:28:35 +0000 (20:28 +0000)]
Performance boost in sqlite3VdbeRecordCompare. (CVS 2929)
FossilOrigin-Name:
14c423075bcebf42a3f4e24838bc865cfb90afda
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
drh [Thu, 12 Jan 2006 17:20:50 +0000 (17:20 +0000)]
Cache the encoding value inside VdbeExec. (CVS 2927)
FossilOrigin-Name:
6d2a816ede8d17b993a21e418cf25edd103334de
drh [Thu, 12 Jan 2006 15:01:15 +0000 (15:01 +0000)]
Additional performance improvements in sqlite3BtreeMoveto. (CVS 2926)
FossilOrigin-Name:
52b3be96b6e96994ec6fbcc67bf355cd05f61730
drh [Thu, 12 Jan 2006 14:30:19 +0000 (14:30 +0000)]
BtreeMoveto optimization goes about 1.5% faster. (CVS 2925)
FossilOrigin-Name:
4e4a650484a39cac43386d8488ff42a8a0cc2820
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
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
drh [Thu, 12 Jan 2006 01:56:43 +0000 (01:56 +0000)]
Add the legacy_file_format pragma. (CVS 2922)
FossilOrigin-Name:
b2dbd1a5b7f5a70049f25755f07b9c4c5116549b
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
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
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
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
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
danielk1977 [Wed, 11 Jan 2006 05:49:50 +0000 (05:49 +0000)]
Fix typo noted by #1599. (CVS 2916)
FossilOrigin-Name:
1b368c7c5ca7974e0975dc4e3c931680c9e8df1f
drh [Wed, 11 Jan 2006 01:28:30 +0000 (01:28 +0000)]
Version 3.3.0 (alpha) (CVS 2915)
FossilOrigin-Name:
59a7a56c1bba84b5c60a2f3e25bf51d933075aaf
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
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
drh [Tue, 10 Jan 2006 23:00:41 +0000 (23:00 +0000)]
Fix a typo in the FAQ. (CVS 2912)
FossilOrigin-Name:
5be03a361d9292ccdf311372be6add29ade4dd04
drh [Tue, 10 Jan 2006 20:36:39 +0000 (20:36 +0000)]
Fix bug in the server1 test script. (CVS 2911)
FossilOrigin-Name:
25db22b6711590214f4f953e6e3cf6be2d7451db
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
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
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
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
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
danielk1977 [Tue, 10 Jan 2006 18:08:09 +0000 (18:08 +0000)]
Typos in new documentation. (CVS 2905)
FossilOrigin-Name:
b5bedb2a9f349b32acbd0356c61cdc30fd474eca
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
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
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
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
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
drh [Tue, 10 Jan 2006 02:30:33 +0000 (02:30 +0000)]
Enable shared cache on the server demonstration. (CVS 2899)
FossilOrigin-Name:
8719f880a395db8be65ea45615d8e55985306f1e
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
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
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
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
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
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
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
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
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
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
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
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
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
drh [Sat, 7 Jan 2006 18:14:48 +0000 (18:14 +0000)]
Continued progress toward a working wince backend. (CVS 2885)
FossilOrigin-Name:
15fda14ee0c0524d3064d767f48edd689c090d95
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
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
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
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
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
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
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
drh [Fri, 6 Jan 2006 21:09:01 +0000 (21:09 +0000)]
Additional changes for wince. (CVS 2877)
FossilOrigin-Name:
b10343d9163263f97efb1bbc61af8307a2cfe8a4