]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
14 years agoReplace some unreachable branch instructions with assert() statements. bug-b351d95f9c
drh [Tue, 28 Sep 2010 07:11:24 +0000 (07:11 +0000)] 
Replace some unreachable branch instructions with assert() statements.

FossilOrigin-Name: 88b84bf18a4b27626f8a0a2d313706ddd4f13749

14 years agoTweaks to help facilitate structural test coverage.
drh [Tue, 28 Sep 2010 06:00:47 +0000 (06:00 +0000)] 
Tweaks to help facilitate structural test coverage.

FossilOrigin-Name: ff49a5f00b3aa83bdacc95a32d60527c740a6c09

14 years agoTest case and fix for the specific failure of ticket [b351d95f9cd5ef17e9d9dbae].
drh [Tue, 28 Sep 2010 04:14:03 +0000 (04:14 +0000)] 
Test case and fix for the specific failure of ticket [b351d95f9cd5ef17e9d9dbae].

FossilOrigin-Name: 57789cfe674dbbd4d5e4663774d1e7c541f7bdc4

14 years agoUse OP_Copy rather than OP_SCopy at one point in aggregate processing where
drh [Tue, 28 Sep 2010 03:55:02 +0000 (03:55 +0000)] 
Use OP_Copy rather than OP_SCopy at one point in aggregate processing where
it is needed to avoid shallow-copy misuse.

FossilOrigin-Name: a5eefd5239bf5b4f9d0bdfb312f5b33c0a196178

14 years agoContinuing work toward detecting and fixing shallow-copy misuse.
drh [Tue, 28 Sep 2010 00:25:58 +0000 (00:25 +0000)] 
Continuing work toward detecting and fixing shallow-copy misuse.

FossilOrigin-Name: d0342f4bb9d25dd1dba3957778faa993fb9cc81c

14 years agoAdd assert() statements that fail when a shallow copy is accessed after the
drh [Mon, 27 Sep 2010 21:09:31 +0000 (21:09 +0000)] 
Add assert() statements that fail when a shallow copy is accessed after the
original has been modified.  These assert() statements should detect the kinds
of subtle SCopy bugs such as caused the fault
in ticket [b351d95f9cd5ef17e9d9dbae18f].

FossilOrigin-Name: 8b8e1732e8410efd5f8e308c43abe521584e87a0

14 years agoSimplifications to the expression code generator. Remove about 80 lines of
drh [Mon, 27 Sep 2010 18:14:12 +0000 (18:14 +0000)] 
Simplifications to the expression code generator.  Remove about 80 lines of
older and obsolete code.

FossilOrigin-Name: 53f5cfe11516d0496c7760378b6305c3088d479f

14 years agoEnhance the ANALYZE command so that it gathers statistics in the sqlite_stat1
drh [Sat, 25 Sep 2010 22:32:56 +0000 (22:32 +0000)] 
Enhance the ANALYZE command so that it gathers statistics in the sqlite_stat1
table even for tables that are empty or have no indices.

FossilOrigin-Name: a7645d293801da64a7579737d0a8b48117af2e2c

14 years agoAdd new file e_createtable.test.
dan [Sat, 25 Sep 2010 17:29:57 +0000 (17:29 +0000)] 
Add new file e_createtable.test.

FossilOrigin-Name: 20e16fef55c355a1d7e97d0c390769b941e83fdb

14 years agoDo not call gethostuuid() on MacOS 10.4 and earlier, since it is not
drh [Sat, 25 Sep 2010 14:13:17 +0000 (14:13 +0000)] 
Do not call gethostuuid() on MacOS 10.4 and earlier, since it is not
supported there.

FossilOrigin-Name: 44deaaefeeb95827daeaf84aa5e205b456e75b40

14 years agoAdd tests to file e_reindex.test.
dan [Sat, 25 Sep 2010 07:51:58 +0000 (07:51 +0000)] 
Add tests to file e_reindex.test.

FossilOrigin-Name: eec7dc9192c635335a4a9acc3669afd4b26f02d3

14 years agoModify some evidence tags to match updated gifs.
dan [Fri, 24 Sep 2010 19:14:42 +0000 (19:14 +0000)] 
Modify some evidence tags to match updated gifs.

FossilOrigin-Name: f44de500be5130d5ad800759acb76377eaa92367

