Commit Graph

3231 Commits

Author SHA1 Message Date
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
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