Commit Graph

3410 Commits

Author SHA1 Message Date
drh
6a03a1c5f7 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
2006-07-08 18:34:59 +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
4144905b53 Make the sqlite3_enable_load_extension() interface accessible from the
TCL bindings. (CVS 3321)

FossilOrigin-Name: ce96b890bbf2f2b9686e19bbb1111a70f6404cb5
2006-07-06 17:08:48 +00:00
drh
3086765b6f Change sqlite3_busy_timeout so that it checks for an invalid database
pointer. (CVS 3320)

FossilOrigin-Name: 225a9597b21bde7666451fc2eb7695dc35c438bb
2006-07-06 10:59:57 +00:00
drh
72c4d3e7ed Fix spelling of Perl on the homepage. (CVS 3319)
FossilOrigin-Name: 255c5a99468c47fed0aaffeeeb28d5af9a99ee11
2006-07-02 10:21:35 +00:00
drh
3765df48c3 Changes to get tests to pass with OMIT_VIRTUALTABLE. Ticket #1877. (CVS 3318)
FossilOrigin-Name: 60616496b7d97fdda99262e2bab25e625151e857
2006-06-28 18:18:09 +00:00
drh
2cc55698cd Better handling of NULL column names. (CVS 3317)
FossilOrigin-Name: 9f13972b93a3cac95b4319d3e75343e02a30a38f
2006-06-27 20:39:04 +00:00
drh
f9cb7f58a7 Move the sqlite3_sleep() and sqlite3_clear_bindings() interfaces into the
main library and make this official. (CVS 3316)

FossilOrigin-Name: eb3442c44ef1dbf8895195bb08fbeeea315b44c1
2006-06-27 20:06:44 +00:00
drh
0c07fb9aa1 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
2006-06-27 20:05:23 +00:00
drh
94f63ab842 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
2006-06-27 18:55:09 +00:00
drh
35364b2b9e When compiling extensions in the load_extension tests, specify a path
for finding include files. (CVS 3313)

FossilOrigin-Name: aee4b669944ccf3888daa9d9e54f16261c64f380
2006-06-27 18:38:51 +00:00
danielk1977
2372c2b165 Prevent databases from being DETACHed while they are in use. Fix for #1873. (CVS 3312)
FossilOrigin-Name: 70a48b250bab99c5d9b4ad17c471663b8628e8d2
2006-06-27 16:34:56 +00:00
drh
c2e87a3e85 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
2006-06-27 15:16:14 +00:00
drh
69dab1d33f Changes to build successfully with -DSQLITE_OMIT_LOAD_EXTENSION=1 (CVS 3310)
FossilOrigin-Name: 783369e870df9d189fc75c98fa574fe4fc9843d0
2006-06-27 14:37:20 +00:00
drh
edb193b766 Changes so that it will build with SQLITE_OMIT_VIRTUALTABLE=1. (CVS 3309)
FossilOrigin-Name: 5612b287059c75488f995625d447c4e9521d1637
2006-06-27 13:20:21 +00:00
drh
ff91c45404 All tests pass even if compiled with -DSQLITE_DEFAULT_FILE_FORMAT=1. (CVS 3308)
FossilOrigin-Name: 8a49311d2f50cf2ca24776cabcb8ec7418325cb1
2006-06-27 12:51:12 +00:00
danielk1977
169f8a0c7a Fix up the test tclvar virtual module. (CVS 3307)
FossilOrigin-Name: a20bfa46316b9d8f884f147960620fc8e56a7c7f
2006-06-27 12:24:59 +00:00
drh
baaa7f409d Additional documentation on the 3.3.0 file format change added to
formatchng.html. (CVS 3306)

FossilOrigin-Name: 955551ca2e66a1f21dae21aa0265906887d7138d
2006-06-27 12:24:13 +00:00
danielk1977
3851a65e3a Fix bug in transfer of arguments from WHERE clause to virtual table xFilter() methods. (CVS 3305)
FossilOrigin-Name: cf41f2a33f94c6c94fb39ae6ffcd58bbf9ea88c8
2006-06-27 12:16:56 +00:00
drh
ac743e292d Move older news items
to the oldnews.html page. (CVS 3304)