14 years agoMerge experimental branch back into trunk.
dan [Fri, 24 Sep 2010 18:08:01 +0000 (18:08 +0000)] 
Merge experimental branch back into trunk.

FossilOrigin-Name: 83ecec5d158c48e2fb93b0111ade62f039613540

14 years agoAdd new file e_vacuum.test. Move part of e_select.test into e_select2.test.
dan [Fri, 24 Sep 2010 18:04:22 +0000 (18:04 +0000)] 
Add new file e_vacuum.test. Move part of e_select.test into e_select2.test.

FossilOrigin-Name: 30801892c6036b8de2e26fc178389479c04b5dfa

14 years agoAdd experimental branch disallowing VACUUM when there are one or more active SQL... experimental
dan [Fri, 24 Sep 2010 09:32:45 +0000 (09:32 +0000)] 
Add experimental branch disallowing VACUUM when there are one or more active SQL statements.

FossilOrigin-Name: c1ebcacd9b31239aee065c64c4b4596d56dc397f

14 years agoModify testable statement ids in a few test files to account for recent docsrc changes.
dan [Fri, 24 Sep 2010 08:00:10 +0000 (08:00 +0000)] 
Modify testable statement ids in a few test files to account for recent docsrc changes.

FossilOrigin-Name: 7893e525953da6c97eaea23fe94d26e1e635edea

14 years agoAdd tests to e_delete.test.
dan [Thu, 23 Sep 2010 18:47:36 +0000 (18:47 +0000)] 
Add tests to e_delete.test.

FossilOrigin-Name: fab3b383bb2c4764a56811f22ff4c783441918e8

14 years agoFurther tests and changes to make the r-tree module more robust.
dan [Wed, 22 Sep 2010 19:06:02 +0000 (19:06 +0000)] 
Further tests and changes to make the r-tree module more robust.

FossilOrigin-Name: 7ff3574b9c581b5e1f2b6f98028106c638e59bb7

14 years agoAdd new file rtreeA.test, to test that the r-tree extension doesn't crash if it encou...
dan [Wed, 22 Sep 2010 14:19:53 +0000 (14:19 +0000)] 
Add new file rtreeA.test, to test that the r-tree extension doesn't crash if it encounters a corrupt or inconsistent database.

FossilOrigin-Name: 68a305fd5ac917317fee2ef6670ac389a120e502

14 years agoAdd new file e_delete.test.
dan [Tue, 21 Sep 2010 19:00:46 +0000 (19:00 +0000)] 
Add new file e_delete.test.

FossilOrigin-Name: 14e8659e576258b64d67cb3f1222f173089d5127

14 years agoAdd tests to e_update.test.
dan [Tue, 21 Sep 2010 16:59:16 +0000 (16:59 +0000)] 
Add tests to e_update.test.

FossilOrigin-Name: 528f71e29c5422af778dbae2c1dce3b0ee289750

14 years agoAdd test file e_update.test.
dan [Mon, 20 Sep 2010 19:17:53 +0000 (19:17 +0000)] 
Add test file e_update.test.

FossilOrigin-Name: 03985ed4a0677b1c37696c0725d26d241665bf4e

14 years agoChanges to test scripts to work with SQLITE_TEMP_STORE=2.
dan [Mon, 20 Sep 2010 14:55:33 +0000 (14:55 +0000)] 
Changes to test scripts to work with SQLITE_TEMP_STORE=2.

FossilOrigin-Name: ba8ca9c9e29e022dec0048dd655c35d54d5ef129

14 years agoAdd further tests to e_insert.test.
dan [Mon, 20 Sep 2010 14:05:51 +0000 (14:05 +0000)] 
Add further tests to e_insert.test.

FossilOrigin-Name: eb3d0d8bb78aa7132f842480bc88621b1573f19c

14 years agoAdd a test case to verify that bug [313723c356] has been fixed.
dan [Mon, 20 Sep 2010 08:47:01 +0000 (08:47 +0000)] 
Add a test case to verify that bug [313723c356] has been fixed.

FossilOrigin-Name: 4ea134a84c264b55cdb6f6f8e740b252278ce792

14 years agoMake sure the pager cache is cleared if there is any difficulty starting
drh [Sat, 18 Sep 2010 19:36:40 +0000 (19:36 +0000)] 
Make sure the pager cache is cleared if there is any difficulty starting
a new read transaction in WAL mode.  Ticket [313723c356483eff2a4c4bdd2c].

