]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
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

14 years agoTest coverage improvements for fts3.c.
dan [Mon, 25 Oct 2010 12:47:43 +0000 (12:47 +0000)] 
Test coverage improvements for fts3.c.

FossilOrigin-Name: a8b1d99899678b72c2a487909eabed321593d55f

14 years agoAdd test for matchinfo when a phrase includes some common tokens.
dan [Mon, 25 Oct 2010 09:01:57 +0000 (09:01 +0000)] 
Add test for matchinfo when a phrase includes some common tokens.

FossilOrigin-Name: 80a54ebc41e4224ab93d92cb390524db1c398155

14 years agoFixes for the matchinfo() function related to FTS4 common token handling.
dan [Sat, 23 Oct 2010 19:07:30 +0000 (19:07 +0000)] 
Fixes for the matchinfo() function related to FTS4 common token handling.

FossilOrigin-Name: deb80eac9112d21835dfd3cee08ed8f09d975bf7

14 years agoAdd new test file fts3defer2.test.
dan [Fri, 22 Oct 2010 19:03:33 +0000 (19:03 +0000)] 
Add new test file fts3defer2.test.

FossilOrigin-Name: 5a4d5bfcaeb78a81713f138b01c0ea45a15c4d6c

14 years agoAdd missing comments and fix compiler warnings in new FTS3/4 code. Other minor fixes...
dan [Fri, 22 Oct 2010 16:44:39 +0000 (16:44 +0000)] 
Add missing comments and fix compiler warnings in new FTS3/4 code. Other minor fixes too.

FossilOrigin-Name: 1c9c70fec3c88319f7b2efe5316694a6ce0ab1a5

14 years agoPrevent an assert from failing when opening a zero-length database file with an appar...
dan [Fri, 22 Oct 2010 13:55:50 +0000 (13:55 +0000)] 
Prevent an assert from failing when opening a zero-length database file with an apparently hot journal with locking_mode=exclusive set.

FossilOrigin-Name: f000ac1e52f56f5fcbc2f8b9cd632656c6dc6002

14 years agoMake sure the estimated row count for ephemeral tables is initialized so that
drh [Thu, 21 Oct 2010 22:58:25 +0000 (22:58 +0000)] 
Make sure the estimated row count for ephemeral tables is initialized so that
automatic indices can be used on those tables.

FossilOrigin-Name: d30f7b2deffdba373a2e0988f433c631c790a7b5

14 years agoMerge trunk changes into experimental branch.
dan [Thu, 21 Oct 2010 15:49:47 +0000 (15:49 +0000)] 
Merge trunk changes into experimental branch.

FossilOrigin-Name: fd1e5cade04961c2f5438a1dfcc2e15eafb4503f

14 years agoFix some segfaults that could occur in obscure circumstances where error messages...
dan [Thu, 21 Oct 2010 15:12:44 +0000 (15:12 +0000)] 
Fix some segfaults that could occur in obscure circumstances where error messages contained characters that could be mistaken for printf format specifiers.

FossilOrigin-Name: f91471e7234db490f97298b1ccb8d6c7fc45b089

14 years agoFix a typo-bug that prevented --disable-amalgamation from working in
drh [Thu, 21 Oct 2010 12:34:29 +0000 (12:34 +0000)] 
Fix a typo-bug that prevented --disable-amalgamation from working in
Makefile.in.  Also fix an overly long line in Makfile.in.

FossilOrigin-Name: 2c3c4ba035e548e97101142692133cf685da16bc

14 years agoAdd new WHERETRACE macros for better diagnostics of the query planner.
drh [Thu, 21 Oct 2010 03:13:58 +0000 (03:13 +0000)] 
Add new WHERETRACE macros for better diagnostics of the query planner.
Added a new test case for the performance regression fixed by the previous
check-in.

FossilOrigin-Name: 1e0db99797be2821716de7138931ebd5cf8fa63b