FossilOrigin-Name: 80163ded7d7a8d6897b59df988286f987b221d08
2006-06-27 11:14:13 +00:00
danielk1977
926aab2274 In test code, always use sqlite3_free() instead of free() to free error messages returned by sqlite3_exec(). (CVS 3303)
FossilOrigin-Name: 6521ee5f320e47f8fbd7d6b23929fab431023483
2006-06-27 07:34:40 +00:00
drh
d2ca60d776 Make sure that MATCH terms that a virtual table says should be omitted
really are omitted. (CVS 3302)

FossilOrigin-Name: 3e1f5567dfd306bdb97275a32afd02ea693eaf58
2006-06-27 02:36:58 +00:00
drh
9861a9f065 Cleanup and refactor parts of the optimizer. (CVS 3301)
FossilOrigin-Name: 6609c25fbfa5ad7f55c356936abb1721686c47ca
2006-06-27 02:33:40 +00:00
drh
6d209d8b0d Cache and reuse virtual table index information in the optimizer.
Improved diagnostics for virtual table index selection. (CVS 3300)

FossilOrigin-Name: 28413cf2b3f0e6f294e1f3c59fcce135b65c294f
2006-06-27 01:54:26 +00:00
drh
c1be632489 Export the sqlite3_bind_value API to loadable extensions. (CVS 3299)
FossilOrigin-Name: 1ca385bb39514cb73f506bfbbe38aabb6b70816c
2006-06-27 00:14:27 +00:00
drh
28dd479c48 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
2006-06-26 21:35:44 +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
drh
344a627661 Fix a file descriptor leak following malloc failure on DROP TABLE IF EXISTS. (CVS 3296)
FossilOrigin-Name: 6a63f76c8de977b628c4cab258be5a11d7d7def9
2006-06-26 12:50:09 +00:00
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
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
drh
7f3759015a The optimizer recognizes MATCH operators and allows virtual-tables to make
use of them. (CVS 3232)

FossilOrigin-Name: 136bed496b89943522310ec511199b78198d0844
2006-06-13 17:38:59 +00:00
drh
03bea70cd8 Add support for the MATCH operator. (CVS 3231)
FossilOrigin-Name: 815b84d5273b42978edcee0d4afe7f91a7933f4e
2006-06-13 15:37:26 +00:00
drh
5dc1aaa9d1 Get the code to compile with -DSQLITE_OMIT_VIRTUALTABLE=1 (CVS 3230)
FossilOrigin-Name: ea4bc5a0be6cfc81ef1e9405f396c43205fe9cd8
2006-06-13 15:36:06 +00:00
drh
70df4fe6c2 Improved comments and documentation of sqlite3_load_extension(). (CVS 3229)
FossilOrigin-Name: 0bcec95963603270ee053c83b1f6960b2029d378
2006-06-13 15:12:21 +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
drh
954f6b4763 Lemon correctly recognizes an empty grammar and errors out.
Fix for a bug reported on the sqlite-users mailing list. (CVS 3226)

FossilOrigin-Name: 55392922686691db3d41525a7f4cb7f976e73467
2006-06-13 13:27:46 +00:00
drh
e7d46464d1 Free error message string in the quick start example. (CVS 3225)
FossilOrigin-Name: 1273261ba7a21062217e7fbc3447b5dadf53010f
2006-06-13 11:27:21 +00:00
drh
d9f291ea95 Minor changes to lempar.c to reduce warnings on some compilers. (CVS 3224)
FossilOrigin-Name: dae71de10d0f34a001b8070266d4016baafa6623
2006-06-13 11:15:47 +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
48d4580650 Bugfixes: Fix a segfault introduced as part of the new vtab code, deallocate memory in the Destroy() method of the echo module. (CVS 3222)
FossilOrigin-Name: 00f3c249bc79556d0cb3999f543887bd4f160347
2006-06-13 04:11:43 +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
9eff616750 Added code to iterate through virtual tables. All regression tests pass
but the new code is completely untested. (CVS 3219)