FossilOrigin-Name: e14ef0e8b4a27dbd58338214242eb3928404b176

14 years agoAdd new test file e_insert.test.
dan [Sat, 18 Sep 2010 19:00:12 +0000 (19:00 +0000)] 
Add new test file e_insert.test.

FossilOrigin-Name: 8023a3091b32d304eaf7be41bb1d0bd33517e5f6

14 years agoFix a couple of stale evidence marks in e_select.test.
dan [Sat, 18 Sep 2010 15:15:02 +0000 (15:15 +0000)] 
Fix a couple of stale evidence marks in e_select.test.

FossilOrigin-Name: 14227724a81c31c6bb9381b210f8fabf4b1154fd

14 years agoAdd tests to e_select.test.
dan [Sat, 18 Sep 2010 15:03:35 +0000 (15:03 +0000)] 
Add tests to e_select.test.

FossilOrigin-Name: 0ee9e755719c45e6047f9f004030716029b886ca

14 years agoClarifications to the sqlite3_auto_extension() documentation.
drh [Fri, 17 Sep 2010 22:39:07 +0000 (22:39 +0000)] 
Clarifications to the sqlite3_auto_extension() documentation.

FossilOrigin-Name: ca96e0df29cad4a9c7395a0acf623d8a19cb4725

14 years agoUpdates to the documentation for sqlite3_create_collation().
drh [Fri, 17 Sep 2010 19:45:20 +0000 (19:45 +0000)] 
Updates to the documentation for sqlite3_create_collation().

FossilOrigin-Name: 3df7715a7736867db34195aa8d98ba2e6f2f0b19

14 years agoAdd tests for some syntax diagrams in lang_select.html.
dan [Fri, 17 Sep 2010 19:04:18 +0000 (19:04 +0000)] 
Add tests for some syntax diagrams in lang_select.html.

FossilOrigin-Name: 2254e93bd5f70af5d3b2021983e4b826e601ee8f

14 years agoRemove additional occurrences of <ctype.h> from FTS2.
drh [Fri, 17 Sep 2010 17:10:31 +0000 (17:10 +0000)] 
Remove additional occurrences of <ctype.h> from FTS2.

FossilOrigin-Name: ee52589c80a6d37dc8c7a86a0e3b531ec4dd8d45

14 years agoAdd new test file fts3shared.test to test the previous change.
dan [Fri, 17 Sep 2010 16:01:09 +0000 (16:01 +0000)] 
Add new test file fts3shared.test to test the previous change.

FossilOrigin-Name: a207f74408acb043aafd96b8e03807d8ae5d7f01

14 years agoHave all FTS3 queries obtain a read or write table-lock at the shared-cache level...
dan [Fri, 17 Sep 2010 15:28:41 +0000 (15:28 +0000)] 
Have all FTS3 queries obtain a read or write table-lock at the shared-cache level before doing anything else.

FossilOrigin-Name: 018e82c775d0fb8c0d90cddf7a87c20c8c8172a9

14 years agoCompletely remove all trace of ctype.h from FTS2.
drh [Fri, 17 Sep 2010 01:07:53 +0000 (01:07 +0000)] 
Completely remove all trace of ctype.h from FTS2.

FossilOrigin-Name: 876845661a944ec1c841d1e2486d070efb76e5cd

14 years agoFix a comment typo in memjournal.c
drh [Thu, 16 Sep 2010 23:18:57 +0000 (23:18 +0000)] 
Fix a comment typo in memjournal.c

FossilOrigin-Name: 9b272ed46fc704cb818b71d18ae8ee73a752a881

14 years agoUpdates to the requirements on the sqlite3_create_function() family of
drh [Thu, 16 Sep 2010 19:49:22 +0000 (19:49 +0000)] 
Updates to the requirements on the sqlite3_create_function() family of
interfaces.

FossilOrigin-Name: f03c608993d1c37b45ba8e0a6a4e941bdcb57ffa

14 years agoAdd tests for ORDER BY, LIMIT and OFFSET clauses to e_select.test.
dan [Thu, 16 Sep 2010 18:51:09 +0000 (18:51 +0000)] 
Add tests for ORDER BY, LIMIT and OFFSET clauses to e_select.test.

FossilOrigin-Name: 7c989db55cbe87dfb8659dcf534f72cdc2df3bc5

