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
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
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
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
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
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
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
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
drh
83330ed8ce
Add tests to make sure "PRAGMA table_info" works using sqlite3_prepare16.
...
Ticket #1606 . (CVS 2932)
FossilOrigin-Name: ace8ba817766f9da270cd7f06b68cc537768a8be
2006-01-13 01:25:05 +00:00
drh
a97fdd3bfc
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
2006-01-12 22:17:50 +00:00
drh
f1f6c587eb
Automatically cast BLOBs to strings prior to handing them over to
...
functions like LIKE that want strings. Ticket #1605 . (CVS 2928)
FossilOrigin-Name: 730ddb0b74ed23c916dabd7ce893bd6bc55f3549
2006-01-12 19:42:41 +00:00
drh
e321c29a7b
Add the legacy_file_format pragma. (CVS 2922)
...
FossilOrigin-Name: b2dbd1a5b7f5a70049f25755f07b9c4c5116549b
2006-01-12 01:56:43 +00:00
drh
b4bc7057e5
Testing of the automatic TSD deallocation logic. The sqlite3_thread_cleanup()
...
API is documented. This should close ticket #1601 . (CVS 2920)
FossilOrigin-Name: fb518b0ce4ddd4aaca5cccf61e651f173e735119
2006-01-11 23:40:33 +00:00
danielk1977
b82e7edae9
Fix bugs caused by assuming that shared-schemas are initialized. (CVS 2917)
...
FossilOrigin-Name: 3970eb875d1830d35b3a70a7583a8ab6b238cad6
2006-01-11 14:09:31 +00:00
drh
7a91dd8602
Prepare for the release of version 3.3.0. (CVS 2913)
...
FossilOrigin-Name: 302993ae16750c56fd1418531ba716cff53d2df0
2006-01-11 01:08:34 +00:00
drh
02d9eca53f
Fix bug in the server1 test script. (CVS 2911)
...
FossilOrigin-Name: 25db22b6711590214f4f953e6e3cf6be2d7451db
2006-01-10 20:36:39 +00:00
danielk1977
da71798256
Initialize variables in malloc3.test (was causing error in all.test). (CVS 2906)
...
FossilOrigin-Name: 16a8172a617d4ff739660ae67d3e381b2dea68e6
2006-01-10 18:27:41 +00:00
danielk1977
eecfb3eebc
Fix a problem with shared-schemas and temp triggers. (CVS 2901)
...
FossilOrigin-Name: 9c18a1ce1e7ff6a02eb0f9ce344cab9660819740
2006-01-10 12:31:39 +00:00
danielk1977
311019be0b
If compiled with memory-debugging, write garbage to memory when it is freed. Fix for #1594 . (CVS 2900)
...
FossilOrigin-Name: bd02a6faefa3602d0b93d54bc57809a2222d5903
2006-01-10 07:14:23 +00:00
drh
bdd6da23cd
Enable shared cache on the server demonstration. (CVS 2899)
...
FossilOrigin-Name: 8719f880a395db8be65ea45615d8e55985306f1e
2006-01-10 02:30:33 +00:00
drh
7910e76ddb
Add the first simple tests of server mode. Get the Makefile generated from
...
the configure script working again. (CVS 2898)
FossilOrigin-Name: 66f84068f3c7c0963ce88f84fc0ba6775f64cd19
2006-01-09 23:50:11 +00:00
drh
29c636bc12
Added database server example code (untested). Fixed serveral bugs including
...
the autovacuum compile problem described by ticket #1593 . (CVS 2897)
FossilOrigin-Name: ec332d8822d1ac9673581a26ab2a2fce5f2554a3
2006-01-09 23:40:25 +00:00
drh
2366940d8f
Reinstate the asynchronous I/O demonstration code and tests with minor
...
changes. (CVS 2896)
FossilOrigin-Name: eeebc640aaeeb0ab7f730d854069f159aa41968b
2006-01-09 17:29:52 +00:00
danielk1977
14db26653a
Fix some errors to do with attached databases and text encodings in shared-cache mode. (CVS 2895)
...
FossilOrigin-Name: 3e75d3d5efebc0dfff1adfc13d85e85ec39db3eb
2006-01-09 16:12:04 +00:00
danielk1977
52622828ce
Add a runtime interface to enable memory-management features. (CVS 2894)
...
FossilOrigin-Name: 44f8e3139aa3ad3fcce9028565dd9ad23bbe62a2
2006-01-09 09:59:49 +00:00
danielk1977
e501b89ada
Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893)
...
FossilOrigin-Name: 82b81f69c78cb3f54634d9aea4f6a838474dc5e5
2006-01-09 06:29:47 +00:00
drh
5739103e98
Fix timezone parsing in the date/time functions. Ticket #1587 . (CVS 2891)
...
FossilOrigin-Name: 94c87b70161d4d44fbf1602fc2baae22dca08759
2006-01-09 00:18:02 +00:00
drh
15007a99e4
Get LIMIT and OFFSET working again for negative limits and offsets.
...
Ticket #1586 . (CVS 2889)
FossilOrigin-Name: b2ac0be07ec76ab23b7e5b800c0bc62d0bc97f4b
2006-01-08 18:10:17 +00:00
danielk1977
dba99bcc96
Fix some memory leaks caused by obscure syntax errors in SQL. (CVS 2882)
...
FossilOrigin-Name: 6593199a4d0d0e1f9cc2f48d30327b1c03a8170e
2006-01-07 14:02:26 +00:00
danielk1977
c00da10565
In shared-cache mode, lock all required tables before beginning to execute the body of the statement program. (CVS 2881)
...
FossilOrigin-Name: 23b587b05b89727248805e6d9e5141e018cf2152
2006-01-07 13:21:04 +00:00
drh
a34c62d866
Fix bugs in test scripts that came of of sse testing. (CVS 2879)
...
FossilOrigin-Name: 22bf1a2ffac503020dfa78d228b561d1cf6f3894
2006-01-06 22:11:20 +00:00
danielk1977
aaf22685d7
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
2006-01-06 15:03:48 +00:00
drh
66560adab3
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
2006-01-06 14:32:19 +00:00
danielk1977
c87d34d05d
Add some simple tests and fixes for shared-schema locking. (CVS 2869)
...
FossilOrigin-Name: d054bed15aee3edef93cc84c83be443cdd489946
2006-01-06 13:00:28 +00:00
danielk1977
de0fe3e4c3
Fix a bug that was emptying shared-schema tables during an ATTACH. (CVS 2867)
...
FossilOrigin-Name: 752a2754879becc32da9f9b910f3330f8c7145e4
2006-01-06 06:33:12 +00:00