]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
14 years agoMake sure a test of multiplex shim doesn't fail if a file already exists.
shaneh [Wed, 1 Dec 2010 22:08:45 +0000 (22:08 +0000)] 
Make sure a test of multiplex shim doesn't fail if a file already exists.

FossilOrigin-Name: 80de240a329d8df4aa1e437711bf6ed889d92c5f

14 years agoAdded TCL test case for converting to WAL mode with multiple connections.
shaneh [Wed, 1 Dec 2010 20:49:42 +0000 (20:49 +0000)] 
Added TCL test case for converting to WAL mode with multiple connections.
Added exception to the test case for Windows for not being able to delete the open journal file.

FossilOrigin-Name: 7061601f4935af483f4068d257d6f8a9c728fd33

14 years agoChange the type of a variable in struct SrcList so that it fits in a 100 byte lookasi...
dan [Wed, 1 Dec 2010 19:00:48 +0000 (19:00 +0000)] 
Change the type of a variable in struct SrcList so that it fits in a 100 byte lookaside buffer on a 64-bit architecture.

FossilOrigin-Name: 7df43f4892e628ecb8a83c5ed2dce5e24f6dd529

14 years agoFix some warnings under MSVC in fts3 module.
shaneh [Wed, 1 Dec 2010 15:36:00 +0000 (15:36 +0000)] 
Fix some warnings under MSVC in fts3 module.

FossilOrigin-Name: c7771c0b22f2b45a47070cf84b9ecf1011e40404

14 years agoAdd test file e_resolve.test.
dan [Wed, 1 Dec 2010 11:46:53 +0000 (11:46 +0000)] 
Add test file e_resolve.test.

FossilOrigin-Name: 6858df9c72b1e9fb6c1a0050035b11822f87a5a7

14 years agoAvoid recursive calls to sqlite3VdbeMemRelease() when deleting VM frames used by...
dan [Wed, 1 Dec 2010 08:04:47 +0000 (08:04 +0000)] 
Avoid recursive calls to sqlite3VdbeMemRelease() when deleting VM frames used by trigger programs.

FossilOrigin-Name: 119ffe955eb1e8016cb8131a63bd17557f395f3f

14 years agoAdd test file e_dropview.test.
dan [Tue, 30 Nov 2010 12:12:24 +0000 (12:12 +0000)] 
Add test file e_dropview.test.

FossilOrigin-Name: 6197822cc8310fd7e1d7151683833e8b39fe631a

14 years agoFix a warning in os_unix.c.
dan [Mon, 29 Nov 2010 18:36:22 +0000 (18:36 +0000)] 
Fix a warning in os_unix.c.

FossilOrigin-Name: ee8dc8c87ed15b76ba437df23e1d7b1b7fa30296

14 years agoOn *BSD systems, reduce the number of open connections used by wal3.test to avoid...
dan [Mon, 29 Nov 2010 18:22:44 +0000 (18:22 +0000)] 
On *BSD systems, reduce the number of open connections used by wal3.test to avoid running out of file-descriptors.

FossilOrigin-Name: 0a3cba95a14ae7a24b2d268567a02d651ab278dc