14 years agoFix the query planner so that it uses the multi-index OR-clause solution if
drh [Thu, 21 Oct 2010 02:05:06 +0000 (02:05 +0000)] 
Fix the query planner so that it uses the multi-index OR-clause solution if
that is the lowest cost estimate.  A prior bug cause the multi-index solution
to be ignored in some circumstances.

FossilOrigin-Name: 28ba6255282b1419b8b165e8461018d257b1f6c2

14 years agoUpdates to FTS4 to improve performance and make more accurate cost estimates for...
dan [Wed, 20 Oct 2010 18:56:04 +0000 (18:56 +0000)] 
Updates to FTS4 to improve performance and make more accurate cost estimates for prefix terms.

FossilOrigin-Name: d0a450ce78e99f55c862f26f9332786660007a0a

14 years agoExperimental changes to fts4 to try to selectively avoid loading very large doclists.
dan [Tue, 19 Oct 2010 14:07:59 +0000 (14:07 +0000)] 
Experimental changes to fts4 to try to selectively avoid loading very large doclists.

FossilOrigin-Name: 5ae0ba447a561e3b6637b52f9b83a9fc683d2572

14 years agoAvoid taking locks on unused database connections when committing a
drh [Thu, 14 Oct 2010 01:17:30 +0000 (01:17 +0000)] 
Avoid taking locks on unused database connections when committing a
read transaction.

FossilOrigin-Name: c0ee614fd988f445c4884a37f494479bdd669185

14 years agoCheck-in [d3c95e3a4e08d0] was incorrect. This is the correct fix for
drh [Thu, 14 Oct 2010 01:16:32 +0000 (01:16 +0000)] 
Check-in [d3c95e3a4e08d0] was incorrect.  This is the correct fix for
sqlit3_bind_blob().  Ticket [860399cc408f2dd5f4]

FossilOrigin-Name: ea8c2f5f8a890dcb422e9e46298ae6ca378c74b7

14 years agoFix the sqlite3_bind_blob() interface (and its kin) so that the destructor
drh [Tue, 12 Oct 2010 02:13:32 +0000 (02:13 +0000)] 
Fix the sqlite3_bind_blob() interface (and its kin) so that the destructor
is invoked if the binding fails.  Ticket [860399cc408f2dd5f41aed44b]
Update the documentation to explain which interfaces invoke their
destructors on failure and which do not.

FossilOrigin-Name: d3c95e3a4e08d08028e9bc7f282074e32b9cf950

14 years agoMake sure the sqlite3_create_collation() interfaces always return an error
drh [Mon, 11 Oct 2010 17:58:21 +0000 (17:58 +0000)] 
Make sure the sqlite3_create_collation() interfaces always return an error
code if they fail.  Ticket [a04e42a3fcacaffa3133436].

FossilOrigin-Name: 6464276ec1c0951a6edc59eb402ca3dd49629a18

14 years agoFurther changes to extension loading to support compile-time options.
drh [Mon, 11 Oct 2010 17:57:41 +0000 (17:57 +0000)] 
Further changes to extension loading to support compile-time options.

FossilOrigin-Name: f818fb6f73ada64eaf8785d9bb2d439b6d755461

14 years agoMake APIs added since version 3.6.0 accessible to loadable extensions.
drh [Mon, 11 Oct 2010 13:12:04 +0000 (13:12 +0000)] 
Make APIs added since version 3.6.0 accessible to loadable extensions.

FossilOrigin-Name: 76c64a35567880b49af076df61c9fee76e934f14

14 years agoAdd tests to e_createtable.test.
dan [Fri, 8 Oct 2010 16:09:43 +0000 (16:09 +0000)] 
Add tests to e_createtable.test.

FossilOrigin-Name: 38bec827f1a0603ad36d1dc1bc83430ae370df38

14 years agoVersion 3.7.3
drh [Fri, 8 Oct 2010 02:34:02 +0000 (02:34 +0000)] 
Version 3.7.3

FossilOrigin-Name: 2677848087c9c090efb17c1893e77d6136a9111d

