]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
19 years agoAdd code to invoke the virtual table transaction interface. Untested at this point...
danielk1977 [Fri, 16 Jun 2006 16:08:53 +0000 (16:08 +0000)] 
Add code to invoke the virtual table transaction interface. Untested at this point. (CVS 3261)

FossilOrigin-Name: 6125140228e09cad2029a48e92aa0123d3daecfb

19 years agoAdd some tests (and fixes) for virtual tables and the authorization callback. Still...
danielk1977 [Fri, 16 Jun 2006 08:01:02 +0000 (08:01 +0000)] 
Add some tests (and fixes) for virtual tables and the authorization callback. Still more to come. (CVS 3260)

FossilOrigin-Name: 9497c66e5533ec143d0efda4a419e4bdf922ae8c

19 years agoArrange for sqlite3_last_insert_rowid() to work with virtual tables. (CVS 3259)
danielk1977 [Fri, 16 Jun 2006 06:17:47 +0000 (06:17 +0000)] 
Arrange for sqlite3_last_insert_rowid() to work with virtual tables. (CVS 3259)

FossilOrigin-Name: afa39a46320e9996a5478ea6e19eb4c2014327ac

19 years agoFix type in test_schema.c. (CVS 3258)
danielk1977 [Thu, 15 Jun 2006 16:26:45 +0000 (16:26 +0000)] 
Fix type in test_schema.c. (CVS 3258)

FossilOrigin-Name: d65d83d38321258a7bb8c38f4b2657650b0f1033

19 years agoAdd test_schema.c, containing a module for viewing the database schema via a virtual...
danielk1977 [Thu, 15 Jun 2006 15:59:19 +0000 (15:59 +0000)] 
Add test_schema.c, containing a module for viewing the database schema via a virtual table. (CVS 3257)

FossilOrigin-Name: de8d32ac71a6e113e83b952813424cb3fb5a2e59

19 years agoAdd column_value, declare_vtab and create_module to the function table used by dynami...
danielk1977 [Thu, 15 Jun 2006 15:38:41 +0000 (15:38 +0000)] 
Add column_value, declare_vtab and create_module to the function table used by dynamic extensions. (CVS 3256)

FossilOrigin-Name: 25c475087892fea83bce9d140b46651793b85a86

19 years agoWrite database pages in sorted order to reduce file fragmentation.
drh [Thu, 15 Jun 2006 14:31:06 +0000 (14:31 +0000)] 
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

19 years agoAsserts added that verify that the code works correctly
drh [Thu, 15 Jun 2006 13:22:22 +0000 (13:22 +0000)] 
Asserts added that verify that the code works correctly
that ticket #1849 claims is wrong. (CVS 3254)

FossilOrigin-Name: d145dc1c4bce403ec967bfd0024002d4de57f833

19 years agoAdd tests (and modify test code) for writing to virtual tables. (CVS 3253)
danielk1977 [Thu, 15 Jun 2006 10:41:15 +0000 (10:41 +0000)] 
Add tests (and modify test code) for writing to virtual tables. (CVS 3253)

FossilOrigin-Name: 6380a9b118cf972c3c7d4886ecdb62c44f2208ca

19 years agoSimple tests and fixes for writing to virtual tables. (CVS 3252)
danielk1977 [Thu, 15 Jun 2006 07:29:00 +0000 (07:29 +0000)] 
Simple tests and fixes for writing to virtual tables. (CVS 3252)

FossilOrigin-Name: 88fa510e4c684513bbb59031d034fdb5c51a6a15

