]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
18 years agoMake tokenizer not rely on nul-terminated text. Instead of using
shess [Fri, 1 Sep 2006 00:05:17 +0000 (00:05 +0000)] 
Make tokenizer not rely on nul-terminated text.  Instead of using
strcspn() and a nul-terminated delimiter list, I just flagged
delimiters in an array and wrote things inline.  Submitting this for
review separately because it's pretty standalone. (CVS 3378)

FossilOrigin-Name: 2631ceaeefaca3aa837e3b439399f13c51456914

18 years agoRefactor the FTS1 module so that its name is "fts1" instead of "fulltext",
drh [Thu, 31 Aug 2006 15:07:14 +0000 (15:07 +0000)] 
Refactor the FTS1 module so that its name is "fts1" instead of "fulltext",
so that all symbols with external linkage begin with "sqlite3Fts1", and
so that all filenames begin with "fts1". (CVS 3377)

FossilOrigin-Name: e1891f0dc58e5498a8845d8b9b5b092d7f9c7003

18 years agoJust don't run tolower() on hi-bit characters. This shouldn't cause
shess [Wed, 30 Aug 2006 21:40:30 +0000 (21:40 +0000)] 
Just don't run tolower() on hi-bit characters.  This shouldn't cause
us to break any UTF-8 code points, unless they were already broken in
the input. (CVS 3376)

FossilOrigin-Name: 6c77c2d5e15e9d3efed3e274bc93cd5a4868f574

18 years agoBug fix: Get INSERT INTO ... SELECT working when the target is a virtual
drh [Tue, 29 Aug 2006 18:46:14 +0000 (18:46 +0000)] 
Bug fix:  Get INSERT INTO ... SELECT working when the target is a virtual
table. (CVS 3375)

FossilOrigin-Name: 7cdc41e748c2d8f9e3d85c07143b8bc343bf2426

18 years agoBug fix: Get INSERT INTO ... SELECT working when the target is a virtual
drh [Tue, 29 Aug 2006 18:46:14 +0000 (18:46 +0000)] 
Bug fix:  Get INSERT INTO ... SELECT working when the target is a virtual
table. (CVS 3374)

FossilOrigin-Name: 7912485705c96e365a942932bb12d5b9113c9885

18 years agoDocument the fact that SQLite allows NULL values in PRIMARY KEY columns
drh [Tue, 29 Aug 2006 13:08:37 +0000 (13:08 +0000)] 
Document the fact that SQLite allows NULL values in PRIMARY KEY columns
and the fact that we might design to change this in the future.
Ticket #518. (CVS 3373)

FossilOrigin-Name: b99d845ef4776595022c6fb855e582cfe6ef2f9f

18 years agoImproved built-in help in the command-line shell. Enable the
drh [Tue, 29 Aug 2006 12:04:19 +0000 (12:04 +0000)] 
Improved built-in help in the command-line shell.  Enable the
fulltext search extension in the TCL interface. (CVS 3372)

FossilOrigin-Name: 9763b4bfd5f0579f9fb821899ffa8bfe650054d7

18 years agoMake static some symbols which shouldn't have been exported. (CVS 3371)
shess [Mon, 28 Aug 2006 23:46:01 +0000 (23:46 +0000)] 
Make static some symbols which shouldn't have been exported. (CVS 3371)

FossilOrigin-Name: 58006e38af760b53cf72bf127d7c7b8a619a1282

18 years agoMake hi-bit characters delimiters. This is a stopgap until the tokenizer
shess [Mon, 28 Aug 2006 20:08:56 +0000 (20:08 +0000)] 
Make hi-bit characters delimiters.  This is a stopgap until the tokenizer
and fulltext.c recognize UTF-8 correctly. (CVS 3370)

FossilOrigin-Name: ca850d3d80f67672172d11392fcdf60bfbb94c02

18 years agoAdd sqlite3_malloc and sqlite3_realloc to the sqlite3.def file. Ticket #1943. (CVS...
drh [Sun, 27 Aug 2006 14:10:39 +0000 (14:10 +0000)] 
Add sqlite3_malloc and sqlite3_realloc to the sqlite3.def file.  Ticket #1943. (CVS 3369)

FossilOrigin-Name: 4a74838eac5b939058c8aebef30113c5bdb354e5

18 years agoAdd support for INSERT INTO ... DEFAULT VALUES. Tickets #299, #1940. (CVS 3368)
drh [Fri, 25 Aug 2006 23:42:53 +0000 (23:42 +0000)] 
Add support for INSERT INTO ... DEFAULT VALUES.  Tickets #299, #1940. (CVS 3368)

FossilOrigin-Name: bc84cb54b0df09738fd90e48820dc3cdfa7828c2