14 years agoUpdate the CLI test script to expect a version number of 3.7.3.
drh [Thu, 7 Oct 2010 13:29:13 +0000 (13:29 +0000)] 
Update the CLI test script to expect a version number of 3.7.3.

FossilOrigin-Name: e55ada89246d4cc5f476891c70572dc7c1c3643e

14 years agoUpdate the configure script and Makefile so that they work with 3.7.3.
drh [Wed, 6 Oct 2010 20:25:00 +0000 (20:25 +0000)] 
Update the configure script and Makefile so that they work with 3.7.3.

FossilOrigin-Name: 97b63a1168c761d4754d91062b73086f36069517

14 years agoFix long-standing bugs with the handling of LIMIT clausing in
drh [Wed, 6 Oct 2010 18:55:37 +0000 (18:55 +0000)] 
Fix long-standing bugs with the handling of LIMIT clausing in
compound SELECT statements with FROM clause subqueries.
Ticket [38cb5df375078d3f9].

FossilOrigin-Name: b0450120eabfe5455cea1ed04cec587a5540b6b7

14 years agoFix minor test suite problems causing errors on OSX.
dan [Wed, 6 Oct 2010 16:42:52 +0000 (16:42 +0000)] 
Fix minor test suite problems causing errors on OSX.

FossilOrigin-Name: 759c954fee215a64f21fe13491515eebebbc6d01

14 years agoFix a bug in test code that was causing a valgrind error. No changes to production...
dan [Wed, 6 Oct 2010 09:57:33 +0000 (09:57 +0000)] 
Fix a bug in test code that was causing a valgrind error. No changes to production code.

FossilOrigin-Name: f29da7bec68fa2cdd97c75b30f7ab25c96f8d49a

14 years agoDo not embedded #if inside an assert() statement.
drh [Tue, 5 Oct 2010 18:22:47 +0000 (18:22 +0000)] 
Do not embedded #if inside an assert() statement.
Fix for check-in [dca8763872a]

FossilOrigin-Name: d7d4a94fc1209fd32d7c8e20ac83eb169b81ee25

14 years agoHave the pager change to at least WRITER_CACHEMOD state before marking any pages...
dan [Tue, 5 Oct 2010 17:02:47 +0000 (17:02 +0000)] 
Have the pager change to at least WRITER_CACHEMOD state before marking any pages as dirty (instead of immediately after). Otherwise, if an error occurs, the pager may be left in WRITER_LOCKED state with dirty pages in the cache.

FossilOrigin-Name: 471a4efbb7e5e32b144b2e2128337a6af950b8f5

14 years agoIf walLockExclusive() fails for reasons other than SQLITE_BUSY inside of
drh [Tue, 5 Oct 2010 15:41:05 +0000 (15:41 +0000)] 
If walLockExclusive() fails for reasons other than SQLITE_BUSY inside of
walRestartLog() then propagate that error back up to the application.

FossilOrigin-Name: 04dcba6b3379d2168609950ed919c8f743705333

14 years agoAvoid all memory allocation (and hence the possiblitity of OOM failure)
drh [Tue, 5 Oct 2010 12:05:32 +0000 (12:05 +0000)] 
Avoid all memory allocation (and hence the possiblitity of OOM failure)
in sqlite3_value_double() and sqlite3_column_double().

FossilOrigin-Name: 4afdf9705a7c2b67aea31c5d51b9c295867d62d1

14 years agoFix an assert() failing on OSX.
dan [Tue, 5 Oct 2010 11:33:15 +0000 (11:33 +0000)] 
Fix an assert() failing on OSX.

FossilOrigin-Name: dca8763872aa6244cb1a0f519167b360a6372d0d

14 years agoPrevent backcompat.test from mistaking directories for binary executables.
dan [Tue, 5 Oct 2010 08:13:44 +0000 (08:13 +0000)] 
Prevent backcompat.test from mistaking directories for binary executables.

FossilOrigin-Name: 717a1e50f005714b1d5233f80697db14cd8af659

