]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
16 years agoAdditional coverage testing in the new name resolver module. (CVS 5608)
drh [Mon, 25 Aug 2008 12:14:08 +0000 (12:14 +0000)] 
Additional coverage testing in the new name resolver module. (CVS 5608)

FossilOrigin-Name: 0d61960afd35721d6d07acd75288c20d2cd6fda1

16 years agoTwo if statements should be asserts. GCC was silently ignoring them,
drh [Mon, 25 Aug 2008 12:08:22 +0000 (12:08 +0000)] 
Two if statements should be asserts.  GCC was silently ignoring them,
hence the problem did not show up in coverage testing.
Ticket #3333. (CVS 5607)

FossilOrigin-Name: 635933b1cae6c43656260555089952e2925c3292

16 years agoFix a segfault that can occur when running integrity_check on a corrupt db. (CVS...
danielk1977 [Mon, 25 Aug 2008 11:57:16 +0000 (11:57 +0000)] 
Fix a segfault that can occur when running integrity_check on a corrupt db. (CVS 5606)

FossilOrigin-Name: eae959ede1b2b50190c60de9249cf141c3031ce2

16 years agoIf the sector size is greater than the database page size, SQLite journals all pages...
danielk1977 [Mon, 25 Aug 2008 07:12:28 +0000 (07:12 +0000)] 
If the sector size is greater than the database page size, SQLite journals all pages that lie within a sector before writing to any of them. This change ensure that a journal sync does not occur halfway through journalling the set of pages that belong to a single sector. (CVS 5605)

FossilOrigin-Name: 16f612d61e00938f29ecae4ebfe598be7a8709a8

16 years agoInstead of marking a page as clean when sqlite3PagerDontWrite() is called, set a...
danielk1977 [Sat, 23 Aug 2008 18:53:08 +0000 (18:53 +0000)] 
Instead of marking a page as clean when sqlite3PagerDontWrite() is called, set a dedictated flag - PGHDR_DONT_WRITE. (CVS 5604)

FossilOrigin-Name: a323bd29a600abddbcc2cc9961ab84d82cccc5e5

16 years agoDo not incorrectly detect corruption when an auto-vacuum database is converted to...
danielk1977 [Sat, 23 Aug 2008 16:17:55 +0000 (16:17 +0000)] 
Do not incorrectly detect corruption when an auto-vacuum database is converted to a non-auto-vacuum database within a vacuum. Ticket #3332. (CVS 5603)

FossilOrigin-Name: cb869946d68f2abbd1322fababbe4aa74a4e08aa

16 years agoquieting compiler warning about pointer/int conversion size mismatch (CVS 5602)
aswift [Fri, 22 Aug 2008 18:41:37 +0000 (18:41 +0000)] 
quieting compiler warning about pointer/int conversion size mismatch (CVS 5602)

FossilOrigin-Name: f8a70501c234545b3030144ac6bcbfaa0d2b0069

16 years agoRemove dead code. (CVS 5601)
drh [Fri, 22 Aug 2008 17:34:45 +0000 (17:34 +0000)] 
Remove dead code. (CVS 5601)

FossilOrigin-Name: 6de9c084fc533fbb22af6a4cd3e4e9a461b13876

16 years agoadd legacy.lo back (in alphabetical order) (CVS 5600)
pweilbacher [Fri, 22 Aug 2008 17:28:45 +0000 (17:28 +0000)] 
add legacy.lo back (in alphabetical order) (CVS 5600)

FossilOrigin-Name: a861aa73c4913c468315e6b5c5a2706150082280

16 years agoRelinquish the pcache mutex before calling an xStress callback. This ensures that...
danielk1977 [Fri, 22 Aug 2008 17:09:49 +0000 (17:09 +0000)] 
Relinquish the pcache mutex before calling an xStress callback. This ensures that the pcache mutex is never held while IO is performed. (CVS 5599)

FossilOrigin-Name: 8fe234b2ca1292955162d38922a45c93004fb6ae

16 years agoEnhanced test coverage. (CVS 5598)
drh [Fri, 22 Aug 2008 16:29:51 +0000 (16:29 +0000)] 
Enhanced test coverage. (CVS 5598)

FossilOrigin-Name: cc36b4e016a1f519ca81d591de3a551ee8aa6813

16 years agoWhen recycling a page, try to find one that does not require a call to xSync() on...
danielk1977 [Fri, 22 Aug 2008 16:22:17 +0000 (16:22 +0000)] 
When recycling a page, try to find one that does not require a call to xSync() on the journal file. Also simplify some of the mutex related things in pcache. (CVS 5597)

FossilOrigin-Name: 93dbc5427bebaa0b3d726731027caad3f70611c7

16 years agoMake sure the function context is fully initialized before invoking the
drh [Fri, 22 Aug 2008 14:41:00 +0000 (14:41 +0000)] 
Make sure the function context is fully initialized before invoking the
function finalizer.  Ticket #3326. (CVS 5596)

FossilOrigin-Name: 8496f4a00a7e62006956e58f3d50c6c4de5347e4

16 years agoRemove unused variable from printf.c. Ticket #3331. (CVS 5595)
drh [Fri, 22 Aug 2008 14:08:35 +0000 (14:08 +0000)] 
Remove unused variable from printf.c.  Ticket #3331. (CVS 5595)

FossilOrigin-Name: 7fd11f4ad8774e68f0a053eb2e1dd962a024da48

16 years agoremove OS/2 compiler flags that aren't really necessary (CVS 5594)
pweilbacher [Fri, 22 Aug 2008 13:58:55 +0000 (13:58 +0000)] 
remove OS/2 compiler flags that aren't really necessary (CVS 5594)

FossilOrigin-Name: b688c68c3d70dc69adc2d1a08ddcf5899a115646

16 years agofix some tests to take the right branch on OS/2 (hope I got the Tcl syntax right...
pweilbacher [Fri, 22 Aug 2008 13:57:39 +0000 (13:57 +0000)] 
fix some tests to take the right branch on OS/2 (hope I got the Tcl syntax right) (CVS 5593)

FossilOrigin-Name: 10e62d4700c99faf07140a8204d3cd81481206ac

16 years agoHide (for non-debugging builds) and remove DELETEONCLOSE files on OS/2, following...
pweilbacher [Fri, 22 Aug 2008 13:47:56 +0000 (13:47 +0000)] 
Hide (for non-debugging builds) and remove DELETEONCLOSE files on OS/2, following the Windows example. Ticket #3328. (CVS 5592)

FossilOrigin-Name: 8aaa77000fb86fe512405a0ad40cb08678a12198

16 years agoFix nuisance compiler warnings. Ticket #3309. (CVS 5591)
drh [Fri, 22 Aug 2008 12:57:08 +0000 (12:57 +0000)] 
Fix nuisance compiler warnings.  Ticket #3309. (CVS 5591)

FossilOrigin-Name: 2a365e29944f9fd45ca2903875a8c2e2759c9492

16 years agoAdd test case to verify that Ticket #3301 was fixed by (5569) (CVS 5590)
drh [Fri, 22 Aug 2008 12:46:45 +0000 (12:46 +0000)] 
Add test case to verify that Ticket #3301 was fixed by (5569) (CVS 5590)

FossilOrigin-Name: 73b260686264a31f43211efb235e4e0121115a50

16 years agoAllow the WHERE clause in an UPDATE or DELETE against a view with an
drh [Fri, 22 Aug 2008 12:30:52 +0000 (12:30 +0000)] 
Allow the WHERE clause in an UPDATE or DELETE against a view with an
INSTEAD OF trigger to refer to the view by name.  Ticket #3298. (CVS 5589)

FossilOrigin-Name: 7360e5d1f37ed6672f336b625b3c90d060e0a020

16 years agoFix os_unix.c so that it will compile on Linux again. (CVS 5588)
drh [Fri, 22 Aug 2008 00:47:53 +0000 (00:47 +0000)] 
Fix os_unix.c so that it will compile on Linux again. (CVS 5588)

FossilOrigin-Name: 2416708208357304904e38b2d36081a1adf5e44b

16 years agoDeferring file descriptor closing to avoid trashing locks when directly manipulating...
aswift [Fri, 22 Aug 2008 00:25:52 +0000 (00:25 +0000)] 
Deferring file descriptor closing to avoid trashing locks when directly manipulating sqlite db file contents (causes errors on AFP testing) (CVS 5587)

FossilOrigin-Name: e28a2870b49509502529892ff8ddb9fcf3a27173

16 years agoAdded SQLITE_IOERR_LOCK extended error code and support for detecting and returning...
aswift [Fri, 22 Aug 2008 00:22:35 +0000 (00:22 +0000)] 
Added SQLITE_IOERR_LOCK extended error code and support for detecting and returning errors in the os_unix lock, unlock and check reserved lock variants, also added support for populating and returning system error codes so that they can be accessed via xGetLastError, unfortunately xGetLastError can't seem to access the unixFile structure where the lastErrno is recorded. (CVS 5586)

FossilOrigin-Name: c1af14e2b6bf5af0aff3df3adbe8cb9aabe1c4a3

16 years agoMove date+time functions to start-time initialization. Additional
drh [Thu, 21 Aug 2008 20:21:34 +0000 (20:21 +0000)] 
Move date+time functions to start-time initialization.  Additional
start-time function cleanup. (CVS 5585)

FossilOrigin-Name: 80d6a31cb3851704c09ac9d99fe4bc241df3c180

16 years agoRemove references to OP_MoveTo in comments of vdbe.c - that opcode no
drh [Thu, 21 Aug 2008 19:28:30 +0000 (19:28 +0000)] 
Remove references to OP_MoveTo in comments of vdbe.c - that opcode no
longer exists.  Ticket #3327. (CVS 5584)

FossilOrigin-Name: 30077ece459b515338723ca0dab11c18b9f09d21

16 years agoInitialize the global built-in function table at start-time
drh [Thu, 21 Aug 2008 18:49:27 +0000 (18:49 +0000)] 
Initialize the global built-in function table at start-time
instead of at compile-time.  This is less prone to malfunction when
compile-time parameters very. (CVS 5583)

FossilOrigin-Name: ef6936e50adb9ebea39c890167403fff01bbb5ed

16 years agoFix soft-heap-limit related test suite failures. (CVS 5582)
danielk1977 [Thu, 21 Aug 2008 15:54:01 +0000 (15:54 +0000)] 
Fix soft-heap-limit related test suite failures. (CVS 5582)

FossilOrigin-Name: 2091d9a5260b1d7e27ff5ca93e60dae1e3b12081

16 years agoIncrease the version number in preparation for the next release. (CVS 5581)
drh [Thu, 21 Aug 2008 15:13:43 +0000 (15:13 +0000)] 
Increase the version number in preparation for the next release. (CVS 5581)

FossilOrigin-Name: d68dad73d0a85c6213a96982d0366c790871b693

16 years agoMake sure "rowid" columns in views are named correctly. Ticket #3308. (CVS 5580)
drh [Thu, 21 Aug 2008 14:54:28 +0000 (14:54 +0000)] 
Make sure "rowid" columns in views are named correctly.  Ticket #3308. (CVS 5580)

FossilOrigin-Name: 8593218c7c8016fbdbcc223db951751eaba9c0dd

16 years agoAdd test cases to verify that ticket #3314 has been fixed. (CVS 5579)
drh [Thu, 21 Aug 2008 14:24:29 +0000 (14:24 +0000)] 
Add test cases to verify that ticket #3314 has been fixed. (CVS 5579)

FossilOrigin-Name: b46267ff07f9b967bb7aee16b6d9dd8d0bd23f0c

16 years agoReinsert an SCopy operation that was removed in (5523) because coverage
drh [Thu, 21 Aug 2008 14:15:59 +0000 (14:15 +0000)] 
Reinsert an SCopy operation that was removed in (5523) because coverage
testing indicated that it was dead code.  Ticket #3324 shows that the
code was not as dead as we thought it was. (CVS 5578)

FossilOrigin-Name: 6855711595b58d4b6fbaf9480720b788904d0e2d

16 years agoPatch to mkfunction to try and detect miscompiles. Add an unimportant
drh [Thu, 21 Aug 2008 12:32:11 +0000 (12:32 +0000)] 
Patch to mkfunction to try and detect miscompiles.  Add an unimportant
assert back to pcache.c. (CVS 5577)

FossilOrigin-Name: a2f375fffb49b6f6adbfd59d24e9c6a170fd5ebb

16 years agoFix the functionality associated with sqlite3_release_memory() and sqlite3_soft_heap_...
danielk1977 [Thu, 21 Aug 2008 12:19:44 +0000 (12:19 +0000)] 
Fix the functionality associated with sqlite3_release_memory() and sqlite3_soft_heap_limit(). It is automatically disabled if the SQLITE_CONFIG_PAGECACHE option is used. (CVS 5576)

FossilOrigin-Name: d025866b09352b32a6d35b97144eaad2fafb7165

16 years agoMove an assert() in sqlite3PcacheDirtyPage() so that it does not occur before local...
danielk1977 [Thu, 21 Aug 2008 04:41:01 +0000 (04:41 +0000)] 
Move an assert() in sqlite3PcacheDirtyPage() so that it does not occur before local variable declarations. Ticket #3325. (CVS 5575)

FossilOrigin-Name: 899fa19d1ab9c40a2ffc1c5170476292d0509e33

16 years agoRemove leftover PGHDR_TO_DATA macro from pager.c. Ticket #3323. (CVS 5574)
danielk1977 [Thu, 21 Aug 2008 04:35:18 +0000 (04:35 +0000)] 
Remove leftover PGHDR_TO_DATA macro from pager.c. Ticket #3323. (CVS 5574)

FossilOrigin-Name: 5e9559c0490b9e0395e1da4d36bd33942350978c

16 years agoModify the sqlite3VdbeUnpackRecord() interface to force the temporary
drh [Wed, 20 Aug 2008 22:06:47 +0000 (22:06 +0000)] 
Modify the sqlite3VdbeUnpackRecord() interface to force the temporary
space to be 8-byte aligned.  This might be important for Sparc.
Ticket #3318. (CVS 5573)

FossilOrigin-Name: 00b177985ee08f13a7781d095936da3beaf0408c

16 years agoComment and function naming tweaks to pcache. No functionality changes. (CVS 5572)
drh [Wed, 20 Aug 2008 21:47:45 +0000 (21:47 +0000)] 
Comment and function naming tweaks to pcache.  No functionality changes. (CVS 5572)

FossilOrigin-Name: 4b0e67d397236c740bea88ad3a5912abe896322a

16 years agoModify the lemon parser template to avoid using zero-initialized constants
drh [Wed, 20 Aug 2008 17:48:21 +0000 (17:48 +0000)] 
Modify the lemon parser template to avoid using zero-initialized constants
when compiled with C++.  Ticket #3288. (CVS 5571)

FossilOrigin-Name: 71992f4a3723418df5f16093aec92f1f95f0b604

16 years agoFix a problem in Makefile.in causing the static function hash-table to be constructed...
danielk1977 [Wed, 20 Aug 2008 17:19:09 +0000 (17:19 +0000)] 
Fix a problem in Makefile.in causing the static function hash-table to be constructed incorrectly (segfault). (CVS 5570)

FossilOrigin-Name: aef5b909e960c31527c795bc09a1de846f8afcbb

16 years agoRefactor the name resolution procedures in the code generator. (CVS 5569)
drh [Wed, 20 Aug 2008 16:35:10 +0000 (16:35 +0000)] 
Refactor the name resolution procedures in the code generator. (CVS 5569)

FossilOrigin-Name: daf730d1defa78fb8b80a78f9108ac35a13e09f6

16 years agoWhen a "pragma main.table_info(...)" is issued, consider only tables from the main...
danielk1977 [Wed, 20 Aug 2008 16:34:24 +0000 (16:34 +0000)] 
When a "pragma main.table_info(...)" is issued, consider only tables from the main database, not the temp db. Ticket #3320. (CVS 5568)

FossilOrigin-Name: d0cfbbbaeef7b8ce9f73c6cd58888989a2df5b1f

16 years agoFix typo in main.c: SQLITE_MAX_ATTACH -> SQLITE_MAX_ATTACHED. Ticket #3319. (CVS...
danielk1977 [Wed, 20 Aug 2008 16:21:12 +0000 (16:21 +0000)] 
Fix typo in main.c: SQLITE_MAX_ATTACH -> SQLITE_MAX_ATTACHED. Ticket #3319. (CVS 5567)

FossilOrigin-Name: 66ff55efd688703fe99143e4c17e8d5f119d0690

16 years agoAdd the pcache module from the experimental branch. Also change things so that most...
danielk1977 [Wed, 20 Aug 2008 14:49:23 +0000 (14:49 +0000)] 
Add the pcache module from the experimental branch. Also change things so that most of the built-in SQL functions are kept in single static hash-table, rather than creating and populating a separate hash table for each open database connection. (CVS 5566)

FossilOrigin-Name: cb494e10d71852024647aaa254203579ad438ea9

16 years agoDo not flatten the right term of a LEFT join. Ticket #3300. (CVS 5565)
drh [Thu, 14 Aug 2008 00:19:48 +0000 (00:19 +0000)] 
Do not flatten the right term of a LEFT join.  Ticket #3300. (CVS 5565)

FossilOrigin-Name: 8947c72f93d0b79c8061a3bfd5ab595edfb155a5

16 years agoExplicit casts of the return from strlen() to int in lemon. This has
drh [Wed, 13 Aug 2008 20:09:06 +0000 (20:09 +0000)] 
Explicit casts of the return from strlen() to int in lemon.  This has
no effect on SQLite.  It has no effect on any lemon-generated parser
with a grammar that is less than 2GB in size.  Ticket #3293. (CVS 5564)

FossilOrigin-Name: a519cdb2f46fffe16e666f161479a22463616cb3

16 years agoFix token destructors in lemon generated parsers. Does not effect SQLite.
drh [Wed, 13 Aug 2008 20:04:29 +0000 (20:04 +0000)] 
Fix token destructors in lemon generated parsers.  Does not effect SQLite.
Ticket #3299. (CVS 5563)

FossilOrigin-Name: 4887e8fc4af9e2963b3eff3187dee5b0d6297eb5

16 years agoAdditional changes toward fixing ticket #3292. (CVS 5562)
drh [Wed, 13 Aug 2008 19:11:48 +0000 (19:11 +0000)] 
Additional changes toward fixing ticket #3292. (CVS 5562)

FossilOrigin-Name: 0b92cbf5255020d4fde382f81590ff0488936667

16 years agoA partial fix for ticket #3292. This fixes the original problem but there
drh [Wed, 13 Aug 2008 14:07:40 +0000 (14:07 +0000)] 
A partial fix for ticket #3292.  This fixes the original problem but there
are other similar problems lurking in the code still. (CVS 5561)

FossilOrigin-Name: 055f173ab1b6fb657bf817faa3a37335d8fa60d5

17 years agoMake sure the lookaside test script saturates the lookaside buffer even
drh [Tue, 12 Aug 2008 15:48:25 +0000 (15:48 +0000)] 
Make sure the lookaside test script saturates the lookaside buffer even
when SQLITE_DEBUG is off.  Ticket #3289 (CVS 5560)

FossilOrigin-Name: d6aacc5dc7c06f97fb5faa3d85a8f2d8ab0dd554

17 years agoRevise the initialization and shutdown logic so that it no longer keeps
drh [Tue, 12 Aug 2008 15:21:11 +0000 (15:21 +0000)] 
Revise the initialization and shutdown logic so that it no longer keeps
a recursive mutex allocated for the whole interval but instead releases
the mutex as soon as possible.  Do not reset status values upon initialization. (CVS 5559)

FossilOrigin-Name: 697fe7a3167c22a3232ce154e9d47cf75af613c4

17 years agoFix further warnings/compilation errors in test code. (CVS 5558)
danielk1977 [Tue, 12 Aug 2008 15:04:58 +0000 (15:04 +0000)] 
Fix further warnings/compilation errors in test code. (CVS 5558)

FossilOrigin-Name: 42247b917ae5a5c0d81b934200810755d0040282

17 years agoDocumentation updates and clarifications in sqlite.h.in. (CVS 5557)
drh [Tue, 12 Aug 2008 14:51:29 +0000 (14:51 +0000)] 
Documentation updates and clarifications in sqlite.h.in. (CVS 5557)

FossilOrigin-Name: e3935502fdca486613c8116b6057bfdd37545e58

17 years agoFix warnings and a compilation error in test code. (CVS 5556)
danielk1977 [Tue, 12 Aug 2008 14:48:40 +0000 (14:48 +0000)] 
Fix warnings and a compilation error in test code. (CVS 5556)

FossilOrigin-Name: 80c129e63ec7dbed3de1e485dffea96fae40aa6d

17 years agoGCC attribute warning first appears in the 4.3.0 docs, so updated #if to specify...
shane [Mon, 11 Aug 2008 20:07:47 +0000 (20:07 +0000)] 
GCC attribute warning first appears in the 4.3.0 docs, so updated #if to specify at least that version. (CVS 5555)

FossilOrigin-Name: 46defad516bccb9921326bb4750251a3f7b5a869

17 years agoMake the CLI more tolerant of malformed schemas by setting the
drh [Mon, 11 Aug 2008 19:12:34 +0000 (19:12 +0000)] 
Make the CLI more tolerant of malformed schemas by setting the
writable_schema pragma prior to running the ".dump" command. (CVS 5554)

FossilOrigin-Name: 860babd841a7744eb8ba0e4f325fc10b348ed78b

17 years agoDo not allow indexing of any table whose name begins with "sqlite_".
drh [Mon, 11 Aug 2008 18:44:58 +0000 (18:44 +0000)] 
Do not allow indexing of any table whose name begins with "sqlite_".
Ticket #3284.  Improve handling of databases with malformed schemas -
just in case somebody has actually indexed a system table. (CVS 5553)

FossilOrigin-Name: 0e1d8d14a153483e65bd0246d23db2b823a122d1

17 years agoThe GCC magic to warn about experimental interfaces does not work
drh [Mon, 11 Aug 2008 18:29:38 +0000 (18:29 +0000)] 
The GCC magic to warn about experimental interfaces does not work
on gcc version 4.1.0.  Add #ifdefs to work around this. (CVS 5552)

FossilOrigin-Name: 90cae83169de980c6548ca6b57f4c65419e8eb13

17 years agoAdded SQLITE_EXPERIMENTAL and SQLITE_DEPRECATED tags to APIs to take advantage of...
shane [Mon, 11 Aug 2008 17:27:01 +0000 (17:27 +0000)] 
Added SQLITE_EXPERIMENTAL and SQLITE_DEPRECATED tags to APIs to take advantage of compiler warnings (with the necessary function attributes.)  Ticket #3142. (CVS 5551)

FossilOrigin-Name: 5f4b547aba56564cebfdd442d2171c1c8c2979ba

17 years agoDisallow empty triggers. Ticket #3283. This does not present a backwards
drh [Mon, 11 Aug 2008 14:26:35 +0000 (14:26 +0000)] 
Disallow empty triggers.  Ticket #3283.  This does not present a backwards
compatibility problem because prior to this change, an empty trigger would
segfault. (CVS 5550)

FossilOrigin-Name: 571adab9d2215fac6ed375257a070b8ffa9d9808

17 years agoMove a variable initialization earlier to work around MS compiler complaints. (CVS...
drh [Fri, 8 Aug 2008 18:06:25 +0000 (18:06 +0000)] 
Move a variable initialization earlier to work around MS compiler complaints. (CVS 5549)

FossilOrigin-Name: 02232e71441efc75e0729423f635ce21809fe412

17 years agoBack out part of (5546): Even though ON CONFLICT clauses on CHECK constraints
drh [Fri, 8 Aug 2008 15:06:21 +0000 (15:06 +0000)] 
Back out part of (5546):  Even though ON CONFLICT clauses on CHECK constraints
are no-ops, if a schema includes them, the database will be unreadable if
we do not at least parse and ignore the clause. (CVS 5548)

FossilOrigin-Name: efcaeb68f943daf135972ae045eff1ca157a7f22

17 years agoRound lookaside buffer sizes in the right direction. Ticket #3277. (CVS 5547)
drh [Fri, 8 Aug 2008 14:33:12 +0000 (14:33 +0000)] 
Round lookaside buffer sizes in the right direction.  Ticket #3277. (CVS 5547)

FossilOrigin-Name: c1a9bf3863b7bcc69885e4637f18c6532075f982

17 years agoDisallow the ON CONFLICT clause on CHECK constraints. The syntax used to be
drh [Fri, 8 Aug 2008 14:19:41 +0000 (14:19 +0000)] 
Disallow the ON CONFLICT clause on CHECK constraints.  The syntax used to be
allowed but never worked, so this should not present compatibility problems.
Other internal grammar simplifications. (CVS 5546)

FossilOrigin-Name: 4cedc641ed39982ae8cbb9200aa1e2f37c878b73

17 years agoImproved clarity of presentation in the tokenizer. (CVS 5545)
drh [Thu, 7 Aug 2008 13:05:34 +0000 (13:05 +0000)] 
Improved clarity of presentation in the tokenizer. (CVS 5545)

FossilOrigin-Name: 732657c6a639bdf71a3341f6747d19298d442ddb

17 years agoFix compilation with SQLITE_OMIT_FOREIGN_KEY defined. Ticket #3273. (CVS 5544)
danielk1977 [Wed, 6 Aug 2008 13:47:40 +0000 (13:47 +0000)] 
Fix compilation with SQLITE_OMIT_FOREIGN_KEY defined. Ticket #3273. (CVS 5544)

FossilOrigin-Name: ce8cbeea51442ea963bcdf5ddc71f021fb996a37

17 years agoFix typo in comments in sqlite.h.in. Ticket #3271. (CVS 5543)
danielk1977 [Wed, 6 Aug 2008 13:40:13 +0000 (13:40 +0000)] 
Fix typo in comments in sqlite.h.in. Ticket #3271. (CVS 5543)

FossilOrigin-Name: 18030631e82c70e0d4d6093cd43fb0c0fa6d53c8

17 years agoVersion 3.6.1 (CVS 5540)
drh [Wed, 6 Aug 2008 10:50:00 +0000 (10:50 +0000)] 
Version 3.6.1 (CVS 5540)

FossilOrigin-Name: 65ab777fd0a29ca99a240411b94ac83041f90c98

17 years agoTrying again to fix the publish.sh script. (CVS 5542)
drh [Wed, 6 Aug 2008 10:47:01 +0000 (10:47 +0000)] 
Trying again to fix the publish.sh script. (CVS 5542)

FossilOrigin-Name: 01fb8a0d2ca1d7ac31316cef1675dc9852265db6

17 years agoFix the tarball builder in publish.sh to exclude CVS and Fossil files. (CVS 5541)
drh [Wed, 6 Aug 2008 10:43:50 +0000 (10:43 +0000)] 
Fix the tarball builder in publish.sh to exclude CVS and Fossil files. (CVS 5541)

FossilOrigin-Name: 43896f10086c7c34f8775cd56e4bd59919a3c6b7

17 years agoRevise build scripts in set SQLITE_ENABLE_COLUMN_METADATA on DLLs. (CVS 5539)
drh [Tue, 5 Aug 2008 21:42:37 +0000 (21:42 +0000)] 
Revise build scripts in set SQLITE_ENABLE_COLUMN_METADATA on DLLs. (CVS 5539)

FossilOrigin-Name: ce5daa0359a05f992546f23a3fe8285ffb132204

17 years agoRemove a reference to snprintf() in test8.c. (CVS 5538)
drh [Tue, 5 Aug 2008 21:36:06 +0000 (21:36 +0000)] 
Remove a reference to snprintf() in test8.c. (CVS 5538)

FossilOrigin-Name: 32d32b743642c2f6d9e4f8845a9cd07e4f83f4cd

17 years agoAdd SQLITE_STATUS_PAGECACHE_SIZE and SQLITE_STATUS_SCRATCH_SIZE. (CVS 5537)
drh [Tue, 5 Aug 2008 17:53:22 +0000 (17:53 +0000)] 
Add SQLITE_STATUS_PAGECACHE_SIZE and SQLITE_STATUS_SCRATCH_SIZE. (CVS 5537)

FossilOrigin-Name: c4e9b824062ba82a8db01cd82e3e681de1940208

17 years agoSeparate verbs of sqlite3_config() and sqlite3_db_config() into their
drh [Mon, 4 Aug 2008 20:13:26 +0000 (20:13 +0000)] 
Separate verbs of sqlite3_config() and sqlite3_db_config() into their
own namespaces.  Allow SQLITE3_DBCONFIG_LOOKASIDE to specific an external
memory buffer. (CVS 5536)

FossilOrigin-Name: 5dd865da5e787c10ef4c9e96647724bfab9dea01

17 years agoModify the configure script to avoid using the += operator. Not all shells support...
danielk1977 [Mon, 4 Aug 2008 14:50:05 +0000 (14:50 +0000)] 
Modify the configure script to avoid using the += operator. Not all shells support it. (CVS 5535)

FossilOrigin-Name: f167b2745d491a1adb2b6c869b2169cd6fa53af8

17 years agoEnhanced markings for experimental and deprecated interfaces. (CVS 5534)
drh [Mon, 4 Aug 2008 13:44:57 +0000 (13:44 +0000)] 
Enhanced markings for experimental and deprecated interfaces. (CVS 5534)

FossilOrigin-Name: 7e6ec5d53d9e002848fa437ec21bf009798a9a3b

17 years agoMake it easier to build with the icu extension enabled. Include icu.c in the amalgama...
danielk1977 [Mon, 4 Aug 2008 11:49:20 +0000 (11:49 +0000)] 
Make it easier to build with the icu extension enabled. Include icu.c in the amalgamation source. Ticket #3245. (CVS 5533)

FossilOrigin-Name: e42ff97ba7d9fcda699a63fc8bc609d559498180

17 years agoAdd an assert() statement that will alert us if the potential problem identified...
danielk1977 [Mon, 4 Aug 2008 04:39:48 +0000 (04:39 +0000)] 
Add an assert() statement that will alert us if the potential problem identified by #3243 ever becomes a reality. (CVS 5532)

FossilOrigin-Name: 34208f0ba420ca6bef16991eba200d5ed68d5430

17 years agoAdd the pkgconfigdir variable to Makefile.in. Ticket #3242. (CVS 5531)
danielk1977 [Mon, 4 Aug 2008 04:28:18 +0000 (04:28 +0000)] 
Add the pkgconfigdir variable to Makefile.in. Ticket #3242. (CVS 5531)

FossilOrigin-Name: 540c9d4c0daf9ddf07c95bb3eb9f294a2dd0285d

17 years agoFix (make test) with SQLITE_OMIT_COMPOUND_SELECT. Ticket #3235. (CVS 5530)
danielk1977 [Mon, 4 Aug 2008 03:51:24 +0000 (03:51 +0000)] 
Fix (make test) with SQLITE_OMIT_COMPOUND_SELECT. Ticket #3235. (CVS 5530)

FossilOrigin-Name: 9ca975c8fdeaae7d5af8fe62e097d8d251362cfe

17 years agoremoved some extraneous blank lines. made sure to use only LF line endings. (CVS...
shane [Mon, 4 Aug 2008 01:46:55 +0000 (01:46 +0000)] 
removed some extraneous blank lines.  made sure to use only LF line endings. (CVS 5529)

FossilOrigin-Name: 358bd6609ebffa293a9a98fae14924b8162332d8

17 years agoTest scripts revised to work when auto_vacuum defaults on. (CVS 5528)
drh [Sat, 2 Aug 2008 20:09:36 +0000 (20:09 +0000)] 
Test scripts revised to work when auto_vacuum defaults on. (CVS 5528)

FossilOrigin-Name: e63186b0b6defce9ce16b3c334887c1f5a0bfcf0

17 years agoFix a reference count leak introduced by (5526). (CVS 5527)
danielk1977 [Sat, 2 Aug 2008 17:36:45 +0000 (17:36 +0000)] 
Fix a reference count leak introduced by (5526). (CVS 5527)

FossilOrigin-Name: f653995c32197cacbcd14ea9e876ba5b2fde94df

17 years agoAvoid doing IO purely to check assert() constraints. (CVS 5526)
danielk1977 [Sat, 2 Aug 2008 17:03:31 +0000 (17:03 +0000)] 
Avoid doing IO purely to check assert() constraints. (CVS 5526)

FossilOrigin-Name: fb26ae723959390a716f221af93c6c29eec16955

17 years agoFix a bug introduced by (5519) causing builds with SQLITE_OMIT_VIRTUALTABLE to malfun...
danielk1977 [Sat, 2 Aug 2008 15:32:39 +0000 (15:32 +0000)] 
Fix a bug introduced by (5519) causing builds with SQLITE_OMIT_VIRTUALTABLE to malfunction. (CVS 5525)

FossilOrigin-Name: 761e73ceab77f965d58546ecf493f65cf52456fc

17 years agoIncrease the ref-count on the sqlite3_vtab structure before calling either the xNext...
danielk1977 [Sat, 2 Aug 2008 15:10:08 +0000 (15:10 +0000)] 
Increase the ref-count on the sqlite3_vtab structure before calling either the xNext or xFilter methods. (CVS 5524)

FossilOrigin-Name: 6e41455f2c7ee57c60578541040631b899e1481f

17 years agoAdditional coverage testing. Fix a segfault following OOM in
drh [Sat, 2 Aug 2008 03:50:39 +0000 (03:50 +0000)] 
Additional coverage testing.  Fix a segfault following OOM in
sqltie3_load_extension(). (CVS 5523)

FossilOrigin-Name: f1e44eb323f05495cbae25113aebcc50d16b40df

17 years agoBring test coverage up to 99%. (CVS 5522)
drh [Fri, 1 Aug 2008 20:10:08 +0000 (20:10 +0000)] 
Bring test coverage up to 99%. (CVS 5522)

FossilOrigin-Name: 2cd6bae80984126023bcf479e5f3db5eaa5c4134

17 years agoFix problems in test scripts. Add new test cases to improve test coverage. (CVS...
drh [Fri, 1 Aug 2008 18:47:01 +0000 (18:47 +0000)] 
Fix problems in test scripts.  Add new test cases to improve test coverage. (CVS 5521)

FossilOrigin-Name: b65f493c7519e8a5ee632a395b57d45269741dda

17 years agoAlso test that setting sqlite3_vtab.zErrMsg works from within the xRename method...
danielk1977 [Fri, 1 Aug 2008 17:51:47 +0000 (17:51 +0000)] 
Also test that setting sqlite3_vtab.zErrMsg works from within the xRename method. (CVS 5520)

FossilOrigin-Name: 4f4a9ccae7d25b9856d1203f6b289d552c2b425e

17 years agoTest that virtual table methods xBestIndex, xOpen, xFilter, xNext, xColumn, xRowid...
danielk1977 [Fri, 1 Aug 2008 17:37:40 +0000 (17:37 +0000)] 
Test that virtual table methods xBestIndex, xOpen, xFilter, xNext, xColumn, xRowid, xUpdate, xSync and xBegin can all return error messages using the sqlite3_vtab.zErrMsg variable. (CVS 5519)

FossilOrigin-Name: 007359b770f225877880b11f4c5d97bb548e38ca

17 years agoTest cases for sqlite3_db_config() and sqlite3_db_status(). (CVS 5518)
drh [Fri, 1 Aug 2008 16:31:14 +0000 (16:31 +0000)] 
Test cases for sqlite3_db_config() and sqlite3_db_status(). (CVS 5518)

FossilOrigin-Name: 6a6b94302acdfe6404b04bff1cc8d16c1ef69df9

17 years agoAdd a permutation test case for running all OOM tests with lookaside
drh [Fri, 1 Aug 2008 15:06:30 +0000 (15:06 +0000)] 
Add a permutation test case for running all OOM tests with lookaside
disabled. (CVS 5517)

FossilOrigin-Name: 3f70e03ae83d374f5f69770bd7a4b279584f7090

17 years agoApplied patch to fix failure with build on gcc-powerpc (provide sqlite3Hwtime). Ticke...
shane [Fri, 1 Aug 2008 14:33:15 +0000 (14:33 +0000)] 
Applied patch to fix failure with build on gcc-powerpc (provide sqlite3Hwtime). Ticket #3256. (CVS 5516)

FossilOrigin-Name: c9ecd88e273aee56b4af5b69fae94e1f98d3e43d

17 years agoIf xAccess() fails while attempting to detect a hot-journal file, do not assume that...
danielk1977 [Fri, 1 Aug 2008 10:50:23 +0000 (10:50 +0000)] 
If xAccess() fails while attempting to detect a hot-journal file, do not assume that the error was an out-of-memory condition. (CVS 5515)

FossilOrigin-Name: 70f20425e8197bce74b412f65050d954acb5bde4

17 years agoDefine _GNU_SOURCE only if it is not already defined. Ticket #3263. (CVS 5514)
drh [Thu, 31 Jul 2008 17:35:45 +0000 (17:35 +0000)] 
Define _GNU_SOURCE only if it is not already defined.  Ticket #3263. (CVS 5514)

FossilOrigin-Name: bc5abd31a7b5bc656edbb54c1c4523549d888056

17 years agoUpdate the memsubsys1 test script to take into account the buffer size
drh [Thu, 31 Jul 2008 17:20:58 +0000 (17:20 +0000)] 
Update the memsubsys1 test script to take into account the buffer size
changes of the previous check-in. (CVS 5513)

FossilOrigin-Name: d43ff7bb8fc59c54b85658aaeb3dd088a324276f

17 years agoChange the definition of SQLITE_CONFIG_PAGECACHE and
drh [Thu, 31 Jul 2008 17:16:05 +0000 (17:16 +0000)] 
Change the definition of SQLITE_CONFIG_PAGECACHE and
SQLITE_CONFIG_SCRATCH to omit the magic "+4" in the buffer size
calculation. (CVS 5512)

FossilOrigin-Name: e7ed0fe640a39053009eac52a7f055b121750e57

17 years agoDocumentation updates. (CVS 5511)
drh [Thu, 31 Jul 2008 14:47:54 +0000 (14:47 +0000)] 
Documentation updates. (CVS 5511)

FossilOrigin-Name: e7fdd813ccdefab33aedbcf7f44e13b935dd3299

17 years agoUpdated omittest.tcl. Updated OMIT list. Updated for Windows. (CVS 5510)
shane [Thu, 31 Jul 2008 02:43:34 +0000 (02:43 +0000)] 
Updated omittest.tcl.  Updated OMIT list. Updated for Windows. (CVS 5510)

FossilOrigin-Name: f94239933e6f93d9780178b6f9a6b14ca791716a

17 years agoOmit calls to test_get_table_printf() if SQLITE_OMIT_GET_TABLE defined. (CVS 5509)
shane [Thu, 31 Jul 2008 02:05:04 +0000 (02:05 +0000)] 
Omit calls to test_get_table_printf() if SQLITE_OMIT_GET_TABLE defined. (CVS 5509)

FossilOrigin-Name: 524a4075ddaecb07469da717e8afebc91240616e