drh
1409be69aa
Add the new experimental sqlite3_auto_extension() API. (CVS 3362)
...
FossilOrigin-Name: a85fc877eb8c92bbb79ac9b7fa91fb362f37cdf7
2006-08-23 20:07:20 +00:00
drh
ffc13f69b5
Reset the schema before checking for outstanding statements inside
...
sqlite3_close() so that virtual tables will be disconnected. (CVS 3341)
FossilOrigin-Name: af05c3ca06163ef92ca1ca135302c00b7ddddabf
2006-07-30 20:50:44 +00:00
drh
881feaa043
Initial attempt at making sqlite3_interrupt() work even when called from
...
a separate thread. (CVS 3335)
FossilOrigin-Name: 35fd67d7a0c55797eb460e3bd02c96afe619f026
2006-07-26 01:39:30 +00:00
drh
76fe8032c1
By default, new databases are now created in the legacy file format - the
...
format that ignores DESC on indices. If you want descending indices, you
must either recompile with -DSQLITE_DEFAULT_FILE_FORMAT=4 or issue
"PRAGMA legacy_file_format=OFF" prior to creating the first table in the
database. (CVS 3330)
FossilOrigin-Name: 65b60f05ce49ff127bf5044f96db36caf1fa0106
2006-07-11 14:17:51 +00:00
drh
3086765b6f
Change sqlite3_busy_timeout so that it checks for an invalid database
...
pointer. (CVS 3320)
FossilOrigin-Name: 225a9597b21bde7666451fc2eb7695dc35c438bb
2006-07-06 10:59:57 +00:00
drh
f9cb7f58a7
Move the sqlite3_sleep() and sqlite3_clear_bindings() interfaces into the
...
main library and make this official. (CVS 3316)
FossilOrigin-Name: eb3442c44ef1dbf8895195bb08fbeeea315b44c1
2006-06-27 20:06:44 +00:00
drh
28dd479c48
Publish APIs sqlite3_malloc() and sqlite3_realloc() that use the OS-layer
...
memory allocator. Convert sqlite3_free() and sqlite3_mprintf() to also
use the OS-layer memory allocator. (CVS 3298)
FossilOrigin-Name: 85a66a25e97471d3c459c8da6a96990b0537dc7d
2006-06-26 21:35:44 +00:00
danielk1977
65fd59f731
A few more test cases to improve coverage of virtual table module related code. (CVS 3292)
...
FossilOrigin-Name: 255aa9121a2ef4fec7fa5523e52969acc96f4b40
2006-06-24 11:51:33 +00:00
danielk1977
b7a2f2e8b7
Fix some memory leaks that occur when malloc() fails. (CVS 3286)
...
FossilOrigin-Name: b56cc035f2be5c1a3f63efbb4c181e405a140fbb
2006-06-23 11:34:54 +00:00
danielk1977
a298e90d50
Test the handling of errors in virtual table methods. (CVS 3284)
...
FossilOrigin-Name: 51b729d9d9f8a60cdfb552809e4aa10012f4eb68
2006-06-22 09:53:48 +00:00
danielk1977
f9e7dda7ef
Add code to invoke the virtual table transaction interface. Untested at this point. (CVS 3261)
...
FossilOrigin-Name: 6125140228e09cad2029a48e92aa0123d3daecfb
2006-06-16 16:08:53 +00:00
danielk1977
d1ab1ba5ed
Add void* argument to sqlite3_create_module to replace sqlite3_module.pAux. (CVS 3251)
...
FossilOrigin-Name: 470a3a0b20775be1226fb4d477c798d8da2d5708
2006-06-15 04:28:13 +00:00
drh
badf7a7a2f
Better documentation on the limits of user-defined functions. And a
...
marginally better error message when those limits are exceeded.
Ticket #1847 . (CVS 3247)
FossilOrigin-Name: 0d369ff071d296501cc33d4622144b22946ac555
2006-06-14 15:35:36 +00:00
drh
b9bb7c187e
Progress toward CREATE VIRTUAL TABLE. Still not even close to working... (CVS 3211)
...
FossilOrigin-Name: 898ec36b4102aaa03979f8f5c510936e57e2ae48
2006-06-11 23:41:55 +00:00
drh
f1952c5d27
Unload shared libraries when a database connection closes. (CVS 3208)
...
FossilOrigin-Name: 327e6909c9d35b651ab6f3a1a270022b354538c6
2006-06-08 15:48:00 +00:00
drh
f012ea3b00
When opening a new connection on a shared cache, be careful not to
...
overwrite the encoding flag on the shared cache. Ticket #1824 . (CVS 3190)
FossilOrigin-Name: c8e5ceedee087098c04e3b6b8b82710de0563e77
2006-05-24 12:43:26 +00:00
drh
3752785f93
Fix some compiler warnings. (CVS 3140)
...
FossilOrigin-Name: 6c5175bc0f98e4ce715b099394f3fdc878ed82e8
2006-03-16 16:19:56 +00:00
drh
3bc0e05c61
Make provisions in the code to support Provisions to support caching of
...
serialized statements in the SSE extension. (CVS 3139)
FossilOrigin-Name: 5048fae04227857c064c0ba48eb11bedeb467df0
2006-03-16 14:05:14 +00:00
drh
03b808a694
Get parserless builds working again. (CVS 3133)
...
FossilOrigin-Name: 5ddc09a5e4d81a73228cd8038c6dc345b1fdf4af
2006-03-13 15:06:05 +00:00
drh
91c839b86e
Make sure the default busy handler uses usleep() when available.
...
Ticket #1684 . (CVS 3121)
FossilOrigin-Name: 43e5462608819e9c2c8bcb4860d4c2d6ecda600c
2006-03-03 20:54:41 +00:00
drh
7d9bd4e19e
Or the SQLITE_UTF16_ALIGNED with the encoding field in
...
sqlite3_create_collation and UTF16 strings will always be aligned
on an even byte boundary when passed into the comparison function. (CVS 3103)
FossilOrigin-Name: 7a1701e8c562087d364dff28cd7cad7ca4cdb5ae
2006-02-16 18:16:36 +00:00
danielk1977
deb802cd83
Add the sqlite3_table_column_meta() API. (CVS 3062)
...
FossilOrigin-Name: 1ac72f68c0e9fd63decc97c166f49b405a9d323c
2006-02-09 13:43:28 +00:00
drh
0e819f9032
Always register BINARY collating sequences for UTF-16BE and UTF-16LE both.
...
Formerly we were only registering the native byte order by default.
Ticket #1654 . Note: There may still be problems with collating sequence
synthesis. (CVS 3053)
FossilOrigin-Name: 3861377bd93453161dfe78a8c1d7a9f919108c8f
2006-02-01 13:50:41 +00:00
drh
0850b5374c
Fix some pointless warnings from overly-pedantic compilers. (CVS 3048)
...
FossilOrigin-Name: b922c8e45f9a7799583d8b42875b27032fd71422
2006-01-31 19:31:43 +00:00
danielk1977
8d34dfd656
Handle errors in saving cursor positions during a rollback by aborting all active statements. (CVS 3027)
...
FossilOrigin-Name: 5df9f022bfb22976f22b996bda169635354b825c
2006-01-24 16:37:57 +00:00
danielk1977
f2fa8310f9
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
2006-01-24 13:09:33 +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
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
54f0198e47
Change sqlite3MallocClearFailed() calls to sqlite3ApiExit(), a better API. (CVS 2970)
...
FossilOrigin-Name: e0b022e5b2bfd272b4e25cd7a7b472206a118bbe
2006-01-18 15:25:17 +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
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
drh
6f7adc8a80
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
2006-01-11 21:41:20 +00:00
drh
7c1817e255
Move the implementation of sqlite3_enable_shared_cache from btree.c to main.c. (CVS 2902)
...
FossilOrigin-Name: 4f2ec95283f1ae0a28b2f9ce0afc5a7203de87fb
2006-01-10 13:58:48 +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
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
e501b89ada
Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893)
...
FossilOrigin-Name: 82b81f69c78cb3f54634d9aea4f6a838474dc5e5
2006-01-09 06:29:47 +00:00
drh
198bf39128
Changes so that SQLITE_OMIT_PARSER and SQLITE_OMIT_DISKIO work. (CVS 2878)
...
FossilOrigin-Name: 9d71b7deaffdd7eb9ddad1f03df3e4c51c2cbd98
2006-01-06 21:52:49 +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
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
danielk1977
441b09ae55
Disable automatic invocation of sqlite3_release_memory() when a malloc() fails
...
in those cases where the global mutex is held. (CVS 2860)
FossilOrigin-Name: 6fdbb8b771e490f0d791326689245302c4fe18f5
2006-01-05 13:48:29 +00:00
danielk1977
da18423620
Add the shared schema/pager modifications. Very few tests so far. (CVS 2859)
...
FossilOrigin-Name: deeda0dc06c1595aedd8d06a0c4e88a8abf78cf7
2006-01-05 11:34:32 +00:00
danielk1977
aef0bf6429
Add part of the btree layer of the shared-cache feature. (CVS 2848)
...
FossilOrigin-Name: 2afcad990190af97d1ad0010f211a5ca8f0fd745
2005-12-30 16:28:01 +00:00
danielk1977
f3f06bb30c
Verify that the rollback-hook is invoked correctly when a malloc() failure occurs. (CVS 2824)
...
FossilOrigin-Name: 83c8ae5bee3b6bdb556d2e85fa260ba855742601
2005-12-16 15:24:28 +00:00
danielk1977
71fd80bf5c
Add the sqlite3_rollback_hook() API. Still requires further testing. (CVS 2823)
...
FossilOrigin-Name: 3baa3ff32435b64e7ae7646b17a98fef9296aaa0
2005-12-16 06:54:01 +00:00
danielk1977
94eb6a14cb
Add the sqlite3_update_hook() API. (CVS 2820)
...
FossilOrigin-Name: 36229018817eebfbfca7a66d2285e4faf7b39845
2005-12-15 15:22:08 +00:00
drh
af9a7c22b5
Fix memory allocation problems on the utf-16 versions of collating function
...
control routines. (CVS 2817)
FossilOrigin-Name: ad292e27336b8c5afc0acdf111944a456bd23c32
2005-12-15 03:04:10 +00:00
danielk1977
7ddad969a4
Fix minor malloc() related problems and add sqlite3_soft_heap_limit() stubs. (CVS 2814)
...
FossilOrigin-Name: 1637f3796015d1582ed8c6bc8bdf8c067b4bade9
2005-12-12 06:53:03 +00:00
drh
2646da7e52
Clean up annoying (and pointless) compiler warnings about differing signedness. (CVS 2810)
...
FossilOrigin-Name: 83a59151559d9496d4f546e03e65087ea974717d
2005-12-09 20:02:05 +00:00
drh
7dd90a4785
Report errors out of sqlite3_open16(). (CVS 2802)
...
FossilOrigin-Name: f5b58163d4520fa3e7137e8445a8ef19aae3e799
2005-12-06 13:19:07 +00:00