14 years agoFix a performance regression (relative to version 3.6.23.1) caused by the
drh [Mon, 4 Oct 2010 23:55:50 +0000 (23:55 +0000)] 
Fix a performance regression (relative to version 3.6.23.1) caused by the
query planner taking into account non-indexable WHERE clause terms to select
the outermost join loops when it should be selecting tables for the outermost
loop that do not benefit from being in an inner loop.

FossilOrigin-Name: ece641eb8951c6314cedbdb3243f91cb199c3239

14 years agoFix a couple of test script problems.
dan [Mon, 4 Oct 2010 16:06:11 +0000 (16:06 +0000)] 
Fix a couple of test script problems.

FossilOrigin-Name: dd106901407a4d98644dd614e16e9fdc10cd7423

14 years agoFix memsubsys1.test so that it works with TEMP_STORE>=2.
dan [Mon, 4 Oct 2010 15:47:30 +0000 (15:47 +0000)] 
Fix memsubsys1.test so that it works with TEMP_STORE>=2.

FossilOrigin-Name: 8ad88ee0c1145eb9f92267c31d7d787739718716

14 years agoWarning cleanup from MSVC.
shaneh [Mon, 4 Oct 2010 14:11:54 +0000 (14:11 +0000)] 
Warning cleanup from MSVC.

FossilOrigin-Name: cde62657d6f410a3d6899cd7b4000d276fe3c813

14 years agoFix broken evidence marks in e_expr.test.
dan [Mon, 4 Oct 2010 11:01:17 +0000 (11:01 +0000)] 
Fix broken evidence marks in e_expr.test.

FossilOrigin-Name: 37ff94cec8a50d42c18f2253541bbcb0a6dfd0c3

14 years agoAdd tests for table-constraints to e_createtable.test.
dan [Mon, 4 Oct 2010 10:45:32 +0000 (10:45 +0000)] 
Add tests for table-constraints to e_createtable.test.

FossilOrigin-Name: 70f511872e938e096537fb0ca097ccdd3b33becc

14 years agoAdd tests for CHECK and UNIQUE constraints to e_createtable.test.
dan [Fri, 1 Oct 2010 19:04:37 +0000 (19:04 +0000)] 
Add tests for CHECK and UNIQUE constraints to e_createtable.test.

FossilOrigin-Name: fb8db5581d884e5eb380480bc08d2106bfb6a9fc

14 years agoAdd #ifndef USE_SYSTEM_SQLITE...#endif around the bundled SQLite library
drh [Fri, 1 Oct 2010 17:23:46 +0000 (17:23 +0000)] 
Add #ifndef USE_SYSTEM_SQLITE...#endif around the bundled SQLite library
for the TCL bindings.

FossilOrigin-Name: 8d85584a4e0761afa0ff1e9e69036f1a66ab22dc

14 years agoUpdates to the showjournal.c utility in order to bring it up to version 3.
drh [Fri, 1 Oct 2010 13:28:43 +0000 (13:28 +0000)] 
Updates to the showjournal.c utility in order to bring it up to version 3.

FossilOrigin-Name: fa97d895463be6fd963c29b4525c2664193e36ec

14 years agoMerge experimental into trunk: Refactor the text-to-numeric conversion
drh [Thu, 30 Sep 2010 20:33:40 +0000 (20:33 +0000)] 
Merge experimental into trunk:  Refactor the text-to-numeric conversion
routines to work without zero-terminators and in UTF16 as well as UTF8.
Avoid invalidating strings with doing affinity conversions.

FossilOrigin-Name: 07ee080ec4527fd2191f41231208da66b3f6b955

14 years agoFix some matching issues in enc4.test affected by TCL versions.
shaneh [Thu, 30 Sep 2010 20:11:24 +0000 (20:11 +0000)] 
Fix some matching issues in enc4.test affected by TCL versions.

FossilOrigin-Name: dd6d61a967e3c0d98b78987f6f7bb9bdf090174e

14 years agoAdd further tests to e_createtable.test.
dan [Thu, 30 Sep 2010 18:43:14 +0000 (18:43 +0000)] 
Add further tests to e_createtable.test.

