]>
git.ipfire.org Git - thirdparty/sqlite.git/log
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
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
danielk1977 [Tue, 24 Jan 2006 11:30:27 +0000 (11:30 +0000)]
Coverage improvements for main.c. (CVS 3023)
FossilOrigin-Name:
50964ef9b0159bfdcd7eae88b0806957cab184dc
danielk1977 [Tue, 24 Jan 2006 10:58:21 +0000 (10:58 +0000)]
General test coverage improvements. (CVS 3022)
FossilOrigin-Name:
153940af5af4f775fa3b1784931d3fd1e41764c5
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
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
drh [Tue, 24 Jan 2006 00:40:03 +0000 (00:40 +0000)]
Version 3.3.2 (beta) (CVS 3019)
FossilOrigin-Name:
1fdde6c5061ceb14baa43402652bdd24e3fa85df
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
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
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
drh [Mon, 23 Jan 2006 22:15:07 +0000 (22:15 +0000)]
Bug fix in the WinCE bindings. (CVS 3015)
FossilOrigin-Name:
c57922838a31b45f69ba14ae13df8a612884cb4b
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
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
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
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
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
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
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
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
drh [Mon, 23 Jan 2006 16:24:54 +0000 (16:24 +0000)]
Fix uninitialized variable in os_unix.c. (CVS 3006)
FossilOrigin-Name:
892e644d20b9d132cf29242a9bca0116ebe6968f
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
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
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
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
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
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
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
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
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
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
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
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
danielk1977 [Mon, 23 Jan 2006 07:52:37 +0000 (07:52 +0000)]
Fixes for OMIT_UTF16 and OMIT_COMPOUND (CVS 2993)
FossilOrigin-Name:
f58bbdc0ac6e618686c598aaafb3a41b972e078e
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
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
drh [Sun, 22 Jan 2006 21:52:56 +0000 (21:52 +0000)]
Performance optimization in btree.c. (CVS 2990)
FossilOrigin-Name:
3e1e6affe256a950a81ad5939b628bafb8463b42
drh [Sun, 22 Jan 2006 00:42:09 +0000 (00:42 +0000)]
Code size reductions in select.c. (CVS 2989)
FossilOrigin-Name:
3c2eee5e1f6c7d701a6d362a04cf896d44e97fd9
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
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
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
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
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
drh [Fri, 20 Jan 2006 17:56:32 +0000 (17:56 +0000)]
Fix some compiler warnings. (CVS 2983)
FossilOrigin-Name:
b7bdac0afd99b8dc03749877f675a5f782120295
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
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
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
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
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
danielk1977 [Thu, 19 Jan 2006 08:43:31 +0000 (08:43 +0000)]
Account for read-uncommitted cursors in sqlite3BtreeClearTable(). (CVS 2977)
FossilOrigin-Name:
950798326860de40926e82e10134f09e6ea86245
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