14 years agoFurther tweaks related to deleting files from malloc_common.tcl.
dan [Thu, 16 Sep 2010 16:16:07 +0000 (16:16 +0000)] 
Further tweaks related to deleting files from malloc_common.tcl.

FossilOrigin-Name: 3e649f80e2a1b2e098f6ca32994ba40157271e69

14 years agoFix a problem with the previous change to malloc_common.tcl.
dan [Thu, 16 Sep 2010 15:58:12 +0000 (15:58 +0000)] 
Fix a problem with the previous change to malloc_common.tcl.

FossilOrigin-Name: e07a33ea0fd50d56f2d00965c754e652c48f32fb

14 years agoChange code in malloc_common.tcl (test code) to retry a "file delete -force" if
dan [Thu, 16 Sep 2010 15:23:07 +0000 (15:23 +0000)] 
Change code in malloc_common.tcl (test code) to retry a "file delete -force" if
it fails.

FossilOrigin-Name: ebfb04f00c839601d92d33b9c2305fc4ce869bbc

14 years agoUpdates to the sqlite3_progress_handler() documentation.
drh [Wed, 15 Sep 2010 23:41:24 +0000 (23:41 +0000)] 
Updates to the sqlite3_progress_handler() documentation.

FossilOrigin-Name: 78f659ee9bb60df3503998301b554fe81fa6bdd3

14 years agoAdd tests for ORDER BY clauses to e_select.test.
dan [Wed, 15 Sep 2010 19:02:15 +0000 (19:02 +0000)] 
Add tests for ORDER BY clauses to e_select.test.

FossilOrigin-Name: 14f156632729d1a44ef234f39ff9df32db6b308a

14 years agoAdded the sqlite3_soft_heap_limit64() interface. Deprecate the older
drh [Wed, 15 Sep 2010 17:54:31 +0000 (17:54 +0000)] 
Added the sqlite3_soft_heap_limit64() interface.  Deprecate the older
sqlite3_soft_heap_limit() interface.

FossilOrigin-Name: 82268a2c3d75431cd40de6ad09d398729de32a29

14 years agoAdd trivial test case to make sure shared-cache mode does not automatically turn...
dan [Wed, 15 Sep 2010 11:42:04 +0000 (11:42 +0000)] 
Add trivial test case to make sure shared-cache mode does not automatically turn on exclusive-locking mode.

FossilOrigin-Name: a0ab3902f1431c962a5d034647ef3c6876dc0e75

14 years agoFurther tests for compound SELECT statements.
dan [Tue, 14 Sep 2010 18:56:52 +0000 (18:56 +0000)] 
Further tests for compound SELECT statements.

FossilOrigin-Name: a0f01ebab9bd42fca9ce5d97f8cbf44afd803f4e

14 years agoClarify the documentation to better explain when an automatic re-prepare can
drh [Tue, 14 Sep 2010 18:22:59 +0000 (18:22 +0000)] 
Clarify the documentation to better explain when an automatic re-prepare can
be induced by rebinding parameters.  Add evidence marks to the automatic
re-prepare logic.

FossilOrigin-Name: 3e11f5155c5625ddf4300a9ef7e8bc20a190a752

14 years agoFix some test failures found running releasetest.tcl.
dan [Tue, 14 Sep 2010 10:53:45 +0000 (10:53 +0000)] 
Fix some test failures found running releasetest.tcl.

FossilOrigin-Name: 56a9ce7774a6f163a62684dd8d5357ce16a07de1

14 years agoFix walmode.test so that all tests pass with SQLITE_TEMP_STORE=3.
dan [Mon, 13 Sep 2010 19:03:38 +0000 (19:03 +0000)] 
Fix walmode.test so that all tests pass with SQLITE_TEMP_STORE=3.

FossilOrigin-Name: 6ba6e59a9d528fb1bdc530d48ab96a2de6e190d6

14 years agoAdd tests for compound SELECT statements to e_select.test.
dan [Mon, 13 Sep 2010 18:58:33 +0000 (18:58 +0000)] 
Add tests for compound SELECT statements to e_select.test.

FossilOrigin-Name: 8b0b009f292e0b52bffb08662aef67d9465e5a0a

14 years agoFix a couple of test files so that they work with DEFAULT_AUTOVACUUM.
dan [Mon, 13 Sep 2010 14:38:19 +0000 (14:38 +0000)] 
Fix a couple of test files so that they work with DEFAULT_AUTOVACUUM.