FossilOrigin-Name: 0a4528d629018eae0b0f3e173ebda666c2e2d502

14 years agoFix memory leak in enc4.test script.
shaneh [Thu, 30 Sep 2010 18:30:17 +0000 (18:30 +0000)] 
Fix memory leak in enc4.test script.

FossilOrigin-Name: bfc294ae437e02984c08d47bed7b7fb49b71a1c2

14 years agoAdditional encoding tests.
shaneh [Thu, 30 Sep 2010 18:19:44 +0000 (18:19 +0000)] 
Additional encoding tests.

FossilOrigin-Name: c7f9363617a66ee43a87816ad42aaf2b75f13ea2

14 years agoRemove unnecessary calls to memAboutToChange() in vdbe.c. An affinity
drh [Thu, 30 Sep 2010 18:12:01 +0000 (18:12 +0000)] 
Remove unnecessary calls to memAboutToChange() in vdbe.c.  An affinity
change no longer invalidates shallow copies.

FossilOrigin-Name: afb0fd0b0421c42630c5e6e5e8811aca634bc9d0

14 years agoDo correct affinity transformations on floating point values which have
drh [Thu, 30 Sep 2010 17:33:11 +0000 (17:33 +0000)] 
Do correct affinity transformations on floating point values which have
a decimal point at the beginning or end of the mantissa.
Ticket [3998683a16a7076e08f5].

FossilOrigin-Name: ca154f97a590745539b2cbfd77eb319fd7392a40

14 years agoChanges to remove sqlite3FitsIn64Bits().
shaneh [Thu, 30 Sep 2010 16:51:25 +0000 (16:51 +0000)] 
Changes to remove sqlite3FitsIn64Bits().

FossilOrigin-Name: 43fef1cab6315f837782ea601d5a2aeb9843ab3c

14 years agoFix the handling of default values for ALTER TABLE ADD COLUMN columns so
drh [Thu, 30 Sep 2010 14:48:06 +0000 (14:48 +0000)] 
Fix the handling of default values for ALTER TABLE ADD COLUMN columns so
that is able to deal with negative numbers, including large negative numbers.
Ticket [8454a207b9fd2243c4]

FossilOrigin-Name: ce6cc16e3a151a0c67855abde1411422dfcc8828

14 years agoRework the text to numeric conversion routines so that they work with either
drh [Thu, 30 Sep 2010 00:50:49 +0000 (00:50 +0000)] 
Rework the text to numeric conversion routines so that they work with either
UTF8 or UTF16 and do not require a NULL terminator.  This allowed text to
numeric conversion without reallocating the string.

FossilOrigin-Name: 14eed3a0e0a45c6f2904a3a134aa27c159916f7b

14 years agoAdd test cases to e_createtable.test.
dan [Wed, 29 Sep 2010 18:26:24 +0000 (18:26 +0000)] 
Add test cases to e_createtable.test.

FossilOrigin-Name: f34dc54d46d05adf1f52db51442195b3285a26b9

14 years agoAdd tests for "CREATE TABLE ... AS SELECT ..." statements to e_createtable.test.
dan [Wed, 29 Sep 2010 23:09:23 +0000 (23:09 +0000)] 
Add tests for "CREATE TABLE ... AS SELECT ..." statements to e_createtable.test.

FossilOrigin-Name: 1ef0dc9328f47506cb2dcd142150e96cb4755216

14 years agoUpdates to sqlite3_finalize() documentation.
drh [Wed, 29 Sep 2010 01:54:00 +0000 (01:54 +0000)] 
Updates to sqlite3_finalize() documentation.

FossilOrigin-Name: 8c5994cf8e5ae0c1cb8f655ac83e52e668e75c86

14 years agoSimplify the test that determines if the name of a new table collides with
drh [Tue, 28 Sep 2010 20:26:44 +0000 (20:26 +0000)] 
Simplify the test that determines if the name of a new table collides with
a prior index name.