FossilOrigin-Name: 010965433140fbe508a907d861dbad79343bf7c2
2006-06-12 21:59:13 +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
cdb36b7dc9 Patches to get things working better for OS2. Ticket #1836. (CVS 3217)
FossilOrigin-Name: 65c6e5e117b9194015e382b1ad9bb9c88704eeb7
2006-06-12 12:57:45 +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
drh
4eb35bfc61 Get builds working again when extension loading is not enabled. Ticket #1839. (CVS 3215)
FossilOrigin-Name: 89ead80129ec934d2cb5f2447598a7253172f704
2006-06-12 12:46:21 +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
drh
e09daa90ac Basic parsing of CREATE VIRTUAL TABLE statements. (CVS 3210)
FossilOrigin-Name: 66370cb99bd93abb33e1e8433672da45e1795f78
2006-06-10 13:29:31 +00:00
drh
a543c82d75 In the shell, make sure the database is opened before trying to do
an ".import".  Bug reported on the mailing list. (CVS 3209)

FossilOrigin-Name: 39e3427813135601a7417c96e55b410fa89ac1f5
2006-06-08 16:10:14 +00:00
drh
f1952c5d27 Unload shared libraries when a database connection closes. (CVS 3208)
FossilOrigin-Name: 327e6909c9d35b651ab6f3a1a270022b354538c6
2006-06-08 15:48:00 +00:00
drh
1e397f8fb4 New shell command ".load" and the sqlite3_load_extension() API allow
new SQL functions and collating sequences to be loaded at run-time from
a DLL or shared library. (CVS 3207)

FossilOrigin-Name: 4ca932d3ae9bb97b819b5baf6fd3e1cebda9e0e2
2006-06-08 15:28:43 +00:00
drh
2705912804 Version 3.3.6 (CVS 3206)
FossilOrigin-Name: c11cb07e4b3f0b815a7099c8d201b3473869cba2
2006-06-06 13:34:16 +00:00
drh
600e201757 Changes in preparation for version 3.3.6. (CVS 3205)
FossilOrigin-Name: b2e11e02902d6fa8fc2fb95cda4810e837d6861e
2006-06-06 12:38:50 +00:00
drh
151e3e1a70 Command "sqlite3 -version" returns 0 instead of 1. Ticket #1771. (CVS 3204)
FossilOrigin-Name: fd0fae4835a7d16b0186827b756c44bc984b42dc
2006-06-06 12:32:21 +00:00
drh
df26fd5edd In joins of the form "A left B, C" make sure they are not transformed into
"A left C, B".  Ticket #1830.  See also #1652. (CVS 3203)

FossilOrigin-Name: 2baa983653796e16d36739e37b0be1672bf59a92
2006-06-06 11:45:54 +00:00
drh
59e63a6b30 Add comments to the changes of check-in (3200). (CVS 3202)
FossilOrigin-Name: 697498d4e86a42d7063417a9549ad04aaf4db31c
2006-06-04 23:31:48 +00:00
drh
2871bd0cab Fix a windows portability problem in trans.test. (CVS 3201)
FossilOrigin-Name: f2538dfdb608b7f849bfc5fac0ec9d0d8dece4c7
2006-06-04 23:20:10 +00:00
drh
eb4fa52a45 Changes to help SQLite cope with virus scanners and other programs that
open journal files for reading and thus prevent SQLite from deleting
them in order to commit a transaction. (CVS 3200)