14 years agoFix compiler warnings discovered while building SQLite on [http://www.devio.us/].
dan [Mon, 29 Nov 2010 17:55:18 +0000 (17:55 +0000)] 
Fix compiler warnings discovered while building SQLite on [http://www.devio.us/].

FossilOrigin-Name: 5602ec95aa2a74d0624bb6c7d53e7a0d35536253

14 years agoAdd tests for very small cache-sizes (less than 10 pages).
dan [Mon, 29 Nov 2010 16:10:01 +0000 (16:10 +0000)] 
Add tests for very small cache-sizes (less than 10 pages).

FossilOrigin-Name: 46b3fbdafe191cd0974cc3f46bc6aa52b3f1270e

14 years agoAdd new test file e_droptrigger.test.
dan [Mon, 29 Nov 2010 12:06:45 +0000 (12:06 +0000)] 
Add new test file e_droptrigger.test.

FossilOrigin-Name: d23ef9b88c6705219e5138e50f0f351f6401c401

14 years agoFix various compiler warnings.
drh [Fri, 26 Nov 2010 16:49:59 +0000 (16:49 +0000)] 
Fix various compiler warnings.

FossilOrigin-Name: c412f61229b6ab1ac90b932afd56f7c5e3ba1cfe

14 years agoFix an uninitialized variable in fts3.c.
dan [Fri, 26 Nov 2010 16:31:43 +0000 (16:31 +0000)] 
Fix an uninitialized variable in fts3.c.

FossilOrigin-Name: 3c3d076b42da36cd5413749ec022d0349325edfa

14 years agoMerge fts3 matchinfo() changes with trunk.
dan [Fri, 26 Nov 2010 15:17:12 +0000 (15:17 +0000)] 
Merge fts3 matchinfo() changes with trunk.

FossilOrigin-Name: 7d660b91b748126c499285713bd0237530a1a601

14 years agoAdd a couple of comments to fts3_snippet.c. fts3-experimental
dan [Fri, 26 Nov 2010 15:13:31 +0000 (15:13 +0000)] 
Add a couple of comments to fts3_snippet.c.

FossilOrigin-Name: ad8df6c5ee0055cf1161a3b700d69dbe07d969bc

14 years agoMerge with latest trunk changes.
dan [Fri, 26 Nov 2010 10:58:48 +0000 (10:58 +0000)] 
Merge with latest trunk changes.

FossilOrigin-Name: 515cb3f4e5282551d300ba79c8885b8ca016a408

14 years agoAdd coverage tests (and associated fixes) for new matchinfo() code.
dan [Thu, 25 Nov 2010 17:49:28 +0000 (17:49 +0000)] 
Add coverage tests (and associated fixes) for new matchinfo() code.

FossilOrigin-Name: 70495ceccc793d608930f59e330777f287ba1ede

14 years agoFix bugs in fts3 function matchinfo() when used with deferred tokens.
dan [Thu, 25 Nov 2010 10:33:54 +0000 (10:33 +0000)] 
Fix bugs in fts3 function matchinfo() when used with deferred tokens.

FossilOrigin-Name: ddc2b7ec2618b010c981ecfa05b3e53a9fac686f

14 years agoAdd code for the matchinfo 'longest common substring' feature.
dan [Wed, 24 Nov 2010 19:26:18 +0000 (19:26 +0000)] 
Add code for the matchinfo 'longest common substring' feature.

FossilOrigin-Name: 71011a4f9baf09ec6935ad591145252bf3c286ed

14 years agoFix crashes that can occur when queries are run on an FTS4 table containing zero...
dan [Wed, 24 Nov 2010 15:02:22 +0000 (15:02 +0000)] 
Fix crashes that can occur when queries are run on an FTS4 table containing zero rows.

FossilOrigin-Name: ed61fd20adef44d0f6b2345e0205b25f3641a15e

14 years agoFix a couple of compiler warnings in test_superlock.c. Add superlock.c
drh [Wed, 24 Nov 2010 13:04:22 +0000 (13:04 +0000)] 
Fix a couple of compiler warnings in test_superlock.c.  Add superlock.c
to the Makefile.in used by the configure script.

FossilOrigin-Name: 461f1a010f55e7da6b43ea65550066b1ca7abad0

14 years agoRemove some unused code from fts3. Add tests to fts3matchinfo.test.
dan [Wed, 24 Nov 2010 11:51:56 +0000 (11:51 +0000)] 
Remove some unused code from fts3. Add tests to fts3matchinfo.test.

FossilOrigin-Name: ae40b34cf7c24c9601bdfb5cbe5b20f05a376ea8

14 years agoCherry-pick the lemon.c updates out of the lemon-update-2010 branch into
drh [Tue, 23 Nov 2010 20:55:27 +0000 (20:55 +0000)] 
Cherry-pick the lemon.c updates out of the lemon-update-2010 branch into
the trunk.

FossilOrigin-Name: 1541ae3fbd7b3d471e002c0ad14e7846f7ad9415

14 years agoThe previous check-in with changes to the max_page_count pragma was not
drh [Tue, 23 Nov 2010 20:25:08 +0000 (20:25 +0000)] 
The previous check-in with changes to the max_page_count pragma was not
quite correct.  This check-in fixes the problem.

FossilOrigin-Name: 30c26c3b13b29ce57683e91ac11641d4eb4d678f

14 years agoExperimental changes to fts3 function matchinfo().
dan [Tue, 23 Nov 2010 19:16:47 +0000 (19:16 +0000)] 
Experimental changes to fts3 function matchinfo().

FossilOrigin-Name: 9cf0f2b76bc68c168e3fa861b7235f384db21d38

14 years agoFix the max_page_count pragma so that it will not set to a value smaller
drh [Tue, 23 Nov 2010 18:59:27 +0000 (18:59 +0000)] 
Fix the max_page_count pragma so that it will not set to a value smaller
than the current database size, as the documentation requires.  Also,
remove all occurances of atoi() from the core.

FossilOrigin-Name: 2031974b606ef713b5f34522b2221470d98687c5

14 years agoFix a typo in unixCurrentTimeInt64() preventing compilation with NO_GETTOD defined.
dan [Mon, 22 Nov 2010 17:26:07 +0000 (17:26 +0000)] 
Fix a typo in unixCurrentTimeInt64() preventing compilation with NO_GETTOD defined.

FossilOrigin-Name: 3df3e79b56821201b4f5ecd23f94d485745c48c3

14 years agoExtra tests for "PRAGMA checkpoint_fullfsync".
dan [Sat, 20 Nov 2010 12:01:35 +0000 (12:01 +0000)] 
Extra tests for "PRAGMA checkpoint_fullfsync".

FossilOrigin-Name: e38c81cc18d2ceaa1644aaba64530ba5d1fbf2cf

14 years agoAdd extra tests for test_superlock.c.
dan [Sat, 20 Nov 2010 10:57:44 +0000 (10:57 +0000)] 
Add extra tests for test_superlock.c.

FossilOrigin-Name: 1c4e58e7211522f0e7dfddd3a2b52f1d0c5421e7

14 years agoAdd tests for "PRAGMA checkpoint_fullfsync".
dan [Fri, 19 Nov 2010 18:48:10 +0000 (18:48 +0000)] 
Add tests for "PRAGMA checkpoint_fullfsync".

FossilOrigin-Name: 765aa1b862fa38cede89bafe0e10c094e0544b7e

14 years agoMerge in the superlock demonstration changes.
drh [Fri, 19 Nov 2010 18:36:44 +0000 (18:36 +0000)] 
Merge in the superlock demonstration changes.

FossilOrigin-Name: 570e79a8eb3bb2d2a15c46c55fbf52c9dd3e3ae8

14 years agoAdd the checkpoint_fullfsync pragma which enables F_FULLFSYNC on checkpoint
drh [Fri, 19 Nov 2010 18:23:35 +0000 (18:23 +0000)] 
Add the checkpoint_fullfsync pragma which enables F_FULLFSYNC on checkpoint
operations only, not during ordinary commit fsyncs.

FossilOrigin-Name: a069867301de3ca2e1753bd4d2e426d27365be4c

14 years agoAdd file test_superlock.c with example code for obtaining an exclusive lock on either... superlock
dan [Fri, 19 Nov 2010 18:20:09 +0000 (18:20 +0000)] 
Add file test_superlock.c with example code for obtaining an exclusive lock on either rollback or wal mode databases.

FossilOrigin-Name: 1a3e7417a2184188fe21c3284e58720da9ca11cf

14 years agoAdd the SQLITE_FCNTL_FILE_POINTER verb to sqlite3_file_control().
drh [Fri, 19 Nov 2010 14:37:49 +0000 (14:37 +0000)] 
Add the SQLITE_FCNTL_FILE_POINTER verb to sqlite3_file_control().

FossilOrigin-Name: 4425b0645d0afebe3172201012d501c6992daa38

14 years agoEnsure tcl is using utf-8 as the system encoding when running capi3e.test.
dan [Thu, 18 Nov 2010 16:58:48 +0000 (16:58 +0000)] 
Ensure tcl is using utf-8 as the system encoding when running capi3e.test.

FossilOrigin-Name: 0a95589f2166f9ce420e647b73e8c797fe8f4833

14 years agoAdded some tests to check that umlaut characters are supported in filenames.
shaneh [Thu, 18 Nov 2010 15:44:59 +0000 (15:44 +0000)] 
Added some tests to check that umlaut characters are supported in filenames.

FossilOrigin-Name: c36f275d70ec8f6dead6adac02885026fdff9666

14 years agoRestrict the scope of the fts3ExprCost() subroutine inside of FTS3.
drh [Thu, 18 Nov 2010 13:52:34 +0000 (13:52 +0000)] 
Restrict the scope of the fts3ExprCost() subroutine inside of FTS3.

FossilOrigin-Name: 76681870a4705179f78976e7fda638a6fea0b9f9

14 years agoFix compiler warnings.
drh [Thu, 18 Nov 2010 13:47:50 +0000 (13:47 +0000)] 
Fix compiler warnings.

FossilOrigin-Name: 6c4f1d5c24522d1f541a2b96b229ad0374f99c19

14 years agoPrevent a possible segfault when the sqlite3_value_numeric_type() interface is
drh [Thu, 18 Nov 2010 12:31:24 +0000 (12:31 +0000)] 
Prevent a possible segfault when the sqlite3_value_numeric_type() interface is
misused to try to determine the numeric type of the NULL value returned
from sqlite3_column_value() with an invalid column number.

FossilOrigin-Name: 501b743bcb60cda0acf63bcf8a4abbf00797b347

14 years agoRestrict the scope of the sqlite3_stmt_readonly() interface to a specific
drh [Wed, 17 Nov 2010 02:02:45 +0000 (02:02 +0000)] 
Restrict the scope of the sqlite3_stmt_readonly() interface to a specific
subset of prepared statement types.

FossilOrigin-Name: 919b06c3a803abb9236606a9b5885f0d8181e730

14 years agoAdding the sqlite3_stmt_readonly() interface.
drh [Tue, 16 Nov 2010 23:10:25 +0000 (23:10 +0000)] 
Adding the sqlite3_stmt_readonly() interface.

FossilOrigin-Name: fd5b2f23dd5111d2f0934dd828bae36b755024c1

14 years agoUse the estimated number of rows computed for subqueries in the cost
drh [Tue, 16 Nov 2010 02:49:15 +0000 (02:49 +0000)] 
Use the estimated number of rows computed for subqueries in the cost
computations for outer queries.

FossilOrigin-Name: 56bbc539246a6dc9f1ae1edb898db7a4f6f6d322

14 years agoChange the EQP output for the min/max optimization from "SCAN" to "SEARCH".
drh [Mon, 15 Nov 2010 21:50:19 +0000 (21:50 +0000)] 
Change the EQP output for the min/max optimization from "SCAN" to "SEARCH".
Other changes in where.c in support of full branch coverage testing.

FossilOrigin-Name: d52b593978aa1776af7aeb957c4f8df0c5cb7e43

14 years agoFix the EQP logic so that it correctly reports OOM errors while formatting
drh [Mon, 15 Nov 2010 16:29:30 +0000 (16:29 +0000)] 
Fix the EQP logic so that it correctly reports OOM errors while formatting
"detail" text.

FossilOrigin-Name: 136c2ac24ee1663bc0904bce1a619ecef3d11c1c

14 years agoChange some test cases to account for the new EXPLAIN QUERY PLAN output.
dan [Mon, 15 Nov 2010 16:12:58 +0000 (16:12 +0000)] 
Change some test cases to account for the new EXPLAIN QUERY PLAN output.

FossilOrigin-Name: 88a854e18fc6bd619fa8d8a911abff50a9b76b9e

14 years agoTest some example code from documentation page eqp.html.
dan [Mon, 15 Nov 2010 14:51:33 +0000 (14:51 +0000)] 
Test some example code from documentation page eqp.html.

FossilOrigin-Name: 547bc2c232cbf7b7ff295287ab8fddb880e517f9

14 years agoMerge the EXPLAIN QUERY PLAN changes from experimental into trunk.
drh [Mon, 15 Nov 2010 14:44:30 +0000 (14:44 +0000)] 
Merge the EXPLAIN QUERY PLAN changes from experimental into trunk.

FossilOrigin-Name: ce27bf38405ce805dad95ec22cbe68ddc7af544a

14 years agoMinor additions to vacuum.test.
dan [Mon, 15 Nov 2010 11:35:50 +0000 (11:35 +0000)] 
Minor additions to vacuum.test.

FossilOrigin-Name: a397ed162246fef32b8c5db36d995bf9a8005a2e

14 years agoChange the EXPLAIN QUERY PLAN output to use "USING INDEX" instead of "BY INDEX",...
dan [Sat, 13 Nov 2010 16:42:27 +0000 (16:42 +0000)] 
Change the EXPLAIN QUERY PLAN output to use "USING INDEX" instead of "BY INDEX", and to use "SEARCH" instead of "SCAN" for loops that are not full-table scans.

FossilOrigin-Name: 6611b76b0296875fb9903b25dfaa783a9c12eaa1

14 years agoAdd EXPLAIN QUERY PLAN test cases to check that the examples in the documentation...
dan [Fri, 12 Nov 2010 17:41:37 +0000 (17:41 +0000)] 
Add EXPLAIN QUERY PLAN test cases to check that the examples in the documentation work.

FossilOrigin-Name: 85fdad850a4da33fd74f5394b921a63ea6b40bdb

14 years agoChange the test_multiplex.c code to use wrapper functions for all sqlite3_vfs methods...
dan [Fri, 12 Nov 2010 15:49:04 +0000 (15:49 +0000)] 
Change the test_multiplex.c code to use wrapper functions for all sqlite3_vfs methods (instead of copying function pointers from the underlying vfs into the multiplex vfs). This is required to work with test_osinst.c.

FossilOrigin-Name: 1244ef9f7ef813d86dca6f8e01681fa55ee9eec8

14 years agoReduce the number of branches that need to be tested in the
drh [Fri, 12 Nov 2010 15:35:59 +0000 (15:35 +0000)] 
Reduce the number of branches that need to be tested in the
explainIndexRange() function of where.c.

FossilOrigin-Name: 6fdae9a635a43e1bf7e4a480de1413064732c6b0

14 years agoUse "COMPOUND" instead of "COMPOSITE" in the EXPLAIN QUERY PLAN output to describe...
dan [Thu, 11 Nov 2010 17:48:51 +0000 (17:48 +0000)] 
Use "COMPOUND" instead of "COMPOSITE" in the EXPLAIN QUERY PLAN output to describe UNION, UNION ALL, EXCEPT and INTERSECT operations.

FossilOrigin-Name: 28643b85d93d27a44b9370e4087efa8fa2af7f8e

14 years agoAdd a row of EXPLAIN QUERY PLAN output for each composite select operation (UNION...
dan [Thu, 11 Nov 2010 16:46:40 +0000 (16:46 +0000)] 
Add a row of EXPLAIN QUERY PLAN output for each composite select operation (UNION, EXCEPT etc.) in the query.

FossilOrigin-Name: 00fb8468b5f2c48a3c91b86803bf306a0331496f

14 years agoFix a bug in the EXPLAIN QUERY PLAN code.
dan [Thu, 11 Nov 2010 11:43:01 +0000 (11:43 +0000)] 
Fix a bug in the EXPLAIN QUERY PLAN code.

FossilOrigin-Name: 7ae068952fba4395b4aa437613a5ed2bd9ddf941

14 years agoModifications to test cases to account for new EXPLAIN QUERY PLAN output.
dan [Thu, 11 Nov 2010 10:36:25 +0000 (10:36 +0000)] 
Modifications to test cases to account for new EXPLAIN QUERY PLAN output.

FossilOrigin-Name: 30904ef8412348464e893e9e1551ef22cad24a3e

14 years agoFix an assert that fired incorrectly when PRAGMA omit_readlock was set.
shaneh [Tue, 9 Nov 2010 20:33:33 +0000 (20:33 +0000)] 
Fix an assert that fired incorrectly when PRAGMA omit_readlock was set.

FossilOrigin-Name: e068758222bcd3f2367e9346f7154780cd395ddd

14 years agoMerge with latest trunk changes.
dan [Tue, 9 Nov 2010 17:49:39 +0000 (17:49 +0000)] 
Merge with latest trunk changes.

FossilOrigin-Name: 4b5c93bc7c43c80962ddae65c58037bf5977b94b

14 years agoAdd missing comments and fix other issues with routines used by new EQP features.
dan [Tue, 9 Nov 2010 17:35:19 +0000 (17:35 +0000)] 
Add missing comments and fix other issues with routines used by new EQP features.

FossilOrigin-Name: 925f35c535396603e13bb12e9a361072e2c2c223

14 years agoFurther enhancements and fixes for explain query plan.
dan [Tue, 9 Nov 2010 14:48:59 +0000 (14:48 +0000)] 
Further enhancements and fixes for explain query plan.

FossilOrigin-Name: 73c93f5a2a32ee8c5d07c9ba33b2641e72626627

14 years agoChanges to the multiplex VFS to optionally (compiler define) allow
shaneh [Mon, 8 Nov 2010 19:16:16 +0000 (19:16 +0000)] 
Changes to the multiplex VFS to optionally (compiler define) allow
the "chunk extension" to overwrite the right-most chars of the filename
instead of simply being appended.

FossilOrigin-Name: 07da0a0beffda324d28fd2768c542ff69d4dbff2

14 years agoExperimental changes to EXPLAIN QUERY PLAN.
dan [Mon, 8 Nov 2010 19:01:16 +0000 (19:01 +0000)] 
Experimental changes to EXPLAIN QUERY PLAN.

FossilOrigin-Name: f4747eb83dacce6430ad6e5eb20155ffad975514

14 years agoFix to xTruncate and more journal mode tests for the multiplex VFS.
shaneh [Fri, 5 Nov 2010 20:50:43 +0000 (20:50 +0000)] 
Fix to xTruncate and more journal mode tests for the multiplex VFS.

FossilOrigin-Name: 65fa1164f035d270db48db6474da888aacfba3bd

14 years agoFix os_unix.c so that it works with the test_multiplex module.
dan [Fri, 5 Nov 2010 18:07:37 +0000 (18:07 +0000)] 
Fix os_unix.c so that it works with the test_multiplex module.

FossilOrigin-Name: 72ba3e368bec34532ec7b5e856a4daa7e1c8cccb

14 years agoMore tests and added support for xDelete in multiplex VFS.
shaneh [Fri, 5 Nov 2010 17:51:25 +0000 (17:51 +0000)] 
More tests and added support for xDelete in multiplex VFS.

FossilOrigin-Name: f2004b44bfba62a7a2296b161a25aefdf55e035a

14 years agoAdditional error checking and tests.
shaneh [Fri, 5 Nov 2010 03:58:58 +0000 (03:58 +0000)] 
Additional error checking and tests.

FossilOrigin-Name: 1ab9a59237bed6d03b55153a67588486f9adc67b

14 years agoAdditional tests and commenting for the multiplex VFS.
shaneh [Fri, 5 Nov 2010 03:43:54 +0000 (03:43 +0000)] 
Additional tests and commenting for the multiplex VFS.

FossilOrigin-Name: 8ed944ba74566c6241d655a39801ad192c61219a

14 years agoUpdate the configure script for version 3.7.4.
drh [Fri, 5 Nov 2010 00:04:57 +0000 (00:04 +0000)] 
Update the configure script for version 3.7.4.

FossilOrigin-Name: 18a73795b427e3d04a8a437410a271a50bbe32e4

14 years agoMerge the multiplexer VFS demo into the trunk.
drh [Fri, 5 Nov 2010 00:01:39 +0000 (00:01 +0000)] 
Merge the multiplexer VFS demo into the trunk.

FossilOrigin-Name: 1635d927cd434052303e0e75f58a08a1e2fefd86

14 years agoFix the Makefile.in so that it works with the multiplexer VFS.
drh [Fri, 5 Nov 2010 00:00:42 +0000 (00:00 +0000)] 
Fix the Makefile.in so that it works with the multiplexer VFS.

FossilOrigin-Name: 54e2efb6679433e48106247ed6ea0d4c029438b8

14 years agoBack out an unintended change to permutations.test.
drh [Thu, 4 Nov 2010 21:14:12 +0000 (21:14 +0000)] 
Back out an unintended change to permutations.test.

FossilOrigin-Name: 57fe35357dba7ebb382486b916004004b35f8c55

14 years agoAnother change for testing on Windows.
shaneh [Thu, 4 Nov 2010 21:13:56 +0000 (21:13 +0000)] 
Another change for testing on Windows.

FossilOrigin-Name: 2625886b1997dc92e7c3669a4f6ccf3560a4dd80

14 years agoFix the main.mk makefile to include test_multiplex.c for testfixture.
drh [Thu, 4 Nov 2010 21:03:47 +0000 (21:03 +0000)] 
Fix the main.mk makefile to include test_multiplex.c for testfixture.

FossilOrigin-Name: c27c51180e88744939ba5af099b6e510968ed2c3

14 years agoFirst attempt at a sharding VFS to split large DBs.
shaneh [Thu, 4 Nov 2010 20:50:27 +0000 (20:50 +0000)] 
First attempt at a sharding VFS to split large DBs.

FossilOrigin-Name: dd4dc8a4269e23ffe0e18438690da6077e17cdad

14 years agoFix size so it's really 32x32.
shaneh [Thu, 4 Nov 2010 20:47:44 +0000 (20:47 +0000)] 
Fix size so it's really 32x32.

FossilOrigin-Name: 62c494f6947e53808404081c8f48cc327ef814e7

14 years agoUpdates for Windows.
shaneh [Thu, 4 Nov 2010 20:46:09 +0000 (20:46 +0000)] 
Updates for Windows.

FossilOrigin-Name: cc9d9a12c3b19320b0ecfa78a6cee3d668004988

14 years agoInclude the print_pager_state() function only if SQLITE_DEBUG is defined.
dan [Thu, 4 Nov 2010 04:47:42 +0000 (04:47 +0000)] 
Include the print_pager_state() function only if SQLITE_DEBUG is defined.

FossilOrigin-Name: 3104f17e5dd0be4f176905dde6df3be50ba28702

14 years agoChanges to allow FTS4 tables to be created without the underlying %_docsize table...
dan [Tue, 2 Nov 2010 17:41:52 +0000 (17:41 +0000)] 
Changes to allow FTS4 tables to be created without the underlying %_docsize table (in order to save space).

FossilOrigin-Name: 31989b18f53d97eddfb39660ef04fbf9463583e0

14 years agoAdd evidence marks for the sqlite3_blob_reopen() interface. Fix compiler
drh [Tue, 2 Nov 2010 15:26:24 +0000 (15:26 +0000)] 
Add evidence marks for the sqlite3_blob_reopen() interface.  Fix compiler
warnings in test1.c.  Fix incorrect evidence marks on e_select.tcl.

FossilOrigin-Name: 3771faa88eda3eb91264ce0982e22f53596abd4b

14 years agoAdd test cases to restore coverage of pager.c and wal.c.
dan [Mon, 1 Nov 2010 18:45:08 +0000 (18:45 +0000)] 
Add test cases to restore coverage of pager.c and wal.c.

FossilOrigin-Name: 6cae552927392d8b735aa118c318d7468097ebeb

14 years agoIf a database file with the WAL flag set is opened in exclusive-locking mode, use...
dan [Mon, 1 Nov 2010 17:38:24 +0000 (17:38 +0000)] 
If a database file with the WAL flag set is opened in exclusive-locking mode, use heap memory to store the wal-index instead of shared-memory.

FossilOrigin-Name: 8dd5c69198619866923c6053b71899c1fb8c4c67

14 years agoChange the version number to 3.7.4.
drh [Mon, 1 Nov 2010 14:34:31 +0000 (14:34 +0000)] 
Change the version number to 3.7.4.

FossilOrigin-Name: db64843b540d23c58fe4de199a7fc40d44900bc4

14 years agoFix a broken test case in exclusive.test.
dan [Mon, 1 Nov 2010 05:54:06 +0000 (05:54 +0000)] 
Fix a broken test case in exclusive.test.

FossilOrigin-Name: 582db83294599ffd7265d3ab2db2765e7e4fbb8d

14 years agoChanges to test scripts so that they work with SQLITE_ENABLE_ICU.
dan [Mon, 1 Nov 2010 05:42:26 +0000 (05:42 +0000)] 
Changes to test scripts so that they work with SQLITE_ENABLE_ICU.

FossilOrigin-Name: 465c819fdb601961eddb7304642c823d78111992

14 years agoFix a test module comment typo reported on the mailing list.
drh [Sun, 31 Oct 2010 22:47:15 +0000 (22:47 +0000)] 
Fix a test module comment typo reported on the mailing list.

FossilOrigin-Name: 87eb1f04d2dd06f34f1385006bf42ae6c8903d46

14 years agoFix a typo in a comment inserted by the amalgamation builder.
drh [Sun, 31 Oct 2010 22:42:27 +0000 (22:42 +0000)] 
Fix a typo in a comment inserted by the amalgamation builder.
Typo reported on the mailing list.

FossilOrigin-Name: 6a6bb6ce733b421b42fa251dbda7fb19f72361ff

14 years agoTest cases and minor changes to make fts3 more robust in the face of a corrupt database.
dan [Sat, 30 Oct 2010 15:21:13 +0000 (15:21 +0000)] 
Test cases and minor changes to make fts3 more robust in the face of a corrupt database.

FossilOrigin-Name: b770290561f5450e4d985ca0050ef5eb01657c80

14 years agoAdd extra test cases and changes to fts3 to avoid crashing on a corrupt database.
dan [Fri, 29 Oct 2010 18:45:10 +0000 (18:45 +0000)] 
Add extra test cases and changes to fts3 to avoid crashing on a corrupt database.

FossilOrigin-Name: 252f0e457d3e33404df87d3e6c44ede61b78319c

14 years agoAdd new "dynamic_triggers" test case to threadtest3.c.
dan [Thu, 28 Oct 2010 15:52:04 +0000 (15:52 +0000)] 
Add new "dynamic_triggers" test case to threadtest3.c.

FossilOrigin-Name: a4691563dd2b3e5e8474467b0c5c46fb26351b77

14 years agoEnforce the MAX_EXPR_DEPTH limit while building expression trees during SQL parsing.
dan [Thu, 28 Oct 2010 11:31:23 +0000 (11:31 +0000)] 
Enforce the MAX_EXPR_DEPTH limit while building expression trees during SQL parsing.

FossilOrigin-Name: 2625eee0cb7f22dba61459b689e33a03ecebb6da

14 years agoAvoid trying to allocate a negative number of bytes of memory in the test wrapper...
dan [Wed, 27 Oct 2010 19:08:26 +0000 (19:08 +0000)] 
Avoid trying to allocate a negative number of bytes of memory in the test wrapper for sqlite3_blob_read().

FossilOrigin-Name: 739b5d9aa4eaa4191ca512d0dbf94a6bdbb12d97

14 years agoMerge experimental fts3/fts4 changes with trunk.
dan [Wed, 27 Oct 2010 18:10:00 +0000 (18:10 +0000)] 
Merge experimental fts3/fts4 changes with trunk.

FossilOrigin-Name: 988164cf485300fb3d189fd1453c23c48e737e24

14 years agoFix a buffer overread in fts3 that can occur if the database is corrupt.
dan [Wed, 27 Oct 2010 16:52:27 +0000 (16:52 +0000)] 
Fix a buffer overread in fts3 that can occur if the database is corrupt.

FossilOrigin-Name: 84194c4195d7144ff7f9cedcdc74fdd908f3bfcd

14 years agoFix a memory leak in the update_hook method of the TCL interface.
drh [Wed, 27 Oct 2010 15:36:21 +0000 (15:36 +0000)] 
Fix a memory leak in the update_hook method of the TCL interface.

FossilOrigin-Name: 1d17e3dc832d789c3665e240dac5019fc4f9c18b

14 years agoIn fts4, store the total number of bytes of for all records in the table in the ...
dan [Wed, 27 Oct 2010 10:55:54 +0000 (10:55 +0000)] 
In fts4, store the total number of bytes of for all records in the table in the %_stat table.

FossilOrigin-Name: 941647d121ac60e2eabc998cfe79b157fb918d7e

14 years agoStructural coverage tests for vdbeblob.c. Including experimental new API sqlite3_blob...
dan [Tue, 26 Oct 2010 18:42:52 +0000 (18:42 +0000)] 
Structural coverage tests for vdbeblob.c. Including experimental new API sqlite3_blob_reopen().

FossilOrigin-Name: 97c6b2616ddcce2337778c6ee88a973cc4fe999d

14 years agoAdd missing header comments for changes related to the experimental sqlite3_blob_reop...
dan [Tue, 26 Oct 2010 11:56:57 +0000 (11:56 +0000)] 
Add missing header comments for changes related to the experimental sqlite3_blob_reopen() API.

FossilOrigin-Name: d1cc5c93f09c9092ec478c04e8d9a8b1f9c0cb04

14 years agoMore coverage tests for fts3.c.
dan [Tue, 26 Oct 2010 07:14:25 +0000 (07:14 +0000)] 
More coverage tests for fts3.c.

FossilOrigin-Name: 7a2f2864002d4e9a487e2779ae05513880ecb4d1

14 years agoFurther improvements to coverage of fts3.c. Fixes for bugs revealed by the same.
dan [Mon, 25 Oct 2010 19:01:25 +0000 (19:01 +0000)] 
Further improvements to coverage of fts3.c. Fixes for bugs revealed by the same.

FossilOrigin-Name: 918b609290127f54326c638d82837d117398eade