FossilOrigin-Name: 8cb39306f4bd9104c9d15d5ee98ec1252e798997

14 years agoRun the multi-threaded tests in test/threadtest3.c as part of releasetest.tcl. Remove...
dan [Mon, 13 Sep 2010 12:15:36 +0000 (12:15 +0000)] 
Run the multi-threaded tests in test/threadtest3.c as part of releasetest.tcl. Remove the OMIT_BUILTIN_TEST symbol from the "Device-Two" configuration.

FossilOrigin-Name: 3f5406e3231fbe84659712c9383b3e04cc6c11a8

14 years agoAlter some configurations in releasetest.tcl. Print out the wall-clock time taken...
dan [Mon, 13 Sep 2010 11:29:02 +0000 (11:29 +0000)] 
Alter some configurations in releasetest.tcl. Print out the wall-clock time taken for each test after it is executed.

FossilOrigin-Name: a91c5af3b033e326b868c3e6782650f6fe055b49

14 years agoAdd tests for "DISTINCT" and "ALL" to e_select.test.
dan [Sat, 11 Sep 2010 17:37:52 +0000 (17:37 +0000)] 
Add tests for "DISTINCT" and "ALL" to e_select.test.

FossilOrigin-Name: 43a99d9a88b1c3a6978e79ca21d49de6be2c9def

14 years agoFix a couple of incorrect evidence marks on malloc().
drh [Sat, 11 Sep 2010 16:25:42 +0000 (16:25 +0000)] 
Fix a couple of incorrect evidence marks on malloc().

FossilOrigin-Name: f9b5c5cb135f3d0bb2b64b4d3f8d77bbd8d2ae98

14 years agoAdditional evidence marks on the malloc() implementation. Update the
drh [Sat, 11 Sep 2010 16:15:55 +0000 (16:15 +0000)] 
Additional evidence marks on the malloc() implementation.  Update the
documentation to explain that mallocs are not necessarily 8-byte aligned
if the SQLITE_4_BYTE_ALIGNED_MALLOC compile-time option is used.

FossilOrigin-Name: 42b4bf9e72501cf228b4086437c7660443933f74

14 years agoAdd assert() statements to demonstrate that memory allocations are always
drh [Sat, 11 Sep 2010 15:54:53 +0000 (15:54 +0000)] 
Add assert() statements to demonstrate that memory allocations are always
aligned to an 8-byte boundary (unless SQLITE_4_BYTE_ALIGNED_MALLOC is defined).

FossilOrigin-Name: 305cc4e6c1164b1ede0c3177e3c0f9b8644df0f6

14 years agoWhen building from the amalgamation with ENABLE_RTREE defined, do not try to include...
dan [Sat, 11 Sep 2010 05:15:37 +0000 (05:15 +0000)] 
When building from the amalgamation with ENABLE_RTREE defined, do not try to include sqlite3rtree.h.

FossilOrigin-Name: 5b63e981f1bef26eae0da3144a08bdc54dc36709

14 years agoA further correction to the sqlite3_create_function() interface documentation.
drh [Fri, 10 Sep 2010 20:23:10 +0000 (20:23 +0000)] 
A further correction to the sqlite3_create_function() interface documentation.

FossilOrigin-Name: c65583dbc7203132010d223cce205f007a50c9ee

14 years agoAdd tests to e_select.test.
dan [Fri, 10 Sep 2010 19:18:00 +0000 (19:18 +0000)] 
Add tests to e_select.test.

FossilOrigin-Name: 3a051a76f7f116f9ba25fe4e41418b9f0c1401be

14 years agoUpdates to the documentation on the sqlite3_create_function() family of
drh [Fri, 10 Sep 2010 16:38:30 +0000 (16:38 +0000)] 
Updates to the documentation on the sqlite3_create_function() family of
interfaces.

FossilOrigin-Name: 9d277e0b82ff8759369b43ee5f2e5628724a84bd

14 years agoMake sure SQLite is running with MEMSTATUS enabled at the beginning of
drh [Fri, 10 Sep 2010 13:22:59 +0000 (13:22 +0000)] 
Make sure SQLite is running with MEMSTATUS enabled at the beginning of
every test script.

FossilOrigin-Name: 699953140511c14cbba499fad086187977476660