FossilOrigin-Name: f32dbe47ffd1e7e5695f02bf4263d80bea177ffb
2006-06-04 23:02:20 +00:00
drh
f52fd0bc11 Remove unused variables from vdbe.c. (CVS 3199)
FossilOrigin-Name: d54750aefba0accd66f928e55ae52fe074f2b8da
2006-06-03 18:04:17 +00:00
drh
60a1e4b6ce Added support for OS/2. Ticket #1817 (CVS 3198)
FossilOrigin-Name: 373246c2d1edaec1ce248ff875db48ce51d896f9
2006-06-03 18:02:15 +00:00
drh
eb741d5dd2 Do not record blank lines in the command-line editing history of the shell. (CVS 3197)
FossilOrigin-Name: 0eabda82cd0d476a7e05ba4b027b819318aef9c3
2006-06-03 17:37:25 +00:00
drh
94d57e3924 The windows driver always allows other processes to write the database file
even if it only has read permission on the file.  This is an experimental
checkin - we still have not determined that this change is safe.  Ticket #1803. (CVS 3196)

FossilOrigin-Name: 4bf03c3bbc1303ed9b4059917e8d6a613b1510f3
2006-06-02 12:40:08 +00:00
drh
09b172fa31 Fix typo in lang_analyze.html. (CVS 3195)
FossilOrigin-Name: fba8ce8c383fa8e66bc2dd5a354f411ad2b83c6d
2006-05-31 11:12:01 +00:00
drh
c55cd6ad9a Clarify the operation of sqlite3_last_insert_rowid() in the documentation. (CVS 3194)
FossilOrigin-Name: 9e0b83b81f13277b9da877bdd96c544ec66533f0
2006-05-27 11:15:47 +00:00
drh
f8888bb22a Allow SQL statements to be executed from within a progress callback.
Be warned, however, that the progress callback might be called
recursively in this case.  It is up to the program to disable the
progress callback to prevent recursive invocations.
Ticket #1827. (CVS 3193)

FossilOrigin-Name: ffc4730c05ea64b8c32f64b323db9b96b26bcb88
2006-05-26 19:57:19 +00:00
drh
86dac2b6be Syntax errors override errors from the code generator, not the other
way around. (CVS 3192)

FossilOrigin-Name: 5031ffc665782e7b300c498fb8be168443505add
2006-05-25 12:17:31 +00:00
drh
ea063f5bb1 Handle NULL database names in ATTACH and DETACH as if they were empty
strings.  Ticket #1825. (CVS 3191)

FossilOrigin-Name: 79a818bb05bc95c4c83375a679955dd18659b2b8
2006-05-25 11:52:37 +00:00
drh
f012ea3b00 When opening a new connection on a shared cache, be careful not to
overwrite the encoding flag on the shared cache.  Ticket #1824. (CVS 3190)

FossilOrigin-Name: c8e5ceedee087098c04e3b6b8b82710de0563e77
2006-05-24 12:43:26 +00:00
drh
9c0cb0e893 Additional tests for ticket #1821. (CVS 3189)
FossilOrigin-Name: b93e3fb02aeff7fe6cae56c3a45c43ffdb2f030b
2006-05-23 23:25:09 +00:00
drh
8159a35f46 Fix type coercion rules for the IN operator. Ticket #1821. (CVS 3188)
FossilOrigin-Name: 6e5a49762166a942e1b2c3beae8a30c07187eb10
2006-05-23 23:22:29 +00:00
drh
c44135657c If an sqlite3_mprintf() call uses a disallowed internal-use-only conversion
character, then abort the call with a -1 error code.  Ticket #1818. (CVS 3187)

FossilOrigin-Name: 9d7297b9ef6ca2f35116e37f993bb029cf03d4f0
2006-05-22 22:04:00 +00:00
drh
db5138885b Adjust the default weights on indices so that an index that matches more
terms of the where clause wins (by default) over one that matches fewer.
Ticket #1808. (CVS 3186)

FossilOrigin-Name: 249b579f83b2922e3e03037186a9402af951e6d1
2006-05-11 23:14:59 +00:00
drh
2886cc0783 Fix documentation typo: The name of the competing database engine is
"Firebird", not "Firefox". (CVS 3185)

FossilOrigin-Name: 8be6a39d7108839b0fb298a2d536d68ebca86d66
2006-05-11 13:33:14 +00:00
drh
ffe0f8901e Correctly handle multi-column indices where multiple columns are constrained
by IN operators with subqueries on the right-hand side.  Ticket #1807. (CVS 3184)