19 years agoAdd void* argument to sqlite3_create_module to replace sqlite3_module.pAux. (CVS...
danielk1977 [Thu, 15 Jun 2006 04:28:13 +0000 (04:28 +0000)] 
Add void* argument to sqlite3_create_module to replace sqlite3_module.pAux. (CVS 3251)

FossilOrigin-Name: 470a3a0b20775be1226fb4d477c798d8da2d5708

19 years agoChanges to test8.c to support UPDATE operations on xUpdate. (CVS 3250)
drh [Wed, 14 Jun 2006 23:43:31 +0000 (23:43 +0000)] 
Changes to test8.c to support UPDATE operations on xUpdate. (CVS 3250)

FossilOrigin-Name: 9e96511f83476e489fa62a05241393a851cbac5c

19 years agoBug fixes in the MATCH and ORDER BY processing of virtual tables. (CVS 3249)
drh [Wed, 14 Jun 2006 22:07:10 +0000 (22:07 +0000)] 
Bug fixes in the MATCH and ORDER BY processing of virtual tables. (CVS 3249)

FossilOrigin-Name: c996185a9e0671e46bed06e5803b1ca3b42d61e2

19 years agoAdded code to INSERT, DELETE and UPDATE virtual tables. The new code is
drh [Wed, 14 Jun 2006 19:00:20 +0000 (19:00 +0000)] 
Added code to INSERT, DELETE and UPDATE virtual tables.  The new code is
mostly untested. (CVS 3248)

FossilOrigin-Name: 32c97b884b104d120db3c0a87f5eab28f36851f8

19 years agoBetter documentation on the limits of user-defined functions. And a
drh [Wed, 14 Jun 2006 15:35:36 +0000 (15:35 +0000)] 
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

19 years agoAdd xUpdate method to the echo test module. Currently untested. (CVS 3246)
danielk1977 [Wed, 14 Jun 2006 15:16:35 +0000 (15:16 +0000)] 
Add xUpdate method to the echo test module. Currently untested. (CVS 3246)

FossilOrigin-Name: 676de55b28f0b22cf78f5e71f4a960f3d76c2d72

19 years agoFix segfault introduced in (3243). (CVS 3245)
danielk1977 [Wed, 14 Jun 2006 15:14:50 +0000 (15:14 +0000)] 
Fix segfault introduced in (3243). (CVS 3245)

FossilOrigin-Name: e5fff87d004ccf0cf8ba1f6afa032f31144527d9

19 years agoFix a C++-ism in lempar.c. Ticket #1848. (CVS 3244)
drh [Wed, 14 Jun 2006 15:03:49 +0000 (15:03 +0000)] 
Fix a C++-ism in lempar.c.  Ticket #1848. (CVS 3244)

FossilOrigin-Name: a0a3b34db86ef1c31d172ca1b56afd26d18e429f

19 years agoAdd the opcode OP_VUpdate and replace the xInsert/xDelete members of sqlite3_module...
danielk1977 [Wed, 14 Jun 2006 13:03:24 +0000 (13:03 +0000)] 
Add the opcode OP_VUpdate and replace the xInsert/xDelete members of sqlite3_module with xUpdate. (CVS 3243)

FossilOrigin-Name: 15ba5cbf07da46319897e9a2519a6dba3b142103

19 years agoAdd the opcode OP_VUpdate and replace the xInsert/xDelete members of sqlite3_module...
danielk1977 [Wed, 14 Jun 2006 13:03:23 +0000 (13:03 +0000)] 
Add the opcode OP_VUpdate and replace the xInsert/xDelete members of sqlite3_module with xUpdate. (CVS 3242)

FossilOrigin-Name: 418f3ca84abf0d0876d2c4430f7f6ceaa9c0a17b

19 years agoAdd code to test8.c to check that the correct idxNum value is passed to the xFilter...
danielk1977 [Wed, 14 Jun 2006 10:55:52 +0000 (10:55 +0000)] 
Add code to test8.c to check that the correct idxNum value is passed to the xFilter method. (CVS 3241)

FossilOrigin-Name: 77bcaf99b3aba0f482e0504a5409c8f79cc441b4

19 years agoFix typo in test8.c. (CVS 3240)
danielk1977 [Wed, 14 Jun 2006 10:47:03 +0000 (10:47 +0000)] 
Fix typo in test8.c. (CVS 3240)

FossilOrigin-Name: 75be7d4988a3618ea9e3c1b65d5c05380ec7d25d

19 years agoAdd some tests for sqlite3_load_extension(). (CVS 3239)
danielk1977 [Wed, 14 Jun 2006 10:38:02 +0000 (10:38 +0000)] 
Add some tests for sqlite3_load_extension(). (CVS 3239)

FossilOrigin-Name: 402a77c43d4e4dcd2e1197cfaaa2ed51249a1b8f

19 years agoAdd tests for the new MATCH operator. (CVS 3238)
danielk1977 [Wed, 14 Jun 2006 08:48:25 +0000 (08:48 +0000)] 
Add tests for the new MATCH operator. (CVS 3238)

FossilOrigin-Name: b4024c394d25e5a0abdb07be779ae41581834c42

19 years agoAdd a test case for ORDER BY using the echo module. (CVS 3237)
danielk1977 [Wed, 14 Jun 2006 07:41:31 +0000 (07:41 +0000)] 
Add a test case for ORDER BY using the echo module. (CVS 3237)

FossilOrigin-Name: f459f034f659a4c418aa1bc72135cc93d04565df

19 years agoChange the pModule parameter of the xCreate and xConnect methods to a void*. (CVS...
danielk1977 [Wed, 14 Jun 2006 06:58:15 +0000 (06:58 +0000)] 
Change the pModule parameter of the xCreate and xConnect methods to a void*. (CVS 3236)

FossilOrigin-Name: 3ffa51b50a7831ef359bc40acf605decc922c498

19 years agoAdd tests for error conditions surrounding the creation/connection of virtual tables...
danielk1977 [Wed, 14 Jun 2006 06:31:28 +0000 (06:31 +0000)] 
Add tests for error conditions surrounding the creation/connection of virtual tables. (CVS 3235)

FossilOrigin-Name: 5e592c422b86deb5802c6536e91661717ee9bbe1

19 years agoThe echo module test is now running. Added the tclvar module test but have
drh [Tue, 13 Jun 2006 23:51:34 +0000 (23:51 +0000)] 
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

19 years agoThe (unsupported) soundex() function returns '?000' when given a NULL.
drh [Tue, 13 Jun 2006 19:26:10 +0000 (19:26 +0000)] 
The (unsupported) soundex() function returns '?000' when given a NULL.
Ticket #1845. (CVS 3233)

FossilOrigin-Name: 9372481f233e1563b5ee137535f0fbf19851ffad

19 years agoThe optimizer recognizes MATCH operators and allows virtual-tables to make
drh [Tue, 13 Jun 2006 17:38:59 +0000 (17:38 +0000)] 
The optimizer recognizes MATCH operators and allows virtual-tables to make
use of them. (CVS 3232)

FossilOrigin-Name: 136bed496b89943522310ec511199b78198d0844

19 years agoAdd support for the MATCH operator. (CVS 3231)
drh [Tue, 13 Jun 2006 15:37:26 +0000 (15:37 +0000)] 
Add support for the MATCH operator. (CVS 3231)

FossilOrigin-Name: 815b84d5273b42978edcee0d4afe7f91a7933f4e

19 years agoGet the code to compile with -DSQLITE_OMIT_VIRTUALTABLE=1 (CVS 3230)
drh [Tue, 13 Jun 2006 15:36:06 +0000 (15:36 +0000)] 
Get the code to compile with -DSQLITE_OMIT_VIRTUALTABLE=1 (CVS 3230)

FossilOrigin-Name: ea4bc5a0be6cfc81ef1e9405f396c43205fe9cd8

19 years agoImproved comments and documentation of sqlite3_load_extension(). (CVS 3229)
drh [Tue, 13 Jun 2006 15:12:21 +0000 (15:12 +0000)] 
Improved comments and documentation of sqlite3_load_extension(). (CVS 3229)

FossilOrigin-Name: 0bcec95963603270ee053c83b1f6960b2029d378

19 years agoAdd the tentative sqlite3_allocate_queryplan() API. (CVS 3228)
danielk1977 [Tue, 13 Jun 2006 15:00:54 +0000 (15:00 +0000)] 
Add the tentative sqlite3_allocate_queryplan() API. (CVS 3228)

FossilOrigin-Name: 7a3e97f76b1f4f97a04f7c5a9daa400402b2ff25

19 years agoAdd simple tests for the xFilter and xBestIndex methods. (CVS 3227)
danielk1977 [Tue, 13 Jun 2006 14:16:58 +0000 (14:16 +0000)] 
Add simple tests for the xFilter and xBestIndex methods. (CVS 3227)

FossilOrigin-Name: 0f4657ea69314e49bc7c9faf9a653ef072f5082d

19 years agoLemon correctly recognizes an empty grammar and errors out.
drh [Tue, 13 Jun 2006 13:27:46 +0000 (13:27 +0000)] 
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

19 years agoFree error message string in the quick start example. (CVS 3225)
drh [Tue, 13 Jun 2006 11:27:21 +0000 (11:27 +0000)] 
Free error message string in the quick start example. (CVS 3225)

FossilOrigin-Name: 1273261ba7a21062217e7fbc3447b5dadf53010f

19 years agoMinor changes to lempar.c to reduce warnings on some compilers. (CVS 3224)
drh [Tue, 13 Jun 2006 11:15:47 +0000 (11:15 +0000)] 
Minor changes to lempar.c to reduce warnings on some compilers. (CVS 3224)

FossilOrigin-Name: dae71de10d0f34a001b8070266d4016baafa6623

19 years agoAdd implementations for opcodes required for linear scans of virtual tables. (CVS...
danielk1977 [Tue, 13 Jun 2006 10:24:42 +0000 (10:24 +0000)] 
Add implementations for opcodes required for linear scans of virtual tables. (CVS 3223)

FossilOrigin-Name: 1f20e1832b38c76d2b0dde5fd720670c2ad0438b

19 years agoBugfixes: Fix a segfault introduced as part of the new vtab code, deallocate memory...
danielk1977 [Tue, 13 Jun 2006 04:11:43 +0000 (04:11 +0000)] 
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

19 years agoBugfixes: Fix a segfault introduced as part of the new vtab code, deallocate memory...
danielk1977 [Tue, 13 Jun 2006 04:11:43 +0000 (04:11 +0000)] 
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

19 years agoProgress toward getting the virtual-table code generator to work. (CVS 3220)
drh [Tue, 13 Jun 2006 01:04:52 +0000 (01:04 +0000)] 
Progress toward getting the virtual-table code generator to work. (CVS 3220)

FossilOrigin-Name: 3532f1340f939b0231c1d82a7b2d186cb096fb29

19 years agoAdded code to iterate through virtual tables. All regression tests pass
drh [Mon, 12 Jun 2006 21:59:13 +0000 (21:59 +0000)] 
Added code to iterate through virtual tables.  All regression tests pass
but the new code is completely untested. (CVS 3219)

FossilOrigin-Name: 010965433140fbe508a907d861dbad79343bf7c2

19 years agoAdd code to invoke the xDestroy method of a virtual table when it is dropped. (CVS...
danielk1977 [Mon, 12 Jun 2006 16:01:21 +0000 (16:01 +0000)] 
Add code to invoke the xDestroy method of a virtual table when it is dropped. (CVS 3218)

FossilOrigin-Name: f0c7c8d12c04376e48c6d53a29cfae3fa13b52cf

19 years agoPatches to get things working better for OS2. Ticket #1836. (CVS 3217)
drh [Mon, 12 Jun 2006 12:57:45 +0000 (12:57 +0000)] 
Patches to get things working better for OS2.  Ticket #1836. (CVS 3217)

FossilOrigin-Name: 65c6e5e117b9194015e382b1ad9bb9c88704eeb7

19 years agoFixes so that builds work with SQLITE_OMIT_VIRTUALTABLE=1. (CVS 3216)
drh [Mon, 12 Jun 2006 12:50:23 +0000 (12:50 +0000)] 
Fixes so that builds work with SQLITE_OMIT_VIRTUALTABLE=1. (CVS 3216)

FossilOrigin-Name: 54b30fe1bdf0c9e690e12f07dcce4382e863bf02

19 years agoGet builds working again when extension loading is not enabled. Ticket #1839. (CVS...
drh [Mon, 12 Jun 2006 12:46:21 +0000 (12:46 +0000)] 
Get builds working again when extension loading is not enabled.  Ticket #1839. (CVS 3215)

FossilOrigin-Name: 89ead80129ec934d2cb5f2447598a7253172f704

19 years agoAdd a simple test case (and corresponding bugfix) for the virtual table xConnect...
danielk1977 [Mon, 12 Jun 2006 12:08:45 +0000 (12:08 +0000)] 
Add a simple test case (and corresponding bugfix) for the virtual table xConnect and xDisconnect methods. (CVS 3214)

FossilOrigin-Name: b63dbc794795533f0bfd2d8e25633e6e3dea3ebd

19 years agoAdd first cut of sqlite3_declare_vtab(). Not at all well tested yet. (CVS 3213)
danielk1977 [Mon, 12 Jun 2006 11:24:37 +0000 (11:24 +0000)] 
Add first cut of sqlite3_declare_vtab(). Not at all well tested yet. (CVS 3213)

FossilOrigin-Name: bbeb93b5bb26ba83ee7b7ae439ca5ceebebac9a0

19 years agoIncremental work on parsing/storing and invoking the xCreate callback for virtual...
danielk1977 [Mon, 12 Jun 2006 06:09:17 +0000 (06:09 +0000)] 
Incremental work on parsing/storing and invoking the xCreate callback for virtual tables. (CVS 3212)

FossilOrigin-Name: 8ffbab79d5a76dea0f87cf551d5b6ad4f0fab337

19 years agoProgress toward CREATE VIRTUAL TABLE. Still not even close to working... (CVS 3211)
drh [Sun, 11 Jun 2006 23:41:55 +0000 (23:41 +0000)] 
Progress toward CREATE VIRTUAL TABLE.  Still not even close to working... (CVS 3211)

FossilOrigin-Name: 898ec36b4102aaa03979f8f5c510936e57e2ae48

19 years agoBasic parsing of CREATE VIRTUAL TABLE statements. (CVS 3210)
drh [Sat, 10 Jun 2006 13:29:31 +0000 (13:29 +0000)] 
Basic parsing of CREATE VIRTUAL TABLE statements. (CVS 3210)

FossilOrigin-Name: 66370cb99bd93abb33e1e8433672da45e1795f78

19 years agoIn the shell, make sure the database is opened before trying to do
drh [Thu, 8 Jun 2006 16:10:14 +0000 (16:10 +0000)] 
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

19 years agoUnload shared libraries when a database connection closes. (CVS 3208)
drh [Thu, 8 Jun 2006 15:48:00 +0000 (15:48 +0000)] 
Unload shared libraries when a database connection closes. (CVS 3208)

FossilOrigin-Name: 327e6909c9d35b651ab6f3a1a270022b354538c6

19 years agoNew shell command ".load" and the sqlite3_load_extension() API allow
drh [Thu, 8 Jun 2006 15:28:43 +0000 (15:28 +0000)] 
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

19 years agoVersion 3.3.6 (CVS 3206)
drh [Tue, 6 Jun 2006 13:34:16 +0000 (13:34 +0000)] 
Version 3.3.6 (CVS 3206)

FossilOrigin-Name: c11cb07e4b3f0b815a7099c8d201b3473869cba2

19 years agoChanges in preparation for version 3.3.6. (CVS 3205)
drh [Tue, 6 Jun 2006 12:38:50 +0000 (12:38 +0000)] 
Changes in preparation for version 3.3.6. (CVS 3205)

FossilOrigin-Name: b2e11e02902d6fa8fc2fb95cda4810e837d6861e

19 years agoCommand "sqlite3 -version" returns 0 instead of 1. Ticket #1771. (CVS 3204)
drh [Tue, 6 Jun 2006 12:32:21 +0000 (12:32 +0000)] 
Command "sqlite3 -version" returns 0 instead of 1.  Ticket #1771. (CVS 3204)

FossilOrigin-Name: fd0fae4835a7d16b0186827b756c44bc984b42dc

19 years agoIn joins of the form "A left B, C" make sure they are not transformed into
drh [Tue, 6 Jun 2006 11:45:54 +0000 (11:45 +0000)] 
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

19 years agoAdd comments to the changes of check-in (3200). (CVS 3202)
drh [Sun, 4 Jun 2006 23:31:48 +0000 (23:31 +0000)] 
Add comments to the changes of check-in (3200). (CVS 3202)

FossilOrigin-Name: 697498d4e86a42d7063417a9549ad04aaf4db31c

19 years agoFix a windows portability problem in trans.test. (CVS 3201)
drh [Sun, 4 Jun 2006 23:20:10 +0000 (23:20 +0000)] 
Fix a windows portability problem in trans.test. (CVS 3201)

FossilOrigin-Name: f2538dfdb608b7f849bfc5fac0ec9d0d8dece4c7

19 years agoChanges to help SQLite cope with virus scanners and other programs that
drh [Sun, 4 Jun 2006 23:02:20 +0000 (23:02 +0000)] 
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

19 years agoRemove unused variables from vdbe.c. (CVS 3199)
drh [Sat, 3 Jun 2006 18:04:17 +0000 (18:04 +0000)] 
Remove unused variables from vdbe.c. (CVS 3199)

FossilOrigin-Name: d54750aefba0accd66f928e55ae52fe074f2b8da

19 years agoAdded support for OS/2. Ticket #1817 (CVS 3198)
drh [Sat, 3 Jun 2006 18:02:15 +0000 (18:02 +0000)] 
Added support for OS/2.  Ticket #1817 (CVS 3198)

FossilOrigin-Name: 373246c2d1edaec1ce248ff875db48ce51d896f9

19 years agoDo not record blank lines in the command-line editing history of the shell. (CVS...
drh [Sat, 3 Jun 2006 17:37:25 +0000 (17:37 +0000)] 
Do not record blank lines in the command-line editing history of the shell. (CVS 3197)

FossilOrigin-Name: 0eabda82cd0d476a7e05ba4b027b819318aef9c3

19 years agoThe windows driver always allows other processes to write the database file
drh [Fri, 2 Jun 2006 12:40:08 +0000 (12:40 +0000)] 
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

19 years agoFix typo in lang_analyze.html. (CVS 3195)
drh [Wed, 31 May 2006 11:12:01 +0000 (11:12 +0000)] 
Fix typo in lang_analyze.html. (CVS 3195)

FossilOrigin-Name: fba8ce8c383fa8e66bc2dd5a354f411ad2b83c6d

19 years agoClarify the operation of sqlite3_last_insert_rowid() in the documentation. (CVS 3194)
drh [Sat, 27 May 2006 11:15:47 +0000 (11:15 +0000)] 
Clarify the operation of sqlite3_last_insert_rowid() in the documentation. (CVS 3194)

FossilOrigin-Name: 9e0b83b81f13277b9da877bdd96c544ec66533f0

19 years agoAllow SQL statements to be executed from within a progress callback.
drh [Fri, 26 May 2006 19:57:19 +0000 (19:57 +0000)] 
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

19 years agoSyntax errors override errors from the code generator, not the other
drh [Thu, 25 May 2006 12:17:31 +0000 (12:17 +0000)] 
Syntax errors override errors from the code generator, not the other
way around. (CVS 3192)

FossilOrigin-Name: 5031ffc665782e7b300c498fb8be168443505add

19 years agoHandle NULL database names in ATTACH and DETACH as if they were empty
drh [Thu, 25 May 2006 11:52:37 +0000 (11:52 +0000)] 
Handle NULL database names in ATTACH and DETACH as if they were empty
strings.  Ticket #1825. (CVS 3191)

FossilOrigin-Name: 79a818bb05bc95c4c83375a679955dd18659b2b8

19 years agoWhen opening a new connection on a shared cache, be careful not to
drh [Wed, 24 May 2006 12:43:26 +0000 (12:43 +0000)] 
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

19 years agoAdditional tests for ticket #1821. (CVS 3189)
drh [Tue, 23 May 2006 23:25:09 +0000 (23:25 +0000)] 
Additional tests for ticket #1821. (CVS 3189)

FossilOrigin-Name: b93e3fb02aeff7fe6cae56c3a45c43ffdb2f030b

19 years agoFix type coercion rules for the IN operator. Ticket #1821. (CVS 3188)
drh [Tue, 23 May 2006 23:22:29 +0000 (23:22 +0000)] 
Fix type coercion rules for the IN operator.  Ticket #1821. (CVS 3188)

FossilOrigin-Name: 6e5a49762166a942e1b2c3beae8a30c07187eb10

19 years agoIf an sqlite3_mprintf() call uses a disallowed internal-use-only conversion
drh [Mon, 22 May 2006 22:04:00 +0000 (22:04 +0000)] 
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

19 years agoAdjust the default weights on indices so that an index that matches more
drh [Thu, 11 May 2006 23:14:59 +0000 (23:14 +0000)] 
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

19 years agoFix documentation typo: The name of the competing database engine is
drh [Thu, 11 May 2006 13:33:14 +0000 (13:33 +0000)] 
Fix documentation typo:  The name of the competing database engine is
"Firebird", not "Firefox". (CVS 3185)

FossilOrigin-Name: 8be6a39d7108839b0fb298a2d536d68ebca86d66

19 years agoCorrectly handle multi-column indices where multiple columns are constrained
drh [Thu, 11 May 2006 13:26:25 +0000 (13:26 +0000)] 
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

19 years agoFix comments on the implementation of the SUM() function. (CVS 3183)
drh [Thu, 11 May 2006 13:25:39 +0000 (13:25 +0000)] 
Fix comments on the implementation of the SUM() function. (CVS 3183)

FossilOrigin-Name: a8909f3e5fc67ac1ba7d1abd7fb0f4004fec5984

19 years agoOut-of-memory checks added to tclsqlite.c and shell.c. Tickets #1805 and #1806....
drh [Wed, 10 May 2006 14:39:13 +0000 (14:39 +0000)] 
Out-of-memory checks added to tclsqlite.c and shell.c.  Tickets #1805 and #1806. (CVS 3182)

FossilOrigin-Name: 364031d6e512b992a7147bbc8e046c20c0c5335a

19 years agoFix error processing in Lemon. SQLite does not use this feature of lemon
drh [Mon, 8 May 2006 15:14:19 +0000 (15:14 +0000)] 
Fix error processing in Lemon.  SQLite does not use this feature of lemon
so it is uneffected. (CVS 3181)

FossilOrigin-Name: 864cac960390a31c240d34ffd62bb084ab780267

19 years agoAutomatically increase the size of the pager hash table as the number
drh [Sun, 7 May 2006 17:49:38 +0000 (17:49 +0000)] 
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

19 years agoFix a typo on a webpage. Ticket #1792. (CVS 3179)
drh [Wed, 3 May 2006 23:39:36 +0000 (23:39 +0000)] 
Fix a typo on a webpage.  Ticket #1792. (CVS 3179)

FossilOrigin-Name: 2702205277f45aadd2f07d51f71af4efd266228f

19 years agoFaster :memory: database COMMITs. Ticket #1790. (CVS 3178)
drh [Wed, 3 May 2006 23:34:05 +0000 (23:34 +0000)] 
Faster :memory: database COMMITs.  Ticket #1790. (CVS 3178)

FossilOrigin-Name: 8f820e435272c0a4861421508c7e6f2979c2750f

19 years agoGet LIMIT 0 working on subqueries. Ticket #1784. (CVS 3177)
drh [Wed, 26 Apr 2006 17:39:34 +0000 (17:39 +0000)] 
Get LIMIT 0 working on subqueries.  Ticket #1784. (CVS 3177)

FossilOrigin-Name: 7f3ef7ddba22d69a23e656836ba76738c9652b4d

19 years agoAdditional information about index sorting in EXPLAIN QUERY PLAN. (CVS 3176)
drh [Fri, 21 Apr 2006 09:38:36 +0000 (09:38 +0000)] 
Additional information about index sorting in EXPLAIN QUERY PLAN. (CVS 3176)

FossilOrigin-Name: 39dd969527a107b2a6bb94dfc35d93850917faa8

19 years agoRemove a superfluous call to access() in the unix driver. Error spotted
drh [Wed, 19 Apr 2006 01:24:53 +0000 (01:24 +0000)] 
Remove a superfluous call to access() in the unix driver.  Error spotted
by Coverity. (CVS 3175)

FossilOrigin-Name: 4f195aa1ebef5129e6f912e78b3d5f97b393a06c

19 years agoAllocate enough memory for the worst-case UTF-16 to UTF-8 conversion.
drh [Sun, 16 Apr 2006 12:05:03 +0000 (12:05 +0000)] 
Allocate enough memory for the worst-case UTF-16 to UTF-8 conversion.
Ticket #1773. (CVS 3174)

FossilOrigin-Name: 2a0120c0f06d17185ede773729d97c93f90923ff

19 years agoAllow constant terms in the ORDER BY or GROUP BY clauses. Ticket #1768. (CVS 3173)
drh [Tue, 11 Apr 2006 14:16:21 +0000 (14:16 +0000)] 
Allow constant terms in the ORDER BY or GROUP BY clauses.  Ticket #1768. (CVS 3173)

FossilOrigin-Name: d83e0230c0c4909cb035e266beffc0967526d9c1

19 years agoFollow-up to check-in (3164). Make sure SQLITE_NOMEM is returned after
drh [Mon, 10 Apr 2006 13:37:47 +0000 (13:37 +0000)] 
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

19 years agoVariable declarations should come before code. Ticket #1763. (CVS 3171)
drh [Sat, 8 Apr 2006 19:14:53 +0000 (19:14 +0000)] 
Variable declarations should come before code.  Ticket #1763. (CVS 3171)

FossilOrigin-Name: 9682f84401f7e21630246e1c37351425b78b7afa

19 years agoReorder code so that it compiles with SQLITE_OMIT_MEMORYDB. Ticket #1754. (CVS 3170)
drh [Fri, 7 Apr 2006 13:54:46 +0000 (13:54 +0000)] 
Reorder code so that it compiles with SQLITE_OMIT_MEMORYDB.  Ticket #1754. (CVS 3170)

FossilOrigin-Name: 1929e37d5e691f9d2bec01deb7bdbbbb6f5ace01

19 years agoReturn the correct declared column type, origin column name, origin database
drh [Fri, 7 Apr 2006 13:50:37 +0000 (13:50 +0000)] 
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

19 years agoAvoid the use of atof(). Ticket #1756. (CVS 3168)
drh [Fri, 7 Apr 2006 13:26:42 +0000 (13:26 +0000)] 
Avoid the use of atof().  Ticket #1756. (CVS 3168)

FossilOrigin-Name: 76aef93c3e113b0077f534a437a339be2b15ca3d

19 years agoVersion 3.3.5 (CVS 3167)
drh [Wed, 5 Apr 2006 13:16:48 +0000 (13:16 +0000)] 
Version 3.3.5 (CVS 3167)

FossilOrigin-Name: a091a61d8832ad3454231f480ec605101bb9363a

19 years agoFix typos in the previous check-in. (CVS 3166)
drh [Wed, 5 Apr 2006 12:50:08 +0000 (12:50 +0000)] 
Fix typos in the previous check-in. (CVS 3166)

FossilOrigin-Name: 119ec402281c142359cfe5ccf1416bf69eed103f

19 years agoPreparing for the release of version 3.3.5. (CVS 3165)
drh [Wed, 5 Apr 2006 12:15:11 +0000 (12:15 +0000)] 
Preparing for the release of version 3.3.5. (CVS 3165)

FossilOrigin-Name: 159fb92bd5290098986709f5d9ff8183e9059d53

19 years agoMake sure SQLITE_NOMEM is reported out on a malloc failure in an ATTACH
drh [Wed, 5 Apr 2006 11:57:37 +0000 (11:57 +0000)] 
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

19 years agoAdd documentation on new sqlite_authorizer callback types. Ticket #1744. (CVS 3163)
drh [Wed, 5 Apr 2006 01:08:35 +0000 (01:08 +0000)] 
Add documentation on new sqlite_authorizer callback types. Ticket #1744. (CVS 3163)

FossilOrigin-Name: fdbff3f145296d5dcba8987c25629e27353e2ab0

19 years agoDocumentation typos. Tickets #1749 and #1750. (CVS 3162)
drh [Wed, 5 Apr 2006 01:02:08 +0000 (01:02 +0000)] 
Documentation typos.  Tickets #1749 and #1750. (CVS 3162)

FossilOrigin-Name: 51b35ace203a33f6f04f1139ca8ab652c5c76f9a