14 years agoMake sure MEMSTATUS is enabled at the beginning of the memsubsys2.test script.
drh [Thu, 9 Sep 2010 23:42:34 +0000 (23:42 +0000)] 
Make sure MEMSTATUS is enabled at the beginning of the memsubsys2.test script.

FossilOrigin-Name: c23b97219df43a870c6cb2aac84e54aaa5db4f3a

14 years agoAdd test cases to e_select.test.
dan [Thu, 9 Sep 2010 19:02:55 +0000 (19:02 +0000)] 
Add test cases to e_select.test.

FossilOrigin-Name: 5e73f7b2b77ba5e0670c512d9ef9eeb9bb654c27

14 years agoFurther updates to the sqlite3_pcache_methods documentation, plus the addition
drh [Thu, 9 Sep 2010 18:25:34 +0000 (18:25 +0000)] 
Further updates to the sqlite3_pcache_methods documentation, plus the addition
of a few evidence marks related to pcache.

FossilOrigin-Name: 34edb54bb03ad4e54f2e4de12d767e6fa8822ba4

14 years agoMake sure memory statistics are enabled for the dbstatus.test script.
drh [Thu, 9 Sep 2010 17:43:06 +0000 (17:43 +0000)] 
Make sure memory statistics are enabled for the dbstatus.test script.

FossilOrigin-Name: 35b943a0fc153341f5299218f2884245c63071b3

14 years agoUpdates to the sqlite3_pcache_methods documentation.
drh [Thu, 9 Sep 2010 15:48:20 +0000 (15:48 +0000)] 
Updates to the sqlite3_pcache_methods documentation.

FossilOrigin-Name: b21425c4045883fffa46af632e77cf708d862927

14 years agoAdd WHERE clause tests to e_select.test.
dan [Thu, 9 Sep 2010 11:33:09 +0000 (11:33 +0000)] 
Add WHERE clause tests to e_select.test.

FossilOrigin-Name: 721b73fa5c5898f6c6d5946e1c70ccd2d0b0dccc

14 years agoAdd tests for sub-select statements in the FROM clause of a SELECT to e_select.test.
dan [Thu, 9 Sep 2010 10:00:43 +0000 (10:00 +0000)] 
Add tests for sub-select statements in the FROM clause of a SELECT to e_select.test.

FossilOrigin-Name: 2c6b1ca952be9979b8079431c2abad28419b6256

14 years agoFix problem with test names in e_select.test.
dan [Wed, 8 Sep 2010 19:16:48 +0000 (19:16 +0000)] 
Fix problem with test names in e_select.test.

FossilOrigin-Name: 8fe34faf6b8ddbb8ddd23418163650e846104328

14 years agoAdd tests to e_select.test.
dan [Wed, 8 Sep 2010 19:02:32 +0000 (19:02 +0000)] 
Add tests to e_select.test.

FossilOrigin-Name: 727ced6babf8aca87a69632949a7a0ce9bc2be89

14 years agoUpdates to the documentation of the sqlite3_column_xxxx() family of
drh [Wed, 8 Sep 2010 16:30:36 +0000 (16:30 +0000)] 
Updates to the documentation of the sqlite3_column_xxxx() family of
interfaces.  Enhance sqlite3_column_blob() so that it always returns
a NULL pointer for a zero-length blob.

FossilOrigin-Name: a932fab299b3c32dea4d08729e9fab3735631e88

14 years agoImproved documentation of SQLITE_THREADSAFE and sqlite3_column_text() and
drh [Wed, 8 Sep 2010 02:30:27 +0000 (02:30 +0000)] 
Improved documentation of SQLITE_THREADSAFE and sqlite3_column_text() and
evidence marks for each.

FossilOrigin-Name: 0d7a53894866e536616e78473d253a9e9c29b1bc

14 years agoUpdates to the documentation on the VFS xOpen method.
drh [Tue, 7 Sep 2010 23:28:58 +0000 (23:28 +0000)] 
Updates to the documentation on the VFS xOpen method.

FossilOrigin-Name: 1719cb8f49bb138adcf8913a2d042f9e1360d78a

14 years agoUpdate the sqlite3_limit() documentation to explain that SQLITE_LIMIT_VDBE_OP
drh [Tue, 7 Sep 2010 19:10:01 +0000 (19:10 +0000)] 
Update the sqlite3_limit() documentation to explain that SQLITE_LIMIT_VDBE_OP
is not enforced.

