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
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
danielk1977
c69cdfd4ec
Add tests (and fixes) for the virtual table transaction interface. (CVS 3265)
...
FossilOrigin-Name: 8a5b121f2f26bebe3f1164bc2f504d29b74400f4
2006-06-17 09:39:55 +00:00
danielk1977
4273deaec1
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
2006-06-17 06:31:18 +00:00
danielk1977
2867fef244
Fixes for UPDATE statements on virtual tables. (CVS 3263)
...
FossilOrigin-Name: 81c5a5b48b05186a1690198092ac92006d9f7020
2006-06-17 03:27:21 +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
1f6eec547c
Arrange for sqlite3_last_insert_rowid() to work with virtual tables. (CVS 3259)
...
FossilOrigin-Name: afa39a46320e9996a5478ea6e19eb4c2014327ac
2006-06-16 06:17:47 +00:00
danielk1977
dbf5a848c6
Fix type in test_schema.c. (CVS 3258)
...
FossilOrigin-Name: d65d83d38321258a7bb8c38f4b2657650b0f1033
2006-06-15 16:26:45 +00:00
danielk1977
954ce99c62
Add test_schema.c, containing a module for viewing the database schema via a virtual table. (CVS 3257)
...
FossilOrigin-Name: de8d32ac71a6e113e83b952813424cb3fb5a2e59
2006-06-15 15:59:19 +00:00
danielk1977
d6e8dd00ac
Add column_value, declare_vtab and create_module to the function table used by dynamic extensions. (CVS 3256)
...
FossilOrigin-Name: 25c475087892fea83bce9d140b46651793b85a86
2006-06-15 15:38:41 +00:00
drh
dc3e10b9c9
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
2006-06-15 14:31:06 +00:00
drh
bdd88bd9f8
Asserts added that verify that the code works correctly
...
that ticket #1849 claims is wrong. (CVS 3254)
FossilOrigin-Name: d145dc1c4bce403ec967bfd0024002d4de57f833
2006-06-15 13:22:22 +00:00
danielk1977
176f4d23c1
Add tests (and modify test code) for writing to virtual tables. (CVS 3253)
...
FossilOrigin-Name: 6380a9b118cf972c3c7d4886ecdb62c44f2208ca
2006-06-15 10:41:15 +00:00
danielk1977
c7d5410126
Simple tests and fixes for writing to virtual tables. (CVS 3252)
...
FossilOrigin-Name: 88fa510e4c684513bbb59031d034fdb5c51a6a15
2006-06-15 07:29:00 +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
5aec042e27
Changes to test8.c to support UPDATE operations on xUpdate. (CVS 3250)
...
FossilOrigin-Name: 9e96511f83476e489fa62a05241393a851cbac5c
2006-06-14 23:43:31 +00:00
drh
1a90e099f4
Bug fixes in the MATCH and ORDER BY processing of virtual tables. (CVS 3249)
...
FossilOrigin-Name: c996185a9e0671e46bed06e5803b1ca3b42d61e2
2006-06-14 22:07:10 +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
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
danielk1977
26e4144d64
Add xUpdate method to the echo test module. Currently untested. (CVS 3246)
...
FossilOrigin-Name: 676de55b28f0b22cf78f5e71f4a960f3d76c2d72
2006-06-14 15:16:35 +00:00
danielk1977
03a37ca4ff
Fix segfault introduced in (3243). (CVS 3245)
...
FossilOrigin-Name: e5fff87d004ccf0cf8ba1f6afa032f31144527d9
2006-06-14 15:14:50 +00:00
drh
4767d978de
Fix a C++-ism in lempar.c. Ticket #1848 . (CVS 3244)
...
FossilOrigin-Name: a0a3b34db86ef1c31d172ca1b56afd26d18e429f
2006-06-14 15:03:49 +00:00
danielk1977
25d6e7859f
Add the opcode OP_VUpdate and replace the xInsert/xDelete members of sqlite3_module with xUpdate. (CVS 3243)
...
FossilOrigin-Name: 15ba5cbf07da46319897e9a2519a6dba3b142103
2006-06-14 13:03:24 +00:00
danielk1977
399918f271
Add the opcode OP_VUpdate and replace the xInsert/xDelete members of sqlite3_module with xUpdate. (CVS 3242)
...
FossilOrigin-Name: 418f3ca84abf0d0876d2c4430f7f6ceaa9c0a17b
2006-06-14 13:03:23 +00:00
danielk1977
98331538bf
Add code to test8.c to check that the correct idxNum value is passed to the xFilter method. (CVS 3241)
...
FossilOrigin-Name: 77bcaf99b3aba0f482e0504a5409c8f79cc441b4
2006-06-14 10:55:52 +00:00
danielk1977
a8ed652f8f
Fix typo in test8.c. (CVS 3240)
...
FossilOrigin-Name: 75be7d4988a3618ea9e3c1b65d5c05380ec7d25d
2006-06-14 10:47:03 +00:00
danielk1977
69e777f330
Add some tests for sqlite3_load_extension(). (CVS 3239)
...
FossilOrigin-Name: 402a77c43d4e4dcd2e1197cfaaa2ed51249a1b8f
2006-06-14 10:38:02 +00:00
danielk1977
619a3693a2
Add tests for the new MATCH operator. (CVS 3238)
...
FossilOrigin-Name: b4024c394d25e5a0abdb07be779ae41581834c42
2006-06-14 08:48:25 +00:00
danielk1977
47d0809401
Add a test case for ORDER BY using the echo module. (CVS 3237)
...
FossilOrigin-Name: f459f034f659a4c418aa1bc72135cc93d04565df
2006-06-14 07:41:31 +00:00
danielk1977
9da9d471f5
Change the pModule parameter of the xCreate and xConnect methods to a void*. (CVS 3236)
...
FossilOrigin-Name: 3ffa51b50a7831ef359bc40acf605decc922c498
2006-06-14 06:58:15 +00:00
danielk1977
a4e763671d
Add tests for error conditions surrounding the creation/connection of virtual tables. (CVS 3235)
...
FossilOrigin-Name: 5e592c422b86deb5802c6536e91661717ee9bbe1
2006-06-14 06:31:28 +00:00
drh
4be8b51ee1
The echo module test is now running. Added the tclvar module test but have
...
not yet done anything with it. (CVS 3234)
FossilOrigin-Name: 29199eeea4c46168ccaa7535d4941bd740479dee
2006-06-13 23:51:34 +00:00
drh
88897a72e9
The (unsupported) soundex() function returns '?000' when given a NULL.
...
Ticket #1845 . (CVS 3233)
FossilOrigin-Name: 9372481f233e1563b5ee137535f0fbf19851ffad
2006-06-13 19:26:10 +00:00