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
206f3d96d1
Prevent memory leak and possible NULL pointer deference after malloc
...
failure. Ticket #1886 . (CVS 3329)
FossilOrigin-Name: b1f326e6959ef3be11f772e80f5ab6dd65b2d065
2006-07-11 13:15:08 +00:00
drh
6a03a1c5f7
For infix functions (LIKE, GLOB, REGEXP, and MATCH) treat the left
...
operand as the first argument for the purposes of virtual table
function overloading, even though the left operand is really the
the second argument. (CVS 3324)
FossilOrigin-Name: 6e98373ca11c9d476f4c6b1841c6e006b7a49f29
2006-07-08 18:34:59 +00:00
drh
b7f6f68f3a
Allow virtual table implementations to overload function that use
...
a column of the virtual table as their first argument. Untested. (CVS 3322)
FossilOrigin-Name: 12cc7af4b6b8b4f1a43d962fbafde8cba683a907
2006-07-08 17:06:43 +00:00
drh
c2e87a3e85
The ability to load extensions is turned off by default. It must be
...
enabled by calling sqlite3_enable_load_extension() before it will work.
This prevents security problems in legacy applications. Ticket #1863 . (CVS 3311)
FossilOrigin-Name: 4692319ccf28b0ebe64d5c5d189f444034fe0cb2
2006-06-27 15:16:14 +00:00
drh
69dab1d33f
Changes to build successfully with -DSQLITE_OMIT_LOAD_EXTENSION=1 (CVS 3310)
...
FossilOrigin-Name: 783369e870df9d189fc75c98fa574fe4fc9843d0
2006-06-27 14:37:20 +00:00
drh
6d209d8b0d
Cache and reuse virtual table index information in the optimizer.
...
Improved diagnostics for virtual table index selection. (CVS 3300)
FossilOrigin-Name: 28413cf2b3f0e6f294e1f3c59fcce135b65c294f
2006-06-27 01:54:26 +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
drh
1914619ae7
Remove the sqlite3_module.zName field which was used only for debugging. (CVS 3297)
...
FossilOrigin-Name: 74a3961f39b9a045518835b20940471ac97bca66
2006-06-26 19:10:32 +00:00
danielk1977
33b3933c15
Ensure whitespace specified as part of a virtual table constructor argument is correctly passed to the constructor function. (CVS 3290)
...
FossilOrigin-Name: 4630e11d9a697a7fa29a0a1bbca91da4ad2bde7b
2006-06-24 08:51:05 +00:00
danielk1977
be71889703
Add tests and fixes for handling malloc() failures related to the virtual table feature. (CVS 3285)
...
FossilOrigin-Name: 5d1d907189ff3ca7afada83033280cf258984ac0
2006-06-23 08:05:19 +00:00
drh
707205d188
Clear a compiler warning by adding a prototype to sqliteInt.h. (CVS 3266)
...
FossilOrigin-Name: ca541ef3c464c5627596a48ee7f1ec40948cf65d
2006-06-17 10:44:42 +00:00
drh
9c41938ff8
Rework the way UPDATE works for virtual tables. (CVS 3262)
...
FossilOrigin-Name: 2119e7bf5577350e4e1236ea729568085620a826
2006-06-16 21:13:21 +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
f1a381e7fc
Add some tests (and fixes) for virtual tables and the authorization callback. Still more to come. (CVS 3260)
...
FossilOrigin-Name: 9497c66e5533ec143d0efda4a419e4bdf922ae8c
2006-06-16 08:01:02 +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
4cbdda9e27
Added code to INSERT, DELETE and UPDATE virtual tables. The new code is
...
mostly untested. (CVS 3248)
FossilOrigin-Name: 32c97b884b104d120db3c0a87f5eab28f36851f8
2006-06-14 19:00:20 +00:00
drh
5dc1aaa9d1
Get the code to compile with -DSQLITE_OMIT_VIRTUALTABLE=1 (CVS 3230)
...
FossilOrigin-Name: ea4bc5a0be6cfc81ef1e9405f396c43205fe9cd8
2006-06-13 15:36:06 +00:00
danielk1977
b7a7b9a3b9
Add implementations for opcodes required for linear scans of virtual tables. (CVS 3223)
...
FossilOrigin-Name: 1f20e1832b38c76d2b0dde5fd720670c2ad0438b
2006-06-13 10:24:42 +00:00
drh
9eff616750
Added code to iterate through virtual tables. All regression tests pass
...
but the new code is completely untested. (CVS 3219)
FossilOrigin-Name: 010965433140fbe508a907d861dbad79343bf7c2
2006-06-12 21:59:13 +00:00
danielk1977
9e39ce87cf
Add code to invoke the xDestroy method of a virtual table when it is dropped. (CVS 3218)
...
FossilOrigin-Name: f0c7c8d12c04376e48c6d53a29cfae3fa13b52cf
2006-06-12 16:01:21 +00:00
danielk1977
fe3fcbe20c
Add a simple test case (and corresponding bugfix) for the virtual table xConnect and xDisconnect methods. (CVS 3214)
...
FossilOrigin-Name: b63dbc794795533f0bfd2d8e25633e6e3dea3ebd
2006-06-12 12:08:45 +00:00
danielk1977
7e6ebfb246
Add first cut of sqlite3_declare_vtab(). Not at all well tested yet. (CVS 3213)
...
FossilOrigin-Name: bbeb93b5bb26ba83ee7b7ae439ca5ceebebac9a0
2006-06-12 11:24:37 +00:00
danielk1977
78efaba10e
Incremental work on parsing/storing and invoking the xCreate callback for virtual tables. (CVS 3212)
...
FossilOrigin-Name: 8ffbab79d5a76dea0f87cf551d5b6ad4f0fab337
2006-06-12 06:09:17 +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
e09daa90ac
Basic parsing of CREATE VIRTUAL TABLE statements. (CVS 3210)
...
FossilOrigin-Name: 66370cb99bd93abb33e1e8433672da45e1795f78
2006-06-10 13:29:31 +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
86dac2b6be
Syntax errors override errors from the code generator, not the other
...
way around. (CVS 3192)
FossilOrigin-Name: 5031ffc665782e7b300c498fb8be168443505add
2006-05-25 12:17:31 +00:00
drh
9b8f447b36
Changes to get SQLite running on machines that use the EBCDIC character set. (CVS 3161)
...
FossilOrigin-Name: 4342b4997199241cafd6120c6abda665770e270c
2006-04-04 01:54:55 +00:00
drh
27436af790
Compile-time option to use only 32-bit integers. (CVS 3157)
...
FossilOrigin-Name: aedadfc3e47efa28ff81d7789b54fba9fcc128db
2006-03-28 23:57:17 +00:00
drh
f8875400e4
Miscellaneous code cleanup. (CVS 3143)
...
FossilOrigin-Name: 8f60139f688903f0e635b0a904ab9ca401fbe71f
2006-03-17 13:56:34 +00:00
drh
cdd536f0fd
Much faster sorting when there are a large number of columns in the
...
result set. (CVS 3141)
FossilOrigin-Name: 6b3717aeb4ac45a433f2a30bdd0264ed728676e1
2006-03-17 00:04:03 +00:00
drh
03b808a694
Get parserless builds working again. (CVS 3133)
...
FossilOrigin-Name: 5ddc09a5e4d81a73228cd8038c6dc345b1fdf4af
2006-03-13 15:06:05 +00:00
drh
187e4c6ac9
The parser now permits very large triggers - triggers with 10000 or more
...
statements. (CVS 3113)
FossilOrigin-Name: b4fa96d0e92182cd8792e88b4540b95912bb9f95
2006-02-27 22:22:27 +00:00
drh
74161705f1
Remove unused parameters on internal APIs. Suppress warnings from
...
CodeWarrior. (CVS 3110)
FossilOrigin-Name: 4b22e4b847f8d5c29830baea541194ef3a0c4811
2006-02-24 02:53:49 +00:00
danielk1977
8ae59d5233
Fix bug preventing compliation without MEMDEBUG when ENABLE_MEMORY_MANAGE is defined. (CVS 3105)
...
FossilOrigin-Name: 76912b33b1a15ee4baea9f7c8685933b4d551e91
2006-02-17 15:01:36 +00:00
danielk1977
ddfb2f036a
Ensure temp db is open before executing a pragma like "temp.cachesize = xxx". Fix for #1682 . (CVS 3104)
...
FossilOrigin-Name: 1e4644b2369547da65fcaa9a3c8ddd206a3c82ae
2006-02-17 12:25:14 +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
drh
e8c1513254
Get the build working again. Fix for check-in (3093) (CVS 3100)
...
FossilOrigin-Name: 4e6b74b290282fd10fae97df8dfa643a1b7ef0c6
2006-02-15 21:19:01 +00:00
danielk1977
750b03e543
Changes so that test_async.c works with memory management turned on. (CVS 3093)
...
FossilOrigin-Name: f4150c29df2774b4422d4296d913cdbcee62c859
2006-02-14 10:48:39 +00:00
drh
ac530b1ab4
Add support and documentation for the fullfsync pragma. Also include
...
some other unrelated documentation updates. (CVS 3080)
FossilOrigin-Name: f2069d0bf3161591535e68b7389792e9cb7fe043
2006-02-11 01:25:50 +00:00
danielk1977
1787ccabed
Fix the origin APIs so that they correctly handle views and subqueries that cannot be flattened. (CVS 3072)
...
FossilOrigin-Name: 5e8611e13de08d704cea6c9c4466c3af842a7a1a
2006-02-10 07:07:14 +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
drh
c93cc42df8
Fix to sqlite3AllocMalloc() when it is a no-op macro. (CVS 2998)
...
FossilOrigin-Name: 8caa9f95b8a36e34510cf46d518bd63bd8fa0a32
2006-01-23 13:28:53 +00:00
drh
d116739351
Fix additional compiler warnings. Tickets #1615 , #1616 , #1627 (CVS 2994)
...
FossilOrigin-Name: 6385628edd79187dff1687815d0101c31248e54f
2006-01-23 13:00:35 +00:00
drh
6dc1d95dd8
Remove vestiges of the older TSD code for handling OOM exceptions.
...
Prepare for the release of 3.3.2. (CVS 2991)
FossilOrigin-Name: a65e85f0e01f3bca5f4e78999c10db3916824b5b
2006-01-23 00:04:54 +00:00
danielk1977
76e8d1a292
Include the ThreadData structure in internal malloc() testing. Also fixes for revealed bugs. (CVS 2974)
...
FossilOrigin-Name: c7b9d50d0a975912776aaa2b870308652f77e1e6
2006-01-18 18:22:43 +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
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