Commit Graph

83 Commits

Author SHA1 Message Date
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 212b218c88 Allow xDestroy methods to execute "DROP TABLE" statements. (CVS 3287)
FossilOrigin-Name: a56bfa560425a5dc9273229f8838471dfc402024
2006-06-23 14:32:08 +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 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
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
danielk1977 e7ff403ab1 Add newly created virtual tables to the current transaction. (CVS 3267)
FossilOrigin-Name: ea7e4eca106cea27d5dc447d2afcd45448152151
2006-06-17 11:30:32 +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 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 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
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 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 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
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
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