drh
4ca8aac2b4
Add pzErr parameters to the xConnect and xCreate methods of virtual tables
...
in order to provide better error reporting. This is an interface change
for virtual tables. Prior virtual table implementations will need to be
modified and recompiled. (CVS 3402)
FossilOrigin-Name: f44b8bae97b6872524580009c96d07391578c388
2006-09-10 17:31:58 +00:00
drh
e94b0c3920
Add tests and minor fixes to the xFindFunction method of virtual tables. (CVS 3323)
...
FossilOrigin-Name: 3c4233e074cb016e2422b2e8f867c99217e9b10e
2006-07-08 18:09:15 +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
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
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
cc013f891c
Clean up and clarify code in test8.c. (CVS 3289)
...
FossilOrigin-Name: 4acf7594a6c47142e7112d2cd9766a563401879b
2006-06-24 06:36:11 +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
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
fbbe005a59
Fix a problem with virtual tables and joins. (CVS 3278)
...
FossilOrigin-Name: 643e63e5883eec109a91a44dae62b58650646575
2006-06-21 07:02:33 +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
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
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
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
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
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
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
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
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
danielk1977
be8a7835ea
Add the tentative sqlite3_allocate_queryplan() API. (CVS 3228)
...
FossilOrigin-Name: 7a3e97f76b1f4f97a04f7c5a9daa400402b2ff25
2006-06-13 15:00:54 +00:00
danielk1977
5fac9f86eb
Add simple tests for the xFilter and xBestIndex methods. (CVS 3227)
...
FossilOrigin-Name: 0f4657ea69314e49bc7c9faf9a653ef072f5082d
2006-06-13 14:16:58 +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
danielk1977
7dabaa126a
Bugfixes: Fix a segfault introduced as part of the new vtab code, deallocate memory in the Destroy() method of the echo module. (CVS 3221)
...
FossilOrigin-Name: f9ea9704755eee3fd29af7a47be1d41620be8835
2006-06-13 04:11:43 +00:00
drh
a967e88645
Progress toward getting the virtual-table code generator to work. (CVS 3220)
...
FossilOrigin-Name: 3532f1340f939b0231c1d82a7b2d186cb096fb29
2006-06-13 01:04:52 +00:00
drh
a75803d968
Fixes so that builds work with SQLITE_OMIT_VIRTUALTABLE=1. (CVS 3216)
...
FossilOrigin-Name: 54b30fe1bdf0c9e690e12f07dcce4382e863bf02
2006-06-12 12:50:23 +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