FossilOrigin-Name: 3f30f00a384d23582f3fe5e68add7fb7d7834926

14 years agoFix some problems that can occur if a trigger has the same name as another database...
dan [Wed, 29 Sep 2010 07:16:46 +0000 (07:16 +0000)] 
Fix some problems that can occur if a trigger has the same name as another database object.

FossilOrigin-Name: 655991ec8a781d67d69fc353853403b9a811acf2

14 years agoMerge accidental fork.
drh [Tue, 28 Sep 2010 17:37:44 +0000 (17:37 +0000)] 
Merge accidental fork.

FossilOrigin-Name: 33c8b9c710db6a1a987c11ab6f3a6bc120257ce9

14 years agoAdd tests to e_createtable.test. Allow a table to be created if there is an index...
dan [Tue, 28 Sep 2010 17:37:28 +0000 (17:37 +0000)] 
Add tests to e_createtable.test. Allow a table to be created if there is an index of the same name in a different attached database.

FossilOrigin-Name: 6251e587403eed822b9011ed25a3a807e8fa2a6f

14 years agoGet ANALYZE working again with -DSQLITE_ENABLE_STAT2 and virtual tables.
drh [Tue, 28 Sep 2010 17:34:46 +0000 (17:34 +0000)] 
Get ANALYZE working again with -DSQLITE_ENABLE_STAT2 and virtual tables.

FossilOrigin-Name: b7a26427afc43c9bbdf365b775379eb57187bc97

14 years agoDisallow statements of the form "CREATE TEMP TABLE main.t1 ...".
dan [Tue, 28 Sep 2010 15:55:47 +0000 (15:55 +0000)] 
Disallow statements of the form "CREATE TEMP TABLE main.t1 ...".

FossilOrigin-Name: dd1b34bab7edaaedd985882f6e16b16940a46d38

14 years agoUpdates to e_vacuum.test so that it works when SQLITE_DEFAULT_AUTOVACUUM=1 is
drh [Tue, 28 Sep 2010 15:25:20 +0000 (15:25 +0000)] 
Updates to e_vacuum.test so that it works when SQLITE_DEFAULT_AUTOVACUUM=1 is
set.

FossilOrigin-Name: 890816c52d688f01be9a8abd8b4c9375eed4de7e

14 years agoFix several harmless compiler warnings.
drh [Tue, 28 Sep 2010 14:26:36 +0000 (14:26 +0000)] 
Fix several harmless compiler warnings.

FossilOrigin-Name: 7be03ecc04235420e54fed8a88742243278de160

14 years agoFix an incompatibility with OMIT_VIRTUALTABLE in e_vacuum.test.
dan [Tue, 28 Sep 2010 14:11:25 +0000 (14:11 +0000)] 
Fix an incompatibility with OMIT_VIRTUALTABLE in e_vacuum.test.

FossilOrigin-Name: 7d0b881a6294b7f13069b2e4b69c0c0d46606505

14 years agoUpdates to the sqlite3_get_table() documentation.
drh [Tue, 28 Sep 2010 13:12:50 +0000 (13:12 +0000)] 
Updates to the sqlite3_get_table() documentation.

FossilOrigin-Name: c7aa238c3797d8f735739a182d18aeada089def2

14 years agoUpdate the version number to 3.7.3 in preparation for the next release.
drh [Tue, 28 Sep 2010 07:24:49 +0000 (07:24 +0000)] 
Update the version number to 3.7.3 in preparation for the next release.

FossilOrigin-Name: 88108fff672b6012ffe87ba4b1efe6d5a07037d1

14 years agoMerge fixes for ticket [b351d95f9cd5ef17e9d9dbae18f5ca8611190001] into
drh [Tue, 28 Sep 2010 07:14:03 +0000 (07:14 +0000)] 
Merge fixes for ticket [b351d95f9cd5ef17e9d9dbae18f5ca8611190001] into
the trunk.

FossilOrigin-Name: 1f7ef0af8d9e41cd41f9046d198132eabd89ab18

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