Commit Graph

3252 Commits

Author SHA1 Message Date
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 0c07fb9aa1 Off by 1 error in check-in (3314). Note that this change is a likely
fix for ticket #1875.  But I have not tested it for that purpose yet. (CVS 3315)

FossilOrigin-Name: c7477459e92209ad792f0e11e4a4dd8abf0f2f11
2006-06-27 20:05:23 +00:00
drh 94f63ab842 Use the -k option to sort. This allows the build to run on newer unix
systems, but will likely break the build on older ones.  Please address
your complaints to the posix committee members that thought this would
be a good idea. (CVS 3314)

FossilOrigin-Name: 5d7e6bbddb522de2283474eb6d30cc376daf66f0
2006-06-27 18:55:09 +00:00
drh 35364b2b9e When compiling extensions in the load_extension tests, specify a path
for finding include files. (CVS 3313)

FossilOrigin-Name: aee4b669944ccf3888daa9d9e54f16261c64f380
2006-06-27 18:38:51 +00:00
danielk1977 2372c2b165 Prevent databases from being DETACHed while they are in use. Fix for #1873. (CVS 3312)
FossilOrigin-Name: 70a48b250bab99c5d9b4ad17c471663b8628e8d2
2006-06-27 16:34:56 +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 edb193b766 Changes so that it will build with SQLITE_OMIT_VIRTUALTABLE=1. (CVS 3309)
FossilOrigin-Name: 5612b287059c75488f995625d447c4e9521d1637
2006-06-27 13:20:21 +00:00
drh ff91c45404 All tests pass even if compiled with -DSQLITE_DEFAULT_FILE_FORMAT=1. (CVS 3308)
FossilOrigin-Name: 8a49311d2f50cf2ca24776cabcb8ec7418325cb1
2006-06-27 12:51:12 +00:00
danielk1977 169f8a0c7a Fix up the test tclvar virtual module. (CVS 3307)
FossilOrigin-Name: a20bfa46316b9d8f884f147960620fc8e56a7c7f
2006-06-27 12:24:59 +00:00
drh baaa7f409d Additional documentation on the 3.3.0 file format change added to
formatchng.html. (CVS 3306)

FossilOrigin-Name: 955551ca2e66a1f21dae21aa0265906887d7138d
2006-06-27 12:24:13 +00:00
danielk1977 3851a65e3a Fix bug in transfer of arguments from WHERE clause to virtual table xFilter() methods. (CVS 3305)
FossilOrigin-Name: cf41f2a33f94c6c94fb39ae6ffcd58bbf9ea88c8
2006-06-27 12:16:56 +00:00
drh ac743e292d Move older news items
to the oldnews.html page. (CVS 3304)

FossilOrigin-Name: 80163ded7d7a8d6897b59df988286f987b221d08
2006-06-27 11:14:13 +00:00
danielk1977 926aab2274 In test code, always use sqlite3_free() instead of free() to free error messages returned by sqlite3_exec(). (CVS 3303)
FossilOrigin-Name: 6521ee5f320e47f8fbd7d6b23929fab431023483
2006-06-27 07:34:40 +00:00
drh d2ca60d776 Make sure that MATCH terms that a virtual table says should be omitted
really are omitted. (CVS 3302)

FossilOrigin-Name: 3e1f5567dfd306bdb97275a32afd02ea693eaf58
2006-06-27 02:36:58 +00:00
drh 9861a9f065 Cleanup and refactor parts of the optimizer. (CVS 3301)
FossilOrigin-Name: 6609c25fbfa5ad7f55c356936abb1721686c47ca
2006-06-27 02:33:40 +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 c1be632489 Export the sqlite3_bind_value API to loadable extensions. (CVS 3299)
FossilOrigin-Name: 1ca385bb39514cb73f506bfbbe38aabb6b70816c
2006-06-27 00:14:27 +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
drh 344a627661 Fix a file descriptor leak following malloc failure on DROP TABLE IF EXISTS. (CVS 3296)
FossilOrigin-Name: 6a63f76c8de977b628c4cab258be5a11d7d7def9
2006-06-26 12:50:09 +00:00
danielk1977 a2e48b24c7 Fix trivial compiler warnings. (CVS 3295)
FossilOrigin-Name: 3538beace8ece6339fe8aaf40852ce5e5e7da283
2006-06-26 11:17:50 +00:00
drh 605903f42e Syntax documentation updates. (CVS 3294)
FossilOrigin-Name: df601a7b374cb6ec21a2e91abf17af4fed404393
2006-06-26 10:37:11 +00:00
pweilbacher 04bd0c15ac (OS/2) Armor OS/2 against accidental deletion of files, too (patch by Daniel Kruse, verified by me) (CVS 3293)
FossilOrigin-Name: f357efb373b8631dbe4455530d060020b070bea2
2006-06-24 12:38:59 +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 5017dc387d Add tests to improve coverage of vtab.c. (CVS 3291)
FossilOrigin-Name: 0c5f4ee39cb76747cf01398867fed2c7ae3edc84
2006-06-24 09:34:22 +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 cc013f891c Clean up and clarify code in test8.c. (CVS 3289)
FossilOrigin-Name: 4acf7594a6c47142e7112d2cd9766a563401879b
2006-06-24 06:36:11 +00:00
danielk1977 f2a3e686dd Modify the test cases in tkt1444.test that were failing. I am convinced that the test cases were incorrect. (CVS 3288)
FossilOrigin-Name: 0534f6e15b84560124c3f1abd05f2967d10261c4
2006-06-23 14:43:30 +00:00
danielk1977 212b218c88 Allow xDestroy methods to execute "DROP TABLE" statements. (CVS 3287)
FossilOrigin-Name: a56bfa560425a5dc9273229f8838471dfc402024
2006-06-23 14:32:08 +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 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
danielk1977 a298e90d50 Test the handling of errors in virtual table methods. (CVS 3284)
FossilOrigin-Name: 51b729d9d9f8a60cdfb552809e4aa10012f4eb68
2006-06-22 09:53:48 +00:00
drh f7e678d6e9 Make the last_insert_rowid method in the TCL interface work with
64-bit rowids. (CVS 3283)

