Commit Graph

2865 Commits

Author SHA1 Message Date
drh
0e6082eb83 Performance boost in sqlite3VdbeRecordCompare. (CVS 2929)
FossilOrigin-Name: 14c423075bcebf42a3f4e24838bc865cfb90afda
2006-01-12 20:28:35 +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
8079a0d3f5 Cache the encoding value inside VdbeExec. (CVS 2927)
FossilOrigin-Name: 6d2a816ede8d17b993a21e418cf25edd103334de
2006-01-12 17:20:50 +00:00
drh
d172f86fe2 Additional performance improvements in sqlite3BtreeMoveto. (CVS 2926)
FossilOrigin-Name: 52b3be96b6e96994ec6fbcc67bf355cd05f61730
2006-01-12 15:01:15 +00:00
drh
b562f0ba96 BtreeMoveto optimization goes about 1.5% faster. (CVS 2925)
FossilOrigin-Name: 4e4a650484a39cac43386d8488ff42a8a0cc2820
2006-01-12 14:30:19 +00:00
drh
4b494d65a7 About a 2.5% speed improvement by reducing the number of sqlite3ThreadData
calls in the parser. (CVS 2924)

FossilOrigin-Name: 0caa1994770142d6ca15284a26bad3879b07b15a
2006-01-12 12:43:36 +00:00
drh
f06c59a3e5 Mark the end of the return codes in the sqlite3.h.in template file. (CVS 2923)
FossilOrigin-Name: 19b848d99f215914454422edc0ce72422de0774e
2006-01-12 02:50:09 +00:00
drh
e321c29a7b Add the legacy_file_format pragma. (CVS 2922)
FossilOrigin-Name: b2dbd1a5b7f5a70049f25755f07b9c4c5116549b
2006-01-12 01:56:43 +00:00
drh
70ff98ab74 Improve performance by about 10% by avoiding excess calls to get
the thread-specific data. (CVS 2921)

FossilOrigin-Name: a8c74febec11eb689ca9f6b454f8c8bbadfc49d7
2006-01-12 01:25:18 +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
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
danielk1977
0203bde908 Ensure the database attached as part of VACUUM can be detached successfully after a malloc() failure. (CVS 2918)
FossilOrigin-Name: 8c26893c65574b0667bb84bde3ca49751079cc8d
2006-01-11 16:10:20 +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
danielk1977
003437a0a7 Fix typo noted by #1599. (CVS 2916)
FossilOrigin-Name: 1b368c7c5ca7974e0975dc4e3c931680c9e8df1f
2006-01-11 05:49:50 +00:00
drh
08ec23324f Version 3.3.0 (alpha) (CVS 2915)
FossilOrigin-Name: 59a7a56c1bba84b5c60a2f3e25bf51d933075aaf
2006-01-11 01:28:30 +00:00
drh
1440fc0c58 Add new APIs to the sqlite3.def file. (CVS 2914)
FossilOrigin-Name: 9258931a80e0dac78b015e1e200d1291a6177320
2006-01-11 01:28:11 +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
36d54c1ba5 Fix a typo in the FAQ. (CVS 2912)
FossilOrigin-Name: 5be03a361d9292ccdf311372be6add29ade4dd04
2006-01-10 23:00:41 +00:00
drh
02d9eca53f Fix bug in the server1 test script. (CVS 2911)
FossilOrigin-Name: 25db22b6711590214f4f953e6e3cf6be2d7451db
2006-01-10 20:36:39 +00:00
drh
97b5748487 Combine multiple small calls to sqlite3OsWrite into one larger call. (CVS 2910)
FossilOrigin-Name: e6e6750c24dc8b87be96bdc0e93254d7f0700543
2006-01-10 20:32:32 +00:00
drh
fe0f75bb1f Improved comments on the server and asynchronous I/O demo programs. (CVS 2909)
FossilOrigin-Name: c0f47ccbc915f20d56f393383c21b4026785e6a5
2006-01-10 20:01:18 +00:00
drh
ee32e0aa27 More pedantic changes to comments in VDBE. No changes to code. Ticket #1596. (CVS 2908)
FossilOrigin-Name: 1cf6855430352ffbf921a977186345d7272fe272
2006-01-10 19:45:49 +00:00
drh
3c899a60c4 Fix opcode name in comments. No changes to code. (CVS 2907)
FossilOrigin-Name: 511ac9db12ad84bb02d84568b75fc65cef661e88
2006-01-10 18:44:08 +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
3487e679cf Typos in new documentation. (CVS 2905)
FossilOrigin-Name: b5bedb2a9f349b32acbd0356c61cdc30fd474eca
2006-01-10 18:08:09 +00:00
danielk1977
b3bf556ef6 Store collation sequence names instead of pointers in sharable schema data structures. (CVS 2904)
FossilOrigin-Name: 0f0213be4d064b3d24e31ff93ec16f6862003d26
2006-01-10 17:58:23 +00:00
drh
d2d4a6b00d Updates to the C-API documentation. Change the parameter type of
sqlite3_soft_heap_limit to integer. (CVS 2903)

FossilOrigin-Name: bdd35e9fbb651fe7a1ed5042923c9529c3c5ab7c
2006-01-10 15:18:27 +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
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
danielk1977
2e94d4dea5 Minor changes so that OMIT_SHARED_CACHE works. (CVS 2892)
FossilOrigin-Name: cc963f8cfc6c704c645c627bffb8df21dfebffc6
2006-01-09 05:36:27 +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
3a12924798 Remove benign reference to an uninitialized variable. Ticket #1590. (CVS 2890)
FossilOrigin-Name: 32998fe8ed38a79eb79d8b13051b47bf74661e3c
2006-01-09 00:09:01 +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
drh
6f58f7069b Remove some cruft from the VDBE. Bring comments up to date. (CVS 2888)
FossilOrigin-Name: 41aef6496a10c81e1095408dc8f69740d6ea7627
2006-01-08 05:26:41 +00:00
drh
d59ba6ce61 Reduce memory requirements for ORDER BY combined with LIMIT. Ticket #1586. (CVS 2887)
FossilOrigin-Name: 55e703ecac6e03d7364c2d919ba18d7293d6b7f6
2006-01-08 05:02:54 +00:00
drh
76873ab240 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
2006-01-07 18:48:26 +00:00
drh
4bddfd2f6e Continued progress toward a working wince backend. (CVS 2885)
FossilOrigin-Name: 15fda14ee0c0524d3064d767f48edd689c090d95
2006-01-07 18:14:48 +00:00
drh
403110c84a 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
2006-01-07 18:10:32 +00:00
drh
3f4590226f Enable redefinable I/O if the SQLITE_ENABLE_REDEF_IO macro exists. (CVS 2883)
FossilOrigin-Name: e170e15766389e978991b42a0d2ec303162aaad6
2006-01-07 16:06:07 +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
8c0ca7d27c Drop the mutex if the TSD key allocation fails. Ticket #1585. (CVS 2880)
FossilOrigin-Name: 77ac231c0e21c09c0b612a4e72bcc863f2c95fd3
2006-01-07 04:06:54 +00:00