FossilOrigin-Name: b16541ba5e6a9514f9f317888117c68b6818f9cb
2006-05-11 13:26:25 +00:00
drh
c806d8570e Fix comments on the implementation of the SUM() function. (CVS 3183)
FossilOrigin-Name: a8909f3e5fc67ac1ba7d1abd7fb0f4004fec5984
2006-05-11 13:25:39 +00:00
drh
c1f4494e65 Out-of-memory checks added to tclsqlite.c and shell.c. Tickets #1805 and #1806. (CVS 3182)
FossilOrigin-Name: 364031d6e512b992a7147bbc8e046c20c0c5335a
2006-05-10 14:39:13 +00:00
drh
f3a5888dde Fix error processing in Lemon. SQLite does not use this feature of lemon
so it is uneffected. (CVS 3181)

FossilOrigin-Name: 864cac960390a31c240d34ffd62bb084ab780267
2006-05-08 15:14:19 +00:00
drh
8ca0c724b5 Automatically increase the size of the pager hash table as the number
of in-memory pages increases.  Tickets #1790 and #1799. (CVS 3180)

FossilOrigin-Name: ef8e9886f40c8528604264308f5e4734ae6706c5
2006-05-07 17:49:38 +00:00
drh
a28ca908e3 Fix a typo on a webpage. Ticket #1792. (CVS 3179)
FossilOrigin-Name: 2702205277f45aadd2f07d51f71af4efd266228f
2006-05-03 23:39:36 +00:00
drh
605ad8fb69 Faster :memory: database COMMITs. Ticket #1790. (CVS 3178)
FossilOrigin-Name: 8f820e435272c0a4861421508c7e6f2979c2750f
2006-05-03 23:34:05 +00:00
drh
f42bacc2f1 Get LIMIT 0 working on subqueries. Ticket #1784. (CVS 3177)
FossilOrigin-Name: 7f3ef7ddba22d69a23e656836ba76738c9652b4d
2006-04-26 17:39:34 +00:00
drh
e2b3909d63 Additional information about index sorting in EXPLAIN QUERY PLAN. (CVS 3176)
FossilOrigin-Name: 39dd969527a107b2a6bb94dfc35d93850917faa8
2006-04-21 09:38:36 +00:00
drh
cdc35e9343 Remove a superfluous call to access() in the unix driver. Error spotted
by Coverity. (CVS 3175)

FossilOrigin-Name: 4f195aa1ebef5129e6f912e78b3d5f97b393a06c
2006-04-19 01:24:53 +00:00
drh
a49b8611b9 Allocate enough memory for the worst-case UTF-16 to UTF-8 conversion.
Ticket #1773. (CVS 3174)

FossilOrigin-Name: 2a0120c0f06d17185ede773729d97c93f90923ff
2006-04-16 12:05:03 +00:00
drh
18e87cff0a Allow constant terms in the ORDER BY or GROUP BY clauses. Ticket #1768. (CVS 3173)
FossilOrigin-Name: d83e0230c0c4909cb035e266beffc0967526d9c1
2006-04-11 14:16:21 +00:00
drh
a06ab2ca23 Follow-up to check-in (3164). Make sure SQLITE_NOMEM is returned after
a memory allocation failure.  It is not sufficent to return an "out of memory"
error message.  The return code needs to be SQLITE_NOMEM. (CVS 3172)

FossilOrigin-Name: 9d95750e8556aef20a637a815652d547ed2f887c
2006-04-10 13:37:47 +00:00
drh
15abd02897 Variable declarations should come before code. Ticket #1763. (CVS 3171)
FossilOrigin-Name: 9682f84401f7e21630246e1c37351425b78b7afa
2006-04-08 19:14:53 +00:00
drh
f07e7d502e Reorder code so that it compiles with SQLITE_OMIT_MEMORYDB. Ticket #1754. (CVS 3170)
FossilOrigin-Name: 1929e37d5e691f9d2bec01deb7bdbbbb6f5ace01
2006-04-07 13:54:46 +00:00
drh
30bcf5dbaf Return the correct declared column type, origin column name, origin database
name, etc. from aggregate queries.  Ticket #1726 and #1755. (CVS 3169)