FossilOrigin-Name: 17be9beeab273a0fa84e107c674aee4cd83e6f79

14 years agoAdd tests to e_select.test.
dan [Tue, 7 Sep 2010 19:05:28 +0000 (19:05 +0000)] 
Add tests to e_select.test.

FossilOrigin-Name: 282dae7edf7209197fffb6c58b038b3aae1a0367

14 years agoRevised documentation for sqlite3_limit(). Added some evidence marks and
drh [Tue, 7 Sep 2010 14:59:15 +0000 (14:59 +0000)] 
Revised documentation for sqlite3_limit().  Added some evidence marks and
assert() statements to verify sqlite3_limit() behavior.

FossilOrigin-Name: 883b9b7441593200def05d8a482bc92d3dc0e96b

14 years agoExample icon file (32x32x4) for new logo.
shaneh [Tue, 7 Sep 2010 14:12:14 +0000 (14:12 +0000)] 
Example icon file (32x32x4) for new logo.

FossilOrigin-Name: bd700794678613c1fb78ef9fcf2bcd6d48f70dc0

14 years agoRemove a redundant test for multiple output columns in a scalar subquery.
drh [Tue, 7 Sep 2010 12:17:36 +0000 (12:17 +0000)] 
Remove a redundant test for multiple output columns in a scalar subquery.

FossilOrigin-Name: 657472bce2b2fe6f3d4bbead5301f658812b937d

14 years agoIn the test scripts, changes instances of the TCL interface
drh [Mon, 6 Sep 2010 20:28:28 +0000 (20:28 +0000)] 
In the test scripts, changes instances of the TCL interface
option "-has_codec" into the correct "-has-codec".

FossilOrigin-Name: f53856a555403678ea8bd721a9fa1ae179240406

14 years agoAdd test cases to e_select.test.
dan [Mon, 6 Sep 2010 18:50:55 +0000 (18:50 +0000)] 
Add test cases to e_select.test.

FossilOrigin-Name: 9db26d5ef5a4c6f9fe0adf2ff306f6f07b6cc60c

14 years agoRemove proprietary information from the releasetest.tcl script and add it
drh [Mon, 6 Sep 2010 18:44:14 +0000 (18:44 +0000)] 
Remove proprietary information from the releasetest.tcl script and add it
to the public repository.

FossilOrigin-Name: e1d4a87e4e195b3a217f6d8a15d6beceb7c22a53

14 years agoAdd test file e_select.test.
dan [Sat, 4 Sep 2010 18:52:30 +0000 (18:52 +0000)] 
Add test file e_select.test.

FossilOrigin-Name: 8b9d8c226e5d95584c1e61a796dc23b780a300cb

14 years agoDocumentation enhancements for sqlite3_db_status(). Evidence marks on
drh [Fri, 3 Sep 2010 18:50:48 +0000 (18:50 +0000)] 
Documentation enhancements for sqlite3_db_status().  Evidence marks on
the SQL function call intrface.

FossilOrigin-Name: f06c7b1973d64a6a1a1db2b44df2a4eb0ece0077

14 years agoImproved documentation of the sqlite3_column_count() and sqlite3_data_count()
drh [Fri, 3 Sep 2010 12:05:11 +0000 (12:05 +0000)] 
Improved documentation of the sqlite3_column_count() and sqlite3_data_count()
interfaces.

FossilOrigin-Name: 0593373d4bf4f3451b41810513fd12cd8ebd0395

14 years agoAdd a few more subquery tests to e_expr.test.
dan [Fri, 3 Sep 2010 10:58:47 +0000 (10:58 +0000)] 
Add a few more subquery tests to e_expr.test.

FossilOrigin-Name: 189cba0072dd0b90e064f889457921aeaeefda01

14 years agoReduce the amount of memory taken up by WAL mmaped regions under Windows.
shaneh [Fri, 3 Sep 2010 04:29:30 +0000 (04:29 +0000)] 
Reduce the amount of memory taken up by WAL mmaped regions under Windows.

FossilOrigin-Name: f213e133f6e69b0edd73d96142014bdcab9dfe41