18 years agoFix gcc gripe about parens in a ||/&& in mergePosList().
shess [Fri, 25 Aug 2006 19:20:26 +0000 (19:20 +0000)] 
Fix gcc gripe about parens in a ||/&& in mergePosList().
Drop unused pBlob/nBlob in index_insert_term().
Fix NULL deref in an assertion in docListUpdate() delete case.
Minor code tightening in docListUpdate(). (CVS 3367)

FossilOrigin-Name: a6fcf9101a831bf5f129c6045eabf30376d365dc

18 years agoDocumentation updates for the new SQLITE_FUNCTION authorization. (CVS 3366)
drh [Thu, 24 Aug 2006 15:18:25 +0000 (15:18 +0000)] 
Documentation updates for the new SQLITE_FUNCTION authorization. (CVS 3366)

FossilOrigin-Name: e029637e54e190c89206725a99e1ee7db6c23804

18 years agoEnhance the sqlite3_set_authorizer() callback so that it provides callbacks
drh [Thu, 24 Aug 2006 14:59:45 +0000 (14:59 +0000)] 
Enhance the sqlite3_set_authorizer() callback so that it provides callbacks
on each SQL function that is invoked. (CVS 3365)

FossilOrigin-Name: 4547c81f7da29b1490c6eba8d9c333218c5cb88f

18 years agoTcl interface does filename translation prior to calling sqlite3_open().
drh [Thu, 24 Aug 2006 02:42:27 +0000 (02:42 +0000)] 
Tcl interface does filename translation prior to calling sqlite3_open().
Ticket #1937. (CVS 3364)

FossilOrigin-Name: 5696e0cb771ea62df6f91cb03dfc428af1441e9e

18 years agoA first implementation of a full-text search module for SQLite. (CVS 3363)
adamd [Wed, 23 Aug 2006 23:58:50 +0000 (23:58 +0000)] 
A first implementation of a full-text search module for SQLite. (CVS 3363)

FossilOrigin-Name: b0d8e0d314d6f77b7d4b5dd00c694a1323f7a8e4

18 years agoAdd the new experimental sqlite3_auto_extension() API. (CVS 3362)
drh [Wed, 23 Aug 2006 20:07:20 +0000 (20:07 +0000)] 
Add the new experimental sqlite3_auto_extension() API. (CVS 3362)

FossilOrigin-Name: a85fc877eb8c92bbb79ac9b7fa91fb362f37cdf7

18 years agoAdd argc as a default global to match standard tcl environment. (CVS 3361)
shess [Tue, 22 Aug 2006 23:53:46 +0000 (23:53 +0000)] 
Add argc as a default global to match standard tcl environment. (CVS 3361)

FossilOrigin-Name: 533154099c9fe1238705eea03aba388dd71dc35e

18 years agoAdd the ext/fts1 subdirectory for holding the first full-text search
drh [Tue, 22 Aug 2006 14:45:37 +0000 (14:45 +0000)] 
Add the ext/fts1 subdirectory for holding the first full-text search
extension. (CVS 3360)

FossilOrigin-Name: 7f152f9f3a647d30874f2da46ce93a1e31ea7cf3

18 years agoFix bug in documentation. Ticket #1927. (CVS 3359)
drh [Sat, 19 Aug 2006 13:32:05 +0000 (13:32 +0000)] 
Fix bug in documentation.  Ticket #1927. (CVS 3359)

FossilOrigin-Name: 90296bc8fa443833e6316c873dd18b951d3247f7

18 years agoFix for the (unsupported) soundex algorithm so that it conforms to Knuth.
drh [Sat, 19 Aug 2006 11:34:01 +0000 (11:34 +0000)] 
Fix for the (unsupported) soundex algorithm so that it conforms to Knuth.
Ticket #1925.  Test cases added. (CVS 3358)

FossilOrigin-Name: 7810d1abf611ce40dd0de45610269359a8ca9222

18 years agoImproved method for finding the home directory under windows. Ticket #1926. (CVS...
drh [Sat, 19 Aug 2006 11:15:20 +0000 (11:15 +0000)] 
Improved method for finding the home directory under windows.  Ticket #1926. (CVS 3357)

FossilOrigin-Name: 10907bb2011eefa306c0e6ee573b6dfe765c8631

18 years agoRemove obsolete clause in the documentation. Ticket #1923. (CVS 3356)
drh [Wed, 16 Aug 2006 22:58:49 +0000 (22:58 +0000)] 
Remove obsolete clause in the documentation.  Ticket #1923. (CVS 3356)

FossilOrigin-Name: d4f182e5aa7163de3c692c9ce8dc9092d9d8de49