FossilOrigin-Name: e64809f0ae98ce9d152cf030cae72bf3df3e2403
2006-04-07 13:50:37 +00:00
drh
502b962b2d Avoid the use of atof(). Ticket #1756. (CVS 3168)
FossilOrigin-Name: 76aef93c3e113b0077f534a437a339be2b15ca3d
2006-04-07 13:26:42 +00:00
drh
c65ff65f55 Version 3.3.5 (CVS 3167)
FossilOrigin-Name: a091a61d8832ad3454231f480ec605101bb9363a
2006-04-05 13:16:48 +00:00
drh
bdb754bd12 Fix typos in the previous check-in. (CVS 3166)
FossilOrigin-Name: 119ec402281c142359cfe5ccf1416bf69eed103f
2006-04-05 12:50:08 +00:00
drh
9100726972 Preparing for the release of version 3.3.5. (CVS 3165)
FossilOrigin-Name: 159fb92bd5290098986709f5d9ff8183e9059d53
2006-04-05 12:15:11 +00:00
drh
6103fe972e Make sure SQLITE_NOMEM is reported out on a malloc failure in an ATTACH
even if the malloc failure reports within a nested calls to sqlite3_prepare(). (CVS 3164)

FossilOrigin-Name: 3538a4e30fb5131b461bb0cf72cada63e9724e14
2006-04-05 11:57:37 +00:00
drh
9d578358ee Add documentation on new sqlite_authorizer callback types. Ticket #1744. (CVS 3163)
FossilOrigin-Name: fdbff3f145296d5dcba8987c25629e27353e2ab0
2006-04-05 01:08:35 +00:00
drh
401361b8b6 Documentation typos. Tickets #1749 and #1750. (CVS 3162)
FossilOrigin-Name: 51b35ace203a33f6f04f1139ca8ab652c5c76f9a
2006-04-05 01:02:08 +00:00
drh
9b8f447b36 Changes to get SQLite running on machines that use the EBCDIC character set. (CVS 3161)
FossilOrigin-Name: 4342b4997199241cafd6120c6abda665770e270c
2006-04-04 01:54:55 +00:00
drh
a5cc357747 Do not strip windows DLLs because this prevents them from being relocatable.
Ticket #1474. (CVS 3160)

FossilOrigin-Name: 94054cd997a67541547cf593bfbba7da4f9e31ce
2006-04-02 11:57:12 +00:00
drh
41b070ed8b Remove mention of the REVERSE collating sequence from the documentation. (CVS 3159)
FossilOrigin-Name: bd6876a1a946a9b266b31d776081464de7c7f437
2006-04-01 14:38:41 +00:00
drh
e4df0e7497 Properly record the names of triggers even if the name is quoted.
Ticket #1737. (CVS 3158)

FossilOrigin-Name: 4ba280ddd66d5cbf617263d6300b7582f65d47a9
2006-03-29 00:24:06 +00:00
drh
27436af790 Compile-time option to use only 32-bit integers. (CVS 3157)
FossilOrigin-Name: aedadfc3e47efa28ff81d7789b54fba9fcc128db
2006-03-28 23:57:17 +00:00
drh
4dd238a51d Join optimizer enhancements. (CVS 3156)
FossilOrigin-Name: 0039888f9132dc7461af4ae448292a0ce9adf804
2006-03-28 23:55:57 +00:00
drh
7aa8f8588b Extra asserts to prove that certain reported errors in btree.c are not really
errors. (CVS 3155)