14 years agoFix a discrepancy between the documented behavior of SQLITE_DBCONFIG_LOOKASIDE
drh [Fri, 3 Sep 2010 03:32:46 +0000 (03:32 +0000)] 
Fix a discrepancy between the documented behavior of SQLITE_DBCONFIG_LOOKASIDE
and what it actually does.  Also add evidence marks on the DBCONFIG_LOOKASIDE
implementation.

FossilOrigin-Name: f483be441323e1cb91516964cd6ab0edecad4366

14 years agoMove the test for an (illegal) scalar sub-query that returns more than one column...
dan [Thu, 2 Sep 2010 19:01:16 +0000 (19:01 +0000)] 
Move the test for an (illegal) scalar sub-query that returns more than one column to earlier in SELECT processing in order to avoid an assert() that can happen later on.

FossilOrigin-Name: a55842cfb56b659c88832dce9ce7bafb50258211

14 years agoFix an off-by-one error in the scratch memory allocator.
drh [Thu, 2 Sep 2010 18:13:00 +0000 (18:13 +0000)] 
Fix an off-by-one error in the scratch memory allocator.

FossilOrigin-Name: 5a9591607a0a5ba4527bf2a90179651053244953

14 years agoUse sqlite3_mutex_notheld() instead of !sqlite3_mutex_held() inside
drh [Thu, 2 Sep 2010 17:15:19 +0000 (17:15 +0000)] 
Use sqlite3_mutex_notheld() instead of !sqlite3_mutex_held() inside
of assert() statements since the former works when mutexing is disabled
while the latter does not.

FossilOrigin-Name: 2211486b69cf53f5efb1334aff8b403b26596102

14 years agoAdd test case to verify the previous change is correct.
dan [Thu, 2 Sep 2010 14:35:36 +0000 (14:35 +0000)] 
Add test case to verify the previous change is correct.

FossilOrigin-Name: 2a5eed35b410fb6bd69242841c00700906f48d5f

14 years agoFix the computation of the offset on the mmap() for the Nth shared memory
drh [Thu, 2 Sep 2010 14:00:19 +0000 (14:00 +0000)] 
Fix the computation of the offset on the mmap() for the Nth shared memory
region.  Because of the way shared memory is accessed, the old computation,
though wrong, still happened to always get the right answer.  Nevertheless,
it is good to do the computation correctly.

FossilOrigin-Name: 36397f62f2e3a62b4d5730b29c197449c6850cac

14 years agoAdd tests for the EXISTS operator to e_expr.test.
dan [Thu, 2 Sep 2010 11:53:12 +0000 (11:53 +0000)] 
Add tests for the EXISTS operator to e_expr.test.

FossilOrigin-Name: 9f9a95cc80961b2733d34bd66cfccfbffb358ed6

14 years agoIf MEM_STATUS is disabled, avoid holding the STATIC_MEM mutex when calling the user...
dan [Thu, 2 Sep 2010 10:08:41 +0000 (10:08 +0000)] 
If MEM_STATUS is disabled, avoid holding the STATIC_MEM mutex when calling the user-defined xMalloc method. Holding the mutex causes problems for memsys3 and memsys5.

FossilOrigin-Name: 4f20f8ba73691c8a1dc33d2fcd1e793dd08f00a8

14 years agoFix a few typos. Update evidence marks.
shaneh [Thu, 2 Sep 2010 04:30:19 +0000 (04:30 +0000)] 
Fix a few typos.  Update evidence marks.

FossilOrigin-Name: c90a68b77e03bb351a7781f1b9dea38f5f571dcf

14 years agoIdentify additional requirements in the sqlite3_vfs object documentation.
drh [Wed, 1 Sep 2010 19:29:57 +0000 (19:29 +0000)] 
Identify additional requirements in the sqlite3_vfs object documentation.

FossilOrigin-Name: 47064453c396d5204a851b8ec08d665e2b12228a

14 years agoAdd tests to quota.test.
dan [Wed, 1 Sep 2010 18:00:09 +0000 (18:00 +0000)] 
Add tests to quota.test.

FossilOrigin-Name: ec9af6ebd49505c4e5f90fb6450c71946cdc7291

14 years agoCall quota callback destructors from within sqlite3_quota_shutdown().
dan [Wed, 1 Sep 2010 16:19:57 +0000 (16:19 +0000)] 
Call quota callback destructors from within sqlite3_quota_shutdown().

FossilOrigin-Name: fb80c6f3de73ed832faaeb8c4d83e1354f132b39