18 years agoAllows UPDATE, INSERT, and DELETEs to occur while a SELECT is pending on
drh [Wed, 16 Aug 2006 16:42:48 +0000 (16:42 +0000)] 
Allows UPDATE, INSERT, and DELETEs to occur while a SELECT is pending on
the same table. (CVS 3355)

FossilOrigin-Name: 8c52d2ad468615e50a727adab2977a0bef1bc068

18 years agoTighten an assert (ticket #1920). Change to "sqlite3.h" from <sqlite3.h>
drh [Tue, 15 Aug 2006 14:21:16 +0000 (14:21 +0000)] 
Tighten an assert (ticket #1920).  Change to "sqlite3.h" from <sqlite3.h>
on the sqlite3ext.h header (ticket #1916).  Fix a bug in the test scripts. (CVS 3354)

FossilOrigin-Name: 3ebedbb6f90ec0f9d3bed181f8fb5366f91fc48c

18 years agoChange the table_info pragma to show the text of the default value expression,
drh [Mon, 14 Aug 2006 14:23:41 +0000 (14:23 +0000)] 
Change the table_info pragma to show the text of the default value expression,
not the result of evaluating the default value expression.
Ticket #1919. (CVS 3353)

FossilOrigin-Name: b4d53974c30d195c061cc7605a707d7d30c52740

18 years agoAdjust the Makefile.in so that there are no test errors when using
drh [Sun, 13 Aug 2006 21:49:07 +0000 (21:49 +0000)] 
Adjust the Makefile.in so that there are no test errors when using
the configure script.  Ticket #1918. (CVS 3352)

FossilOrigin-Name: 6a25be921b7255e540952fc213e145ae3b56daf0

18 years agoAdd vdbeaux.c to the list of files that must be compiled with -DSQLITE_TEST=1
drh [Sun, 13 Aug 2006 19:04:18 +0000 (19:04 +0000)] 
Add vdbeaux.c to the list of files that must be compiled with -DSQLITE_TEST=1
in order to generate testfixture.  Do not require sqlit3OsDelete() to
succeed on a multi-database commit.  (Ticket #1917) (CVS 3351)

FossilOrigin-Name: dfc833ac79cb255902b20700d6d8949a66af093f

18 years agoVtab2.test script works regardless of what TCL version is used. (CVS 3350)
drh [Sun, 13 Aug 2006 18:43:54 +0000 (18:43 +0000)] 
Vtab2.test script works regardless of what TCL version is used. (CVS 3350)

FossilOrigin-Name: 6df3f6761a16ac5a02152f3c7f0c0e4944112ada

18 years agoCompile in test code whenever -DSQLITE_TEST=1 is present. Do not rely
drh [Sun, 13 Aug 2006 18:39:26 +0000 (18:39 +0000)] 
Compile in test code whenever -DSQLITE_TEST=1 is present.  Do not rely
on -DSQLITE_DEBUG=1 because somebody might try to run the tests without it. (CVS 3349)

FossilOrigin-Name: 867defe32873ce82b6e1f5ddb8ad12178f2d76d6

19 years agoVersion 3.3.7 (CVS 3348)
drh [Sat, 12 Aug 2006 14:42:57 +0000 (14:42 +0000)] 
Version 3.3.7 (CVS 3348)

FossilOrigin-Name: 85434a4b96389359a15556551cdc72259fc505e8

19 years agoDocumentation changes prior to the release of 3.3.7. (CVS 3347)
drh [Sat, 12 Aug 2006 14:38:46 +0000 (14:38 +0000)] 
Documentation changes prior to the release of 3.3.7. (CVS 3347)

FossilOrigin-Name: c276cca2aafc1b417e12ba7119c65902ef7d61ec

19 years agoFix a bug in out-of-memory processing introduced by check-in (3336). (CVS 3346)
drh [Sat, 12 Aug 2006 13:28:23 +0000 (13:28 +0000)] 
Fix a bug in out-of-memory processing introduced by check-in (3336). (CVS 3346)

FossilOrigin-Name: 8d98a205cbe9948039884947db33f41a63a09062

19 years agoRequire whitespace or punctuation between a numeric literal and an
drh [Sat, 12 Aug 2006 12:33:14 +0000 (12:33 +0000)] 
Require whitespace or punctuation between a numeric literal and an
identifier or keyword.  Ticket #1912. (CVS 3345)

FossilOrigin-Name: 0f667c4abd73bbb806a5efb31b0aba6efaf40fb8

19 years agoMake sure sufficient memory is allocated to hold the collating sequence
drh [Fri, 11 Aug 2006 19:08:27 +0000 (19:08 +0000)] 
Make sure sufficient memory is allocated to hold the collating sequence
pointers for all columns of an ORDER BY clause even if the ORDER BY
clause contains more columns than where originally in the table.
Ticket #1911. (CVS 3344)

FossilOrigin-Name: 924ea730f4dd384d7ef3deca357befd064dac70a

19 years agoFix an reference to an undefined variable introduced by the previous
drh [Tue, 8 Aug 2006 15:42:59 +0000 (15:42 +0000)] 
Fix an reference to an undefined variable introduced by the previous
checkin. (CVS 3343)

FossilOrigin-Name: 73ff3452a0e38f046b7b41bcf653cf5e6848471f

19 years agoRemove most static and global variables from a pure build. There
drh [Tue, 8 Aug 2006 13:51:43 +0000 (13:51 +0000)] 
Remove most static and global variables from a pure build.  There
are still a number of static and global variables used for testing. (CVS 3342)

FossilOrigin-Name: 76e4d4187779097954038e444111f837737e789c

19 years agoReset the schema before checking for outstanding statements inside
drh [Sun, 30 Jul 2006 20:50:44 +0000 (20:50 +0000)] 
Reset the schema before checking for outstanding statements inside
sqlite3_close() so that virtual tables will be disconnected. (CVS 3341)

FossilOrigin-Name: af05c3ca06163ef92ca1ca135302c00b7ddddabf

19 years agoReport any error which occurs in closing the database at exit. Free a
adamd [Fri, 28 Jul 2006 20:16:14 +0000 (20:16 +0000)] 
Report any error which occurs in closing the database at exit.  Free a
couple of strings which were leaking. (CVS 3340)

FossilOrigin-Name: 47353f62ca7635b693718997e792358d16bd117b

19 years agoDisallow writing to, creating or dropping virtual tables from within xSync() callback...
danielk1977 [Wed, 26 Jul 2006 16:22:14 +0000 (16:22 +0000)] 
Disallow writing to, creating or dropping virtual tables from within xSync() callbacks. (CVS 3339)

FossilOrigin-Name: e705d232324c71738b8b25713a134617dd1fc525

19 years agoFix an overzealous assert() in the UTF-16 to UTF-8 converter. (CVS 3338)
drh [Wed, 26 Jul 2006 14:57:30 +0000 (14:57 +0000)] 
Fix an overzealous assert() in the UTF-16 to UTF-8 converter. (CVS 3338)

FossilOrigin-Name: 096bd8212fa06c7271fc24280133d1f0864ffb42

19 years agoAdd a test case to trigger an assertion fault when running
drh [Wed, 26 Jul 2006 14:49:19 +0000 (14:49 +0000)] 
Add a test case to trigger an assertion fault when running
sqlite3_prepare16() with a predefined string size. (CVS 3337)

FossilOrigin-Name: 93878e6ebf703be022f83fd670c1aaaf7d4f1266

19 years agoMore work toward getting sqlite3_interrupt() to work from separate
drh [Wed, 26 Jul 2006 13:43:30 +0000 (13:43 +0000)] 
More work toward getting sqlite3_interrupt() to work from separate
threads.  Ticket #1897. (CVS 3336)

FossilOrigin-Name: e431131d47481f9fc64c498e8934b10a96b0a931

19 years agoInitial attempt at making sqlite3_interrupt() work even when called from
drh [Wed, 26 Jul 2006 01:39:30 +0000 (01:39 +0000)] 
Initial attempt at making sqlite3_interrupt() work even when called from
a separate thread. (CVS 3335)

FossilOrigin-Name: 35fd67d7a0c55797eb460e3bd02c96afe619f026

19 years agoAllow database writes from within virtual table module xSync() callbacks. (CVS 3334)
danielk1977 [Tue, 25 Jul 2006 15:14:52 +0000 (15:14 +0000)] 
Allow database writes from within virtual table module xSync() callbacks. (CVS 3334)

FossilOrigin-Name: d5a608d0a412e13dfced6a3827574a2cff802f25

19 years agoFix lemon so that it does not crash on a empty reduce action. Ticket #1892. (CVS...
drh [Mon, 17 Jul 2006 00:19:39 +0000 (00:19 +0000)] 
Fix lemon so that it does not crash on a empty reduce action.  Ticket #1892. (CVS 3333)

FossilOrigin-Name: 4207ebc4e107df9f9f046be652f061e53263c8dd

19 years agoAdd the "interrupt" method to the TCL interface. Ticket #1889. (CVS 3332)
drh [Mon, 17 Jul 2006 00:02:44 +0000 (00:02 +0000)] 
Add the "interrupt" method to the TCL interface.  Ticket #1889. (CVS 3332)

FossilOrigin-Name: b0d19e575b14778e76ae5d6546fba0d2e9f25e33

19 years agoReset TCL results when onecolumn or eval methods have no reply.
drh [Wed, 12 Jul 2006 00:18:40 +0000 (00:18 +0000)] 
Reset TCL results when onecolumn or eval methods have no reply.
Ticket #1887. (CVS 3331)

FossilOrigin-Name: 9c6090c609afa9906029ed4ba22375f5bee058c4

19 years agoBy default, new databases are now created in the legacy file format - the
drh [Tue, 11 Jul 2006 14:17:51 +0000 (14:17 +0000)] 
By default, new databases are now created in the legacy file format - the
format that ignores DESC on indices.  If you want descending indices, you
must either recompile with -DSQLITE_DEFAULT_FILE_FORMAT=4 or issue
"PRAGMA legacy_file_format=OFF" prior to creating the first table in the
database. (CVS 3330)

FossilOrigin-Name: 65b60f05ce49ff127bf5044f96db36caf1fa0106

19 years agoPrevent memory leak and possible NULL pointer deference after malloc
drh [Tue, 11 Jul 2006 13:15:08 +0000 (13:15 +0000)] 
Prevent memory leak and possible NULL pointer deference after malloc
failure.  Ticket #1886. (CVS 3329)

FossilOrigin-Name: b1f326e6959ef3be11f772e80f5ab6dd65b2d065

19 years agoFix a NULL pointer deference following malloc failure. Bug discovered
drh [Tue, 11 Jul 2006 12:40:25 +0000 (12:40 +0000)] 
Fix a NULL pointer deference following malloc failure.  Bug discovered
by klocwork. (CVS 3328)

FossilOrigin-Name: eb91612f4646b15c2b8398c5225669419b03b531

19 years agoFix a possible NULL-pointer deference following a malloc failure.
drh [Tue, 11 Jul 2006 10:42:36 +0000 (10:42 +0000)] 
Fix a possible NULL-pointer deference following a malloc failure.
Error discovered by Klocwork. (CVS 3327)

FossilOrigin-Name: 368bcf264456f5506260797497bc8d8dc4897e0f

19 years agoBack out the changes of ticket #1687 since they broken the ActiveTcl build. (CVS...
drh [Mon, 10 Jul 2006 21:15:51 +0000 (21:15 +0000)] 
Back out the changes of ticket #1687 since they broken the ActiveTcl build. (CVS 3326)

FossilOrigin-Name: b10d4220dc12728933eae1fcdcebd88a5f92e3a7

19 years agoBetter comment to describe the confusing operand reversal for infix
drh [Sat, 8 Jul 2006 18:41:37 +0000 (18:41 +0000)] 
Better comment to describe the confusing operand reversal for infix
functions. (CVS 3325)

FossilOrigin-Name: 30dfb9bf2131370fe57e000495f5c292d392a010

19 years agoFor infix functions (LIKE, GLOB, REGEXP, and MATCH) treat the left
drh [Sat, 8 Jul 2006 18:34:59 +0000 (18:34 +0000)] 
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

19 years agoAdd tests and minor fixes to the xFindFunction method of virtual tables. (CVS 3323)
drh [Sat, 8 Jul 2006 18:09:15 +0000 (18:09 +0000)] 
Add tests and minor fixes to the xFindFunction method of virtual tables. (CVS 3323)

FossilOrigin-Name: 3c4233e074cb016e2422b2e8f867c99217e9b10e

19 years agoAllow virtual table implementations to overload function that use
drh [Sat, 8 Jul 2006 17:06:43 +0000 (17:06 +0000)] 
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

19 years agoMake the sqlite3_enable_load_extension() interface accessible from the
drh [Thu, 6 Jul 2006 17:08:48 +0000 (17:08 +0000)] 
Make the sqlite3_enable_load_extension() interface accessible from the
TCL bindings. (CVS 3321)

FossilOrigin-Name: ce96b890bbf2f2b9686e19bbb1111a70f6404cb5

19 years agoChange sqlite3_busy_timeout so that it checks for an invalid database
drh [Thu, 6 Jul 2006 10:59:57 +0000 (10:59 +0000)] 
Change sqlite3_busy_timeout so that it checks for an invalid database
pointer. (CVS 3320)

FossilOrigin-Name: 225a9597b21bde7666451fc2eb7695dc35c438bb

19 years agoFix spelling of Perl on the homepage. (CVS 3319)
drh [Sun, 2 Jul 2006 10:21:35 +0000 (10:21 +0000)] 
Fix spelling of Perl on the homepage. (CVS 3319)

FossilOrigin-Name: 255c5a99468c47fed0aaffeeeb28d5af9a99ee11

19 years agoChanges to get tests to pass with OMIT_VIRTUALTABLE. Ticket #1877. (CVS 3318)
drh [Wed, 28 Jun 2006 18:18:09 +0000 (18:18 +0000)] 
Changes to get tests to pass with OMIT_VIRTUALTABLE.  Ticket #1877. (CVS 3318)

FossilOrigin-Name: 60616496b7d97fdda99262e2bab25e625151e857

19 years agoBetter handling of NULL column names. (CVS 3317)
drh [Tue, 27 Jun 2006 20:39:04 +0000 (20:39 +0000)] 
Better handling of NULL column names. (CVS 3317)

FossilOrigin-Name: 9f13972b93a3cac95b4319d3e75343e02a30a38f

19 years agoMove the sqlite3_sleep() and sqlite3_clear_bindings() interfaces into the
drh [Tue, 27 Jun 2006 20:06:44 +0000 (20:06 +0000)] 
Move the sqlite3_sleep() and sqlite3_clear_bindings() interfaces into the
main library and make this official. (CVS 3316)

FossilOrigin-Name: eb3442c44ef1dbf8895195bb08fbeeea315b44c1

19 years agoOff by 1 error in check-in (3314). Note that this change is a likely
drh [Tue, 27 Jun 2006 20:05:23 +0000 (20:05 +0000)] 
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

19 years agoUse the -k option to sort. This allows the build to run on newer unix
drh [Tue, 27 Jun 2006 18:55:09 +0000 (18:55 +0000)] 
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

19 years agoWhen compiling extensions in the load_extension tests, specify a path
drh [Tue, 27 Jun 2006 18:38:51 +0000 (18:38 +0000)] 
When compiling extensions in the load_extension tests, specify a path
for finding include files. (CVS 3313)

FossilOrigin-Name: aee4b669944ccf3888daa9d9e54f16261c64f380

19 years agoPrevent databases from being DETACHed while they are in use. Fix for #1873. (CVS...
danielk1977 [Tue, 27 Jun 2006 16:34:56 +0000 (16:34 +0000)] 
Prevent databases from being DETACHed while they are in use. Fix for #1873. (CVS 3312)

FossilOrigin-Name: 70a48b250bab99c5d9b4ad17c471663b8628e8d2

19 years agoThe ability to load extensions is turned off by default. It must be
drh [Tue, 27 Jun 2006 15:16:14 +0000 (15:16 +0000)] 
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

19 years agoChanges to build successfully with -DSQLITE_OMIT_LOAD_EXTENSION=1 (CVS 3310)
drh [Tue, 27 Jun 2006 14:37:20 +0000 (14:37 +0000)] 
Changes to build successfully with -DSQLITE_OMIT_LOAD_EXTENSION=1 (CVS 3310)

FossilOrigin-Name: 783369e870df9d189fc75c98fa574fe4fc9843d0

19 years agoChanges so that it will build with SQLITE_OMIT_VIRTUALTABLE=1. (CVS 3309)
drh [Tue, 27 Jun 2006 13:20:21 +0000 (13:20 +0000)] 
Changes so that it will build with SQLITE_OMIT_VIRTUALTABLE=1. (CVS 3309)

FossilOrigin-Name: 5612b287059c75488f995625d447c4e9521d1637

19 years agoAll tests pass even if compiled with -DSQLITE_DEFAULT_FILE_FORMAT=1. (CVS 3308)
drh [Tue, 27 Jun 2006 12:51:12 +0000 (12:51 +0000)] 
All tests pass even if compiled with -DSQLITE_DEFAULT_FILE_FORMAT=1. (CVS 3308)

FossilOrigin-Name: 8a49311d2f50cf2ca24776cabcb8ec7418325cb1

19 years agoFix up the test tclvar virtual module. (CVS 3307)
danielk1977 [Tue, 27 Jun 2006 12:24:59 +0000 (12:24 +0000)] 
Fix up the test tclvar virtual module. (CVS 3307)

FossilOrigin-Name: a20bfa46316b9d8f884f147960620fc8e56a7c7f

19 years agoAdditional documentation on the 3.3.0 file format change added to
drh [Tue, 27 Jun 2006 12:24:13 +0000 (12:24 +0000)] 
Additional documentation on the 3.3.0 file format change added to
formatchng.html. (CVS 3306)

FossilOrigin-Name: 955551ca2e66a1f21dae21aa0265906887d7138d

19 years agoFix bug in transfer of arguments from WHERE clause to virtual table xFilter() methods...
danielk1977 [Tue, 27 Jun 2006 12:16:56 +0000 (12:16 +0000)] 
Fix bug in transfer of arguments from WHERE clause to virtual table xFilter() methods. (CVS 3305)

FossilOrigin-Name: cf41f2a33f94c6c94fb39ae6ffcd58bbf9ea88c8

19 years agoMove older news items
drh [Tue, 27 Jun 2006 11:14:13 +0000 (11:14 +0000)] 
Move older news items
to the oldnews.html page. (CVS 3304)

FossilOrigin-Name: 80163ded7d7a8d6897b59df988286f987b221d08

19 years agoIn test code, always use sqlite3_free() instead of free() to free error messages...
danielk1977 [Tue, 27 Jun 2006 07:34:40 +0000 (07:34 +0000)] 
In test code, always use sqlite3_free() instead of free() to free error messages returned by sqlite3_exec(). (CVS 3303)

FossilOrigin-Name: 6521ee5f320e47f8fbd7d6b23929fab431023483

19 years agoMake sure that MATCH terms that a virtual table says should be omitted
drh [Tue, 27 Jun 2006 02:36:58 +0000 (02:36 +0000)] 
Make sure that MATCH terms that a virtual table says should be omitted
really are omitted. (CVS 3302)

FossilOrigin-Name: 3e1f5567dfd306bdb97275a32afd02ea693eaf58

19 years agoCleanup and refactor parts of the optimizer. (CVS 3301)
drh [Tue, 27 Jun 2006 02:33:40 +0000 (02:33 +0000)] 
Cleanup and refactor parts of the optimizer. (CVS 3301)

FossilOrigin-Name: 6609c25fbfa5ad7f55c356936abb1721686c47ca

19 years agoCache and reuse virtual table index information in the optimizer.
drh [Tue, 27 Jun 2006 01:54:26 +0000 (01:54 +0000)] 
Cache and reuse virtual table index information in the optimizer.
Improved diagnostics for virtual table index selection. (CVS 3300)

FossilOrigin-Name: 28413cf2b3f0e6f294e1f3c59fcce135b65c294f

19 years agoExport the sqlite3_bind_value API to loadable extensions. (CVS 3299)
drh [Tue, 27 Jun 2006 00:14:27 +0000 (00:14 +0000)] 
Export the sqlite3_bind_value API to loadable extensions. (CVS 3299)

FossilOrigin-Name: 1ca385bb39514cb73f506bfbbe38aabb6b70816c

19 years agoPublish APIs sqlite3_malloc() and sqlite3_realloc() that use the OS-layer
drh [Mon, 26 Jun 2006 21:35:44 +0000 (21:35 +0000)] 
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

19 years agoRemove the sqlite3_module.zName field which was used only for debugging. (CVS 3297)
drh [Mon, 26 Jun 2006 19:10:32 +0000 (19:10 +0000)] 
Remove the sqlite3_module.zName field which was used only for debugging. (CVS 3297)

FossilOrigin-Name: 74a3961f39b9a045518835b20940471ac97bca66

19 years agoFix a file descriptor leak following malloc failure on DROP TABLE IF EXISTS. (CVS...
drh [Mon, 26 Jun 2006 12:50:09 +0000 (12:50 +0000)] 
Fix a file descriptor leak following malloc failure on DROP TABLE IF EXISTS. (CVS 3296)

FossilOrigin-Name: 6a63f76c8de977b628c4cab258be5a11d7d7def9

19 years agoFix trivial compiler warnings. (CVS 3295)
danielk1977 [Mon, 26 Jun 2006 11:17:50 +0000 (11:17 +0000)] 
Fix trivial compiler warnings. (CVS 3295)

FossilOrigin-Name: 3538beace8ece6339fe8aaf40852ce5e5e7da283

19 years agoSyntax documentation updates. (CVS 3294)
drh [Mon, 26 Jun 2006 10:37:11 +0000 (10:37 +0000)] 
Syntax documentation updates. (CVS 3294)

FossilOrigin-Name: df601a7b374cb6ec21a2e91abf17af4fed404393

19 years ago(OS/2) Armor OS/2 against accidental deletion of files, too (patch by Daniel Kruse...
pweilbacher [Sat, 24 Jun 2006 12:38:59 +0000 (12:38 +0000)] 
(OS/2) Armor OS/2 against accidental deletion of files, too (patch by Daniel Kruse, verified by me) (CVS 3293)

FossilOrigin-Name: f357efb373b8631dbe4455530d060020b070bea2

19 years agoA few more test cases to improve coverage of virtual table module related code. ...
danielk1977 [Sat, 24 Jun 2006 11:51:33 +0000 (11:51 +0000)] 
A few more test cases to improve coverage of virtual table module related code. (CVS 3292)

FossilOrigin-Name: 255aa9121a2ef4fec7fa5523e52969acc96f4b40

19 years agoAdd tests to improve coverage of vtab.c. (CVS 3291)
danielk1977 [Sat, 24 Jun 2006 09:34:22 +0000 (09:34 +0000)] 
Add tests to improve coverage of vtab.c. (CVS 3291)

FossilOrigin-Name: 0c5f4ee39cb76747cf01398867fed2c7ae3edc84

19 years agoEnsure whitespace specified as part of a virtual table constructor argument is correc...
danielk1977 [Sat, 24 Jun 2006 08:51:05 +0000 (08:51 +0000)] 
Ensure whitespace specified as part of a virtual table constructor argument is correctly passed to the constructor function. (CVS 3290)

FossilOrigin-Name: 4630e11d9a697a7fa29a0a1bbca91da4ad2bde7b

19 years agoClean up and clarify code in test8.c. (CVS 3289)
danielk1977 [Sat, 24 Jun 2006 06:36:11 +0000 (06:36 +0000)] 
Clean up and clarify code in test8.c. (CVS 3289)

FossilOrigin-Name: 4acf7594a6c47142e7112d2cd9766a563401879b

19 years agoModify the test cases in tkt1444.test that were failing. I am convinced that the...
danielk1977 [Fri, 23 Jun 2006 14:43:30 +0000 (14:43 +0000)] 
Modify the test cases in tkt1444.test that were failing. I am convinced that the test cases were incorrect. (CVS 3288)

FossilOrigin-Name: 0534f6e15b84560124c3f1abd05f2967d10261c4

19 years agoAllow xDestroy methods to execute "DROP TABLE" statements. (CVS 3287)
danielk1977 [Fri, 23 Jun 2006 14:32:08 +0000 (14:32 +0000)] 
Allow xDestroy methods to execute "DROP TABLE" statements. (CVS 3287)

FossilOrigin-Name: a56bfa560425a5dc9273229f8838471dfc402024

19 years agoFix some memory leaks that occur when malloc() fails. (CVS 3286)
danielk1977 [Fri, 23 Jun 2006 11:34:54 +0000 (11:34 +0000)] 
Fix some memory leaks that occur when malloc() fails. (CVS 3286)

FossilOrigin-Name: b56cc035f2be5c1a3f63efbb4c181e405a140fbb

19 years agoAdd tests and fixes for handling malloc() failures related to the virtual table featu...
danielk1977 [Fri, 23 Jun 2006 08:05:19 +0000 (08:05 +0000)] 
Add tests and fixes for handling malloc() failures related to the virtual table feature. (CVS 3285)

FossilOrigin-Name: 5d1d907189ff3ca7afada83033280cf258984ac0

19 years agoTest the handling of errors in virtual table methods. (CVS 3284)
danielk1977 [Thu, 22 Jun 2006 09:53:48 +0000 (09:53 +0000)] 
Test the handling of errors in virtual table methods. (CVS 3284)

FossilOrigin-Name: 51b729d9d9f8a60cdfb552809e4aa10012f4eb68

19 years agoMake the last_insert_rowid method in the TCL interface work with
drh [Wed, 21 Jun 2006 19:30:34 +0000 (19:30 +0000)] 
Make the last_insert_rowid method in the TCL interface work with
64-bit rowids. (CVS 3283)

FossilOrigin-Name: d50c37975de7639627422cbed40eb03a431874d5

19 years agoAdd the database name to the parameters passed to virtual table module xCreate and...
danielk1977 [Wed, 21 Jun 2006 16:02:42 +0000 (16:02 +0000)] 
Add the database name to the parameters passed to virtual table module xCreate and xConnect methods. (CVS 3282)

FossilOrigin-Name: 2d2805785f473afc202df532df84c45e6f0dc0f1

19 years agoAdd the table name to the arguments passed to the virtual table methods xCreate/xConn...
danielk1977 [Wed, 21 Jun 2006 13:21:50 +0000 (13:21 +0000)] 
Add the table name to the arguments passed to the virtual table methods xCreate/xConnect. (CVS 3281)

FossilOrigin-Name: 7dc36d1c798aa8b30b88a528fc9e69b342f278c7

19 years agoAdd tests to make sure altering or adding an index to a virtual table is prohibited...
danielk1977 [Wed, 21 Jun 2006 12:36:25 +0000 (12:36 +0000)] 
Add tests to make sure altering or adding an index to a virtual table is prohibited. (CVS 3280)

FossilOrigin-Name: 6c3e8852ffbaf5ab52ffdf7ed3767fa1d4fd5882

19 years agoTest cases for accessing virtual tables when the corresponding module is undefined...
danielk1977 [Wed, 21 Jun 2006 07:34:11 +0000 (07:34 +0000)] 
Test cases for accessing virtual tables when the corresponding module is undefined. (CVS 3279)

FossilOrigin-Name: bcef48c54dd01cf089db16192e670cb0717988ac