]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Wed, 26 Jul 2006 13:43:30 +0000 (13:43 +0000)]
More work toward getting sqlite3_interrupt() to work from separate
threads. Ticket #1897. (CVS 3336)
FossilOrigin-Name:
e431131d47481f9fc64c498e8934b10a96b0a931
drh [Wed, 26 Jul 2006 01:39:30 +0000 (01:39 +0000)]
Initial attempt at making sqlite3_interrupt() work even when called from
a separate thread. (CVS 3335)
FossilOrigin-Name:
35fd67d7a0c55797eb460e3bd02c96afe619f026
danielk1977 [Tue, 25 Jul 2006 15:14:52 +0000 (15:14 +0000)]
Allow database writes from within virtual table module xSync() callbacks. (CVS 3334)
FossilOrigin-Name:
d5a608d0a412e13dfced6a3827574a2cff802f25
drh [Mon, 17 Jul 2006 00:19:39 +0000 (00:19 +0000)]
Fix lemon so that it does not crash on a empty reduce action. Ticket #1892. (CVS 3333)
FossilOrigin-Name:
4207ebc4e107df9f9f046be652f061e53263c8dd
drh [Mon, 17 Jul 2006 00:02:44 +0000 (00:02 +0000)]
Add the "interrupt" method to the TCL interface. Ticket #1889. (CVS 3332)
FossilOrigin-Name:
b0d19e575b14778e76ae5d6546fba0d2e9f25e33
drh [Wed, 12 Jul 2006 00:18:40 +0000 (00:18 +0000)]
Reset TCL results when onecolumn or eval methods have no reply.
Ticket #1887. (CVS 3331)
FossilOrigin-Name:
9c6090c609afa9906029ed4ba22375f5bee058c4
drh [Tue, 11 Jul 2006 14:17:51 +0000 (14:17 +0000)]
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
drh [Tue, 11 Jul 2006 13:15:08 +0000 (13:15 +0000)]
Prevent memory leak and possible NULL pointer deference after malloc
failure. Ticket #1886. (CVS 3329)
FossilOrigin-Name:
b1f326e6959ef3be11f772e80f5ab6dd65b2d065
drh [Tue, 11 Jul 2006 12:40:25 +0000 (12:40 +0000)]
Fix a NULL pointer deference following malloc failure. Bug discovered
by klocwork. (CVS 3328)
FossilOrigin-Name:
eb91612f4646b15c2b8398c5225669419b03b531
drh [Tue, 11 Jul 2006 10:42:36 +0000 (10:42 +0000)]
Fix a possible NULL-pointer deference following a malloc failure.
Error discovered by Klocwork. (CVS 3327)
FossilOrigin-Name:
368bcf264456f5506260797497bc8d8dc4897e0f
drh [Mon, 10 Jul 2006 21:15:51 +0000 (21:15 +0000)]
Back out the changes of ticket #1687 since they broken the ActiveTcl build. (CVS 3326)
FossilOrigin-Name:
b10d4220dc12728933eae1fcdcebd88a5f92e3a7
drh [Sat, 8 Jul 2006 18:41:37 +0000 (18:41 +0000)]
Better comment to describe the confusing operand reversal for infix
functions. (CVS 3325)
FossilOrigin-Name:
30dfb9bf2131370fe57e000495f5c292d392a010
drh [Sat, 8 Jul 2006 18:34:59 +0000 (18:34 +0000)]
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
drh [Sat, 8 Jul 2006 18:09:15 +0000 (18:09 +0000)]
Add tests and minor fixes to the xFindFunction method of virtual tables. (CVS 3323)
FossilOrigin-Name:
3c4233e074cb016e2422b2e8f867c99217e9b10e
drh [Sat, 8 Jul 2006 17:06:43 +0000 (17:06 +0000)]
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
drh [Thu, 6 Jul 2006 17:08:48 +0000 (17:08 +0000)]
Make the sqlite3_enable_load_extension() interface accessible from the
TCL bindings. (CVS 3321)
FossilOrigin-Name:
ce96b890bbf2f2b9686e19bbb1111a70f6404cb5
drh [Thu, 6 Jul 2006 10:59:57 +0000 (10:59 +0000)]
Change sqlite3_busy_timeout so that it checks for an invalid database
pointer. (CVS 3320)
FossilOrigin-Name:
225a9597b21bde7666451fc2eb7695dc35c438bb
drh [Sun, 2 Jul 2006 10:21:35 +0000 (10:21 +0000)]
Fix spelling of Perl on the homepage. (CVS 3319)
FossilOrigin-Name:
255c5a99468c47fed0aaffeeeb28d5af9a99ee11
drh [Wed, 28 Jun 2006 18:18:09 +0000 (18:18 +0000)]
Changes to get tests to pass with OMIT_VIRTUALTABLE. Ticket #1877. (CVS 3318)
FossilOrigin-Name:
60616496b7d97fdda99262e2bab25e625151e857
drh [Tue, 27 Jun 2006 20:39:04 +0000 (20:39 +0000)]
Better handling of NULL column names. (CVS 3317)
FossilOrigin-Name:
9f13972b93a3cac95b4319d3e75343e02a30a38f
drh [Tue, 27 Jun 2006 20:06:44 +0000 (20:06 +0000)]
Move the sqlite3_sleep() and sqlite3_clear_bindings() interfaces into the
main library and make this official. (CVS 3316)
FossilOrigin-Name:
eb3442c44ef1dbf8895195bb08fbeeea315b44c1
drh [Tue, 27 Jun 2006 20:05:23 +0000 (20:05 +0000)]
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
drh [Tue, 27 Jun 2006 18:55:09 +0000 (18:55 +0000)]
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
drh [Tue, 27 Jun 2006 18:38:51 +0000 (18:38 +0000)]
When compiling extensions in the load_extension tests, specify a path
for finding include files. (CVS 3313)
FossilOrigin-Name:
aee4b669944ccf3888daa9d9e54f16261c64f380
danielk1977 [Tue, 27 Jun 2006 16:34:56 +0000 (16:34 +0000)]
Prevent databases from being DETACHed while they are in use. Fix for #1873. (CVS 3312)
FossilOrigin-Name:
70a48b250bab99c5d9b4ad17c471663b8628e8d2
drh [Tue, 27 Jun 2006 15:16:14 +0000 (15:16 +0000)]
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
drh [Tue, 27 Jun 2006 14:37:20 +0000 (14:37 +0000)]
Changes to build successfully with -DSQLITE_OMIT_LOAD_EXTENSION=1 (CVS 3310)
FossilOrigin-Name:
783369e870df9d189fc75c98fa574fe4fc9843d0
drh [Tue, 27 Jun 2006 13:20:21 +0000 (13:20 +0000)]
Changes so that it will build with SQLITE_OMIT_VIRTUALTABLE=1. (CVS 3309)
FossilOrigin-Name:
5612b287059c75488f995625d447c4e9521d1637
drh [Tue, 27 Jun 2006 12:51:12 +0000 (12:51 +0000)]
All tests pass even if compiled with -DSQLITE_DEFAULT_FILE_FORMAT=1. (CVS 3308)
FossilOrigin-Name:
8a49311d2f50cf2ca24776cabcb8ec7418325cb1
danielk1977 [Tue, 27 Jun 2006 12:24:59 +0000 (12:24 +0000)]
Fix up the test tclvar virtual module. (CVS 3307)
FossilOrigin-Name:
a20bfa46316b9d8f884f147960620fc8e56a7c7f
drh [Tue, 27 Jun 2006 12:24:13 +0000 (12:24 +0000)]
Additional documentation on the 3.3.0 file format change added to
formatchng.html. (CVS 3306)
FossilOrigin-Name:
955551ca2e66a1f21dae21aa0265906887d7138d
danielk1977 [Tue, 27 Jun 2006 12:16:56 +0000 (12:16 +0000)]
Fix bug in transfer of arguments from WHERE clause to virtual table xFilter() methods. (CVS 3305)
FossilOrigin-Name:
cf41f2a33f94c6c94fb39ae6ffcd58bbf9ea88c8
drh [Tue, 27 Jun 2006 11:14:13 +0000 (11:14 +0000)]
Move older news items
to the oldnews.html page. (CVS 3304)
FossilOrigin-Name:
80163ded7d7a8d6897b59df988286f987b221d08
danielk1977 [Tue, 27 Jun 2006 07:34:40 +0000 (07:34 +0000)]
In test code, always use sqlite3_free() instead of free() to free error messages returned by sqlite3_exec(). (CVS 3303)
FossilOrigin-Name:
6521ee5f320e47f8fbd7d6b23929fab431023483
drh [Tue, 27 Jun 2006 02:36:58 +0000 (02:36 +0000)]
Make sure that MATCH terms that a virtual table says should be omitted
really are omitted. (CVS 3302)
FossilOrigin-Name:
3e1f5567dfd306bdb97275a32afd02ea693eaf58
drh [Tue, 27 Jun 2006 02:33:40 +0000 (02:33 +0000)]
Cleanup and refactor parts of the optimizer. (CVS 3301)
FossilOrigin-Name:
6609c25fbfa5ad7f55c356936abb1721686c47ca
drh [Tue, 27 Jun 2006 01:54:26 +0000 (01:54 +0000)]
Cache and reuse virtual table index information in the optimizer.
Improved diagnostics for virtual table index selection. (CVS 3300)
FossilOrigin-Name:
28413cf2b3f0e6f294e1f3c59fcce135b65c294f
drh [Tue, 27 Jun 2006 00:14:27 +0000 (00:14 +0000)]
Export the sqlite3_bind_value API to loadable extensions. (CVS 3299)
FossilOrigin-Name:
1ca385bb39514cb73f506bfbbe38aabb6b70816c
drh [Mon, 26 Jun 2006 21:35:44 +0000 (21:35 +0000)]
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
drh [Mon, 26 Jun 2006 19:10:32 +0000 (19:10 +0000)]
Remove the sqlite3_module.zName field which was used only for debugging. (CVS 3297)
FossilOrigin-Name:
74a3961f39b9a045518835b20940471ac97bca66
drh [Mon, 26 Jun 2006 12:50:09 +0000 (12:50 +0000)]
Fix a file descriptor leak following malloc failure on DROP TABLE IF EXISTS. (CVS 3296)
FossilOrigin-Name:
6a63f76c8de977b628c4cab258be5a11d7d7def9
danielk1977 [Mon, 26 Jun 2006 11:17:50 +0000 (11:17 +0000)]
Fix trivial compiler warnings. (CVS 3295)
FossilOrigin-Name:
3538beace8ece6339fe8aaf40852ce5e5e7da283
drh [Mon, 26 Jun 2006 10:37:11 +0000 (10:37 +0000)]
Syntax documentation updates. (CVS 3294)
FossilOrigin-Name:
df601a7b374cb6ec21a2e91abf17af4fed404393
pweilbacher [Sat, 24 Jun 2006 12:38:59 +0000 (12:38 +0000)]
(OS/2) Armor OS/2 against accidental deletion of files, too (patch by Daniel Kruse, verified by me) (CVS 3293)
FossilOrigin-Name:
f357efb373b8631dbe4455530d060020b070bea2
danielk1977 [Sat, 24 Jun 2006 11:51:33 +0000 (11:51 +0000)]
A few more test cases to improve coverage of virtual table module related code. (CVS 3292)
FossilOrigin-Name:
255aa9121a2ef4fec7fa5523e52969acc96f4b40
danielk1977 [Sat, 24 Jun 2006 09:34:22 +0000 (09:34 +0000)]
Add tests to improve coverage of vtab.c. (CVS 3291)
FossilOrigin-Name:
0c5f4ee39cb76747cf01398867fed2c7ae3edc84
danielk1977 [Sat, 24 Jun 2006 08:51:05 +0000 (08:51 +0000)]
Ensure whitespace specified as part of a virtual table constructor argument is correctly passed to the constructor function. (CVS 3290)
FossilOrigin-Name:
4630e11d9a697a7fa29a0a1bbca91da4ad2bde7b
danielk1977 [Sat, 24 Jun 2006 06:36:11 +0000 (06:36 +0000)]
Clean up and clarify code in test8.c. (CVS 3289)
FossilOrigin-Name:
4acf7594a6c47142e7112d2cd9766a563401879b
danielk1977 [Fri, 23 Jun 2006 14:43:30 +0000 (14:43 +0000)]
Modify the test cases in tkt1444.test that were failing. I am convinced that the test cases were incorrect. (CVS 3288)
FossilOrigin-Name:
0534f6e15b84560124c3f1abd05f2967d10261c4
danielk1977 [Fri, 23 Jun 2006 14:32:08 +0000 (14:32 +0000)]
Allow xDestroy methods to execute "DROP TABLE" statements. (CVS 3287)
FossilOrigin-Name:
a56bfa560425a5dc9273229f8838471dfc402024
danielk1977 [Fri, 23 Jun 2006 11:34:54 +0000 (11:34 +0000)]
Fix some memory leaks that occur when malloc() fails. (CVS 3286)
FossilOrigin-Name:
b56cc035f2be5c1a3f63efbb4c181e405a140fbb
danielk1977 [Fri, 23 Jun 2006 08:05:19 +0000 (08:05 +0000)]
Add tests and fixes for handling malloc() failures related to the virtual table feature. (CVS 3285)
FossilOrigin-Name:
5d1d907189ff3ca7afada83033280cf258984ac0
danielk1977 [Thu, 22 Jun 2006 09:53:48 +0000 (09:53 +0000)]
Test the handling of errors in virtual table methods. (CVS 3284)
FossilOrigin-Name:
51b729d9d9f8a60cdfb552809e4aa10012f4eb68
drh [Wed, 21 Jun 2006 19:30:34 +0000 (19:30 +0000)]
Make the last_insert_rowid method in the TCL interface work with
64-bit rowids. (CVS 3283)
FossilOrigin-Name:
d50c37975de7639627422cbed40eb03a431874d5
danielk1977 [Wed, 21 Jun 2006 16:02:42 +0000 (16:02 +0000)]
Add the database name to the parameters passed to virtual table module xCreate and xConnect methods. (CVS 3282)
FossilOrigin-Name:
2d2805785f473afc202df532df84c45e6f0dc0f1
danielk1977 [Wed, 21 Jun 2006 13:21:50 +0000 (13:21 +0000)]
Add the table name to the arguments passed to the virtual table methods xCreate/xConnect. (CVS 3281)
FossilOrigin-Name:
7dc36d1c798aa8b30b88a528fc9e69b342f278c7
danielk1977 [Wed, 21 Jun 2006 12:36:25 +0000 (12:36 +0000)]
Add tests to make sure altering or adding an index to a virtual table is prohibited. (CVS 3280)
FossilOrigin-Name:
6c3e8852ffbaf5ab52ffdf7ed3767fa1d4fd5882
danielk1977 [Wed, 21 Jun 2006 07:34:11 +0000 (07:34 +0000)]
Test cases for accessing virtual tables when the corresponding module is undefined. (CVS 3279)
FossilOrigin-Name:
bcef48c54dd01cf089db16192e670cb0717988ac
danielk1977 [Wed, 21 Jun 2006 07:02:33 +0000 (07:02 +0000)]
Fix a problem with virtual tables and joins. (CVS 3278)
FossilOrigin-Name:
643e63e5883eec109a91a44dae62b58650646575
danielk1977 [Tue, 20 Jun 2006 13:07:27 +0000 (13:07 +0000)]
Fix some problems with virtual tables and joins in where.c. (CVS 3277)
FossilOrigin-Name:
3e19a7d8eabcd2fa71ced3f76c5f9bc1f3900b81
danielk1977 [Tue, 20 Jun 2006 11:01:07 +0000 (11:01 +0000)]
Modifications so that compilation and testing with the various OMIT macros defined works. (CVS 3276)
FossilOrigin-Name:
c6ea353bd9f5fe6c9cc3349d2034ada283f9c80e
drh [Tue, 20 Jun 2006 00:22:37 +0000 (00:22 +0000)]
Update the news column on the homepage. (CVS 3275)
FossilOrigin-Name:
24a94bb07589c04305eceec1dc9a1a9a2c39e2c5
danielk1977 [Mon, 19 Jun 2006 12:02:58 +0000 (12:02 +0000)]
Avoid returning MISUSE when sqlite is called recursively by an xBestIndex callback. (CVS 3274)
FossilOrigin-Name:
4339e1bf664c4287aabe0993a9c5a2b783019cb3
danielk1977 [Mon, 19 Jun 2006 06:32:23 +0000 (06:32 +0000)]
Add tests to ensure triggers cannot be created on virtual tables. (CVS 3273)
FossilOrigin-Name:
9470e27962d2fe9c0d1921d9aab7d8f0047ac1fd
danielk1977 [Mon, 19 Jun 2006 05:33:45 +0000 (05:33 +0000)]
Respect default collation sequences assigned to virtual table columns. (CVS 3272)
FossilOrigin-Name:
d9b205acac34ba9703bc35dfb101aedd95cb5a16
danielk1977 [Mon, 19 Jun 2006 04:49:34 +0000 (04:49 +0000)]
Fix memory leak in where.c. (CVS 3271)
FossilOrigin-Name:
3d10e8f36113a189aa19ecd99007cd0a926b2f8a
danielk1977 [Mon, 19 Jun 2006 03:05:10 +0000 (03:05 +0000)]
Add tests to ensure an INSERT/UPDATE/DELETE immediately after virtual table construction does not fail. (CVS 3270)
FossilOrigin-Name:
144d0eb13aed4507e93edec781b1819a068f4a70
drh [Sat, 17 Jun 2006 14:12:47 +0000 (14:12 +0000)]
Add the load_extension() SQL function. (CVS 3269)
FossilOrigin-Name:
e08e2ddafe909ae6073ec56dfa3fdca23e36bf2e
drh [Sat, 17 Jun 2006 13:21:32 +0000 (13:21 +0000)]
The default entry point for loadable extensions is now
always sqlite3_extension_init(). (CVS 3268)
FossilOrigin-Name:
059b1f61406ca60fdbd3ec59c5b15fadc6552564
danielk1977 [Sat, 17 Jun 2006 11:30:32 +0000 (11:30 +0000)]
Add newly created virtual tables to the current transaction. (CVS 3267)
FossilOrigin-Name:
ea7e4eca106cea27d5dc447d2afcd45448152151
drh [Sat, 17 Jun 2006 10:44:42 +0000 (10:44 +0000)]
Clear a compiler warning by adding a prototype to sqliteInt.h. (CVS 3266)
FossilOrigin-Name:
ca541ef3c464c5627596a48ee7f1ec40948cf65d
danielk1977 [Sat, 17 Jun 2006 09:39:55 +0000 (09:39 +0000)]
Add tests (and fixes) for the virtual table transaction interface. (CVS 3265)
FossilOrigin-Name:
8a5b121f2f26bebe3f1164bc2f504d29b74400f4
danielk1977 [Sat, 17 Jun 2006 06:31:18 +0000 (06:31 +0000)]
When updating a view, invoke the authorization callback for reading the view before setting the authorization-context to the view name. (CVS 3264)
FossilOrigin-Name:
48d297c561b8d3d670ab425115ef50d1901523b6
danielk1977 [Sat, 17 Jun 2006 03:27:21 +0000 (03:27 +0000)]
Fixes for UPDATE statements on virtual tables. (CVS 3263)
FossilOrigin-Name:
81c5a5b48b05186a1690198092ac92006d9f7020
drh [Fri, 16 Jun 2006 21:13:21 +0000 (21:13 +0000)]
Rework the way UPDATE works for virtual tables. (CVS 3262)
FossilOrigin-Name:
2119e7bf5577350e4e1236ea729568085620a826
danielk1977 [Fri, 16 Jun 2006 16:08:53 +0000 (16:08 +0000)]
Add code to invoke the virtual table transaction interface. Untested at this point. (CVS 3261)
FossilOrigin-Name:
6125140228e09cad2029a48e92aa0123d3daecfb
danielk1977 [Fri, 16 Jun 2006 08:01:02 +0000 (08:01 +0000)]
Add some tests (and fixes) for virtual tables and the authorization callback. Still more to come. (CVS 3260)
FossilOrigin-Name:
9497c66e5533ec143d0efda4a419e4bdf922ae8c
danielk1977 [Fri, 16 Jun 2006 06:17:47 +0000 (06:17 +0000)]
Arrange for sqlite3_last_insert_rowid() to work with virtual tables. (CVS 3259)
FossilOrigin-Name:
afa39a46320e9996a5478ea6e19eb4c2014327ac
danielk1977 [Thu, 15 Jun 2006 16:26:45 +0000 (16:26 +0000)]
Fix type in test_schema.c. (CVS 3258)
FossilOrigin-Name:
d65d83d38321258a7bb8c38f4b2657650b0f1033
danielk1977 [Thu, 15 Jun 2006 15:59:19 +0000 (15:59 +0000)]
Add test_schema.c, containing a module for viewing the database schema via a virtual table. (CVS 3257)
FossilOrigin-Name:
de8d32ac71a6e113e83b952813424cb3fb5a2e59
danielk1977 [Thu, 15 Jun 2006 15:38:41 +0000 (15:38 +0000)]
Add column_value, declare_vtab and create_module to the function table used by dynamic extensions. (CVS 3256)
FossilOrigin-Name:
25c475087892fea83bce9d140b46651793b85a86
drh [Thu, 15 Jun 2006 14:31:06 +0000 (14:31 +0000)]
Write database pages in sorted order to reduce file fragmentation.
This is an experimental change. It is not clear if it will help any.
It may well be removed in the future. (CVS 3255)
FossilOrigin-Name:
fe3e70a7275d68acb6fb8ea5d62bed3e9d8d2766
drh [Thu, 15 Jun 2006 13:22:22 +0000 (13:22 +0000)]
Asserts added that verify that the code works correctly
that ticket #1849 claims is wrong. (CVS 3254)
FossilOrigin-Name:
d145dc1c4bce403ec967bfd0024002d4de57f833
danielk1977 [Thu, 15 Jun 2006 10:41:15 +0000 (10:41 +0000)]
Add tests (and modify test code) for writing to virtual tables. (CVS 3253)
FossilOrigin-Name:
6380a9b118cf972c3c7d4886ecdb62c44f2208ca
danielk1977 [Thu, 15 Jun 2006 07:29:00 +0000 (07:29 +0000)]
Simple tests and fixes for writing to virtual tables. (CVS 3252)
FossilOrigin-Name:
88fa510e4c684513bbb59031d034fdb5c51a6a15
danielk1977 [Thu, 15 Jun 2006 04:28:13 +0000 (04:28 +0000)]
Add void* argument to sqlite3_create_module to replace sqlite3_module.pAux. (CVS 3251)
FossilOrigin-Name:
470a3a0b20775be1226fb4d477c798d8da2d5708
drh [Wed, 14 Jun 2006 23:43:31 +0000 (23:43 +0000)]
Changes to test8.c to support UPDATE operations on xUpdate. (CVS 3250)
FossilOrigin-Name:
9e96511f83476e489fa62a05241393a851cbac5c
drh [Wed, 14 Jun 2006 22:07:10 +0000 (22:07 +0000)]
Bug fixes in the MATCH and ORDER BY processing of virtual tables. (CVS 3249)
FossilOrigin-Name:
c996185a9e0671e46bed06e5803b1ca3b42d61e2
drh [Wed, 14 Jun 2006 19:00:20 +0000 (19:00 +0000)]
Added code to INSERT, DELETE and UPDATE virtual tables. The new code is
mostly untested. (CVS 3248)
FossilOrigin-Name:
32c97b884b104d120db3c0a87f5eab28f36851f8
drh [Wed, 14 Jun 2006 15:35:36 +0000 (15:35 +0000)]
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
danielk1977 [Wed, 14 Jun 2006 15:16:35 +0000 (15:16 +0000)]
Add xUpdate method to the echo test module. Currently untested. (CVS 3246)
FossilOrigin-Name:
676de55b28f0b22cf78f5e71f4a960f3d76c2d72
danielk1977 [Wed, 14 Jun 2006 15:14:50 +0000 (15:14 +0000)]
Fix segfault introduced in (3243). (CVS 3245)
FossilOrigin-Name:
e5fff87d004ccf0cf8ba1f6afa032f31144527d9
drh [Wed, 14 Jun 2006 15:03:49 +0000 (15:03 +0000)]
Fix a C++-ism in lempar.c. Ticket #1848. (CVS 3244)
FossilOrigin-Name:
a0a3b34db86ef1c31d172ca1b56afd26d18e429f
danielk1977 [Wed, 14 Jun 2006 13:03:24 +0000 (13:03 +0000)]
Add the opcode OP_VUpdate and replace the xInsert/xDelete members of sqlite3_module with xUpdate. (CVS 3243)
FossilOrigin-Name:
15ba5cbf07da46319897e9a2519a6dba3b142103
danielk1977 [Wed, 14 Jun 2006 13:03:23 +0000 (13:03 +0000)]
Add the opcode OP_VUpdate and replace the xInsert/xDelete members of sqlite3_module with xUpdate. (CVS 3242)
FossilOrigin-Name:
418f3ca84abf0d0876d2c4430f7f6ceaa9c0a17b
danielk1977 [Wed, 14 Jun 2006 10:55:52 +0000 (10:55 +0000)]
Add code to test8.c to check that the correct idxNum value is passed to the xFilter method. (CVS 3241)
FossilOrigin-Name:
77bcaf99b3aba0f482e0504a5409c8f79cc441b4
danielk1977 [Wed, 14 Jun 2006 10:47:03 +0000 (10:47 +0000)]
Fix typo in test8.c. (CVS 3240)
FossilOrigin-Name:
75be7d4988a3618ea9e3c1b65d5c05380ec7d25d
danielk1977 [Wed, 14 Jun 2006 10:38:02 +0000 (10:38 +0000)]
Add some tests for sqlite3_load_extension(). (CVS 3239)
FossilOrigin-Name:
402a77c43d4e4dcd2e1197cfaaa2ed51249a1b8f
danielk1977 [Wed, 14 Jun 2006 08:48:25 +0000 (08:48 +0000)]
Add tests for the new MATCH operator. (CVS 3238)
FossilOrigin-Name:
b4024c394d25e5a0abdb07be779ae41581834c42
danielk1977 [Wed, 14 Jun 2006 07:41:31 +0000 (07:41 +0000)]
Add a test case for ORDER BY using the echo module. (CVS 3237)
FossilOrigin-Name:
f459f034f659a4c418aa1bc72135cc93d04565df