FossilOrigin-Name: d50c37975de7639627422cbed40eb03a431874d5
2006-06-21 19:30:34 +00:00
danielk1977 70ba164098 Add the database name to the parameters passed to virtual table module xCreate and xConnect methods. (CVS 3282)
FossilOrigin-Name: 2d2805785f473afc202df532df84c45e6f0dc0f1
2006-06-21 16:02:42 +00:00
danielk1977 d07e543f29 Add the table name to the arguments passed to the virtual table methods xCreate/xConnect. (CVS 3281)
FossilOrigin-Name: 7dc36d1c798aa8b30b88a528fc9e69b342f278c7
2006-06-21 13:21:50 +00:00
danielk1977 5ee9d6977f Add tests to make sure altering or adding an index to a virtual table is prohibited. (CVS 3280)
FossilOrigin-Name: 6c3e8852ffbaf5ab52ffdf7ed3767fa1d4fd5882
2006-06-21 12:36:25 +00:00
danielk1977 9d1b2a28f8 Test cases for accessing virtual tables when the corresponding module is undefined. (CVS 3279)
FossilOrigin-Name: bcef48c54dd01cf089db16192e670cb0717988ac
2006-06-21 07:34:11 +00:00
danielk1977 fbbe005a59 Fix a problem with virtual tables and joins. (CVS 3278)
FossilOrigin-Name: 643e63e5883eec109a91a44dae62b58650646575
2006-06-21 07:02:33 +00:00
danielk1977 93626f4869 Fix some problems with virtual tables and joins in where.c. (CVS 3277)
FossilOrigin-Name: 3e19a7d8eabcd2fa71ced3f76c5f9bc1f3900b81
2006-06-20 13:07:27 +00:00
danielk1977 4b2688ab31 Modifications so that compilation and testing with the various OMIT macros defined works. (CVS 3276)
FossilOrigin-Name: c6ea353bd9f5fe6c9cc3349d2034ada283f9c80e
2006-06-20 11:01:07 +00:00
drh 2f47c86adf Update the news column on the homepage. (CVS 3275)
FossilOrigin-Name: 24a94bb07589c04305eceec1dc9a1a9a2c39e2c5
2006-06-20 00:22:37 +00:00
danielk1977 74cdba4fa8 Avoid returning MISUSE when sqlite is called recursively by an xBestIndex callback. (CVS 3274)
FossilOrigin-Name: 4339e1bf664c4287aabe0993a9c5a2b783019cb3
2006-06-19 12:02:58 +00:00
danielk1977 3d5ff1c2fe Add tests to ensure triggers cannot be created on virtual tables. (CVS 3273)
FossilOrigin-Name: 9470e27962d2fe9c0d1921d9aab7d8f0047ac1fd
2006-06-19 06:32:23 +00:00
danielk1977 b8cbb872cf Respect default collation sequences assigned to virtual table columns. (CVS 3272)
FossilOrigin-Name: d9b205acac34ba9703bc35dfb101aedd95cb5a16
2006-06-19 05:33:45 +00:00
danielk1977 70b6d57373 Fix memory leak in where.c. (CVS 3271)
FossilOrigin-Name: 3d10e8f36113a189aa19ecd99007cd0a926b2f8a
2006-06-19 04:49:34 +00:00
danielk1977 b3d24bf8ee Add tests to ensure an INSERT/UPDATE/DELETE immediately after virtual table construction does not fail. (CVS 3270)
FossilOrigin-Name: 144d0eb13aed4507e93edec781b1819a068f4a70
2006-06-19 03:05:10 +00:00
drh fdb83b2fa1 Add the load_extension() SQL function. (CVS 3269)
FossilOrigin-Name: e08e2ddafe909ae6073ec56dfa3fdca23e36bf2e
2006-06-17 14:12:47 +00:00
drh 428397c143 The default entry point for loadable extensions is now
always sqlite3_extension_init(). (CVS 3268)

FossilOrigin-Name: 059b1f61406ca60fdbd3ec59c5b15fadc6552564
2006-06-17 13:21:32 +00:00
danielk1977 e7ff403ab1 Add newly created virtual tables to the current transaction. (CVS 3267)
FossilOrigin-Name: ea7e4eca106cea27d5dc447d2afcd45448152151
2006-06-17 11:30:32 +00:00