FossilOrigin-Name: c64542d0e8efd6daecb037009474f4448793e4c0
2006-03-28 00:24:44 +00:00
drh
d8f50c4957 Work around a bug in GCC 4.0.2. (CVS 3154)
FossilOrigin-Name: fe0920c7922bfdbefbc0107fb9170d98bec2dcef
2006-03-26 20:49:17 +00:00
drh
923782530b SQLite now always chooses the column names for compound selects using
the left-most select.  This makes SQLite work like other SQL database,
but it also is a change from historical behavior and may break some
scripts.  Ticket #1721. (CVS 3153)

FossilOrigin-Name: 80cda9f7ce83f2de6cd2fdaf6150bbc35b670fee
2006-03-26 01:21:22 +00:00
drh
229caa369a Add code to report an error on a recursive trigger, but leave it
commented out - turning it on will likely break a lot of code. (CVS 3152)

FossilOrigin-Name: c83ec81d53f756660cafbbdaf9cf92e9e4bab4ad
2006-03-25 15:52:19 +00:00
drh
dad23147ca Add a note to the API documentation emphasizing that the filename argument
to sqlite3_open() must be UTF-8.  Tickets #1713, #1533. (CVS 3151)

FossilOrigin-Name: b0111f43e4f82f0c3144d1e6348d9e5fae504d95
2006-03-25 14:03:42 +00:00
drh
6205d4a47b Make sure the rootpage values in the symbol table are correctly updated
when dropping tables and indices in autocommit mode.  Ticket #1728. (CVS 3150)

FossilOrigin-Name: 1c582dd11304f4421da2fa451f52b313b541270e
2006-03-24 03:36:26 +00:00
drh
d698bc15ef Improvements to comments in build.c. (CVS 3149)
FossilOrigin-Name: 986208a364ce0ba81456b54e6561a277fb19309c
2006-03-23 23:33:26 +00:00
drh
5229ae4df5 Get autovacuum and in-memory databases working together. Ticket #1727. (CVS 3148)
FossilOrigin-Name: 21446df6420df00468867f1131c28604a1ae91a3
2006-03-23 23:29:04 +00:00
drh
b912b2889c Use the pread()/pwrite() interface on Posix if compiled with -DUSE_PREAD=1.
Note that on Linux this is slower and does not work for large files. (CVS 3147)

FossilOrigin-Name: 5a24f61981df4d8b696f03372eba2d37228906d9
2006-03-23 22:42:20 +00:00
drh
4eeb1ffa97 Improvements to comments. No changes to code. (CVS 3146)
FossilOrigin-Name: 01e164da67fde3a89abeadd5973ead7a74e23a51
2006-03-23 14:03:00 +00:00
drh
a154dcd706 Get the build to run with -DSQLITE_OMIT_SHARED_CACHE. (CVS 3145)
FossilOrigin-Name: 15e3b183bc554f729ce99c7daa5e36cdbcfa93fa
2006-03-22 22:10:07 +00:00
drh
05a8298338 Increase test coverage to above 98%. (CVS 3144)
FossilOrigin-Name: 8ae6ccc715b081cd422e847cd9e5cc22b04d8512
2006-03-19 13:00:25 +00:00
drh
f8875400e4 Miscellaneous code cleanup. (CVS 3143)
FossilOrigin-Name: 8f60139f688903f0e635b0a904ab9ca401fbe71f
2006-03-17 13:56:34 +00:00
drh
b73857ff4d Code and comment cleanup for the sorting optimization of the previous check-in. (CVS 3142)
FossilOrigin-Name: f3fbe72733b49264a6e0a91bf65c7fd80c7b65ea
2006-03-17 00:25:59 +00:00
drh
cdd536f0fd Much faster sorting when there are a large number of columns in the
result set. (CVS 3141)

FossilOrigin-Name: 6b3717aeb4ac45a433f2a30bdd0264ed728676e1
2006-03-17 00:04:03 +00:00
drh
3752785f93 Fix some compiler warnings. (CVS 3140)
FossilOrigin-Name: 6c5175bc0f98e4ce715b099394f3fdc878ed82e8
2006-03-16 16:19:56 +00:00
drh
3bc0e05c61 Make provisions in the code to support Provisions to support caching of
serialized statements in the SSE extension. (CVS 3139)

FossilOrigin-Name: 5048fae04227857c064c0ba48eb11bedeb467df0
2006-03-16 14:05:14 +00:00
drh
fd2d26bb7d Performance improvement in sqlite3VdbeAddOp(). (CVS 3138)
FossilOrigin-Name: 6bcbe8fcad35de6e9b90e7776bd262fdf7cbc28e
2006-03-15 22:44:36 +00:00
drh
aa01c7e2cd Fix CHECK constraints to use alternative conflict resolution. Ticket #1717. (CVS 3137)
FossilOrigin-Name: c0d20fa97f94313e6b7ee5b4baa236ef5b664d76
2006-03-15 16:26:10 +00:00
drh
afed086386 Set and clear the full_column_name flag using direct invocation rather than
the execsql tcl command so that the select1 test works with the serialized
statement extension. (CVS 3136)

FossilOrigin-Name: 4d70013a6a42a58bc7af3a87bf79c131a0070e96
2006-03-14 13:10:42 +00:00
drh
fe9a9145d1 Move the PENDING_PAGE to a very large value if disk I/O is omitted. (CVS 3135)
FossilOrigin-Name: f07181739f82b0d23f934f51b97e67c32efe6f42
2006-03-14 12:59:10 +00:00
drh
91171cde62 Make sure sqlite3FindCollSeq() returns NULL after a malloc() failure. (CVS 3134)
FossilOrigin-Name: 0e05355f3ca795f0ab959553e6c9462e5483c3b2
2006-03-14 11:08:27 +00:00
drh
03b808a694 Get parserless builds working again. (CVS 3133)
FossilOrigin-Name: 5ddc09a5e4d81a73228cd8038c6dc345b1fdf4af
2006-03-13 15:06:05 +00:00
drh
aa701b2827 Fix documentation to show the correct return type from sqlite3_db_handle().
Ticket #1716. (CVS 3132)

FossilOrigin-Name: f4fb047d0a0939ab6a25b75999501f5956e9f67c
2006-03-13 14:31:39 +00:00
drh
cfed7bce7e Changes to get the Serialized Statement Extension working again. (CVS 3131)
FossilOrigin-Name: 255fdbe6fa31ce276a8e6511af4ec6c36a741c20
2006-03-13 14:28:05 +00:00
drh
8aa34ae0b1 Additional changes due to Coverity scans. (CVS 3130)
FossilOrigin-Name: a69f697d50124f2c0c654d56390ae83a4ac5e9e8
2006-03-13 12:54:09 +00:00
drh
ff3b170023 Add an assert() to demonstrate that Klockworks is wrong about an aleged bug. (CVS 3129)
FossilOrigin-Name: 0910022be3ec8ce540e0e6adce2eed7a7cd28fd3
2006-03-11 12:04:18 +00:00
drh
643054c18b Correct names returned from a query against a view. Ticket #1709, #1688, #1711. (CVS 3128)
FossilOrigin-Name: 36830fafa405c9eae4795045efc6843394c67555
2006-03-09 17:28:12 +00:00
drh
86b7f57555 Remove all reference to EXTERN from tclsqlite.c. Ticket #1687. (CVS 3127)
FossilOrigin-Name: b4d3e0d528c7d17fa3d05956a188cd4d431204b2
2006-03-06 23:30:51 +00:00
drh
43617e9ab9 Code changes resulting from Coverity analysis.
http://scan.coverity.com/  Found 1 potential segfault in sqlite3_mprintf().
Also 2 failures to fclose() following a malloc() failure.  And lots of
cases where unnecessary conditionals could be removed from the code. (CVS 3126)

FossilOrigin-Name: e510e6dd9d6261f33b853af3b32d155b9d6b63b3
2006-03-06 20:55:46 +00:00
drh
c001c58a72 Pager performance enhancements. (CVS 3125)
FossilOrigin-Name: 9c26570743d878dee963e37728969fb30a2fb436
2006-03-06 18:23:16 +00:00