]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
10 years agoMake sure sqlite3_value_dup() works correctly even for sqlite3_value value-dup
drh [Fri, 22 May 2015 21:04:54 +0000 (21:04 +0000)] 
Make sure sqlite3_value_dup() works correctly even for sqlite3_value
objects that are marked SQLITE_STATIC.

FossilOrigin-Name: f332ffc39b7a17fd6254d8dc699293a57a508ba0

10 years agoFix minor issues with the sqlite3_value_dup() interface.
drh [Fri, 22 May 2015 19:55:10 +0000 (19:55 +0000)] 
Fix minor issues with the sqlite3_value_dup() interface.

FossilOrigin-Name: 95edcf5010ecb8edd8eb74279c4766f9b655d4a2

10 years agoUpdate with fixes and enhancements from trunk.
drh [Fri, 22 May 2015 18:40:48 +0000 (18:40 +0000)] 
Update with fixes and enhancements from trunk.

FossilOrigin-Name: 9605d008f5c763137e9734d033fe4510ca316858

10 years agoThe SRT_Table type for the SelectDest object is now just an SRT_EphemTab for
drh [Fri, 22 May 2015 17:29:27 +0000 (17:29 +0000)] 
The SRT_Table type for the SelectDest object is now just an SRT_EphemTab for
which the ephemeral table has already been allocated.

FossilOrigin-Name: b9727e6bbfc3c62c601227e86e62f2f39792fd1d

10 years agoHave r-tree prefer to use the constraint "col MATCH ?" over "rowid = ?".
dan [Fri, 22 May 2015 16:08:42 +0000 (16:08 +0000)] 
Have r-tree prefer to use the constraint "col MATCH ?" over "rowid = ?".

FossilOrigin-Name: b9fb95194d4f7c535f1d175fd2e18d69d76e8fc4

10 years agoFix two faulty assert statements discovered by fuzzing.
drh [Fri, 22 May 2015 13:09:50 +0000 (13:09 +0000)] 
Fix two faulty assert statements discovered by fuzzing.

FossilOrigin-Name: 799817bfb2bc95963c0e0d70063c4cb15c94ef74

10 years agoFix an assert in btree.c that can be false when using a corrupted database
drh [Fri, 22 May 2015 12:37:37 +0000 (12:37 +0000)] 
Fix an assert in btree.c that can be false when using a corrupted database
file.

FossilOrigin-Name: a6eb2a39357c35dc13d549ef86c785ff5c69938a

10 years agoAdd the --database option to the fuzzershell test program.
drh [Fri, 22 May 2015 11:38:22 +0000 (11:38 +0000)] 
Add the --database option to the fuzzershell test program.

FossilOrigin-Name: c6d5512f4b8b1237fa4cf5f3f2eae19b160bcf26

10 years agoAdd the sqlite3_value_dup() and sqlite3_value_free() interfaces. Use
drh [Wed, 20 May 2015 21:28:32 +0000 (21:28 +0000)] 
Add the sqlite3_value_dup() and sqlite3_value_free() interfaces.  Use
these interfaces to enhance R-Tree to add the
sqlite3_rtree_query_info.apSqlParam field.

FossilOrigin-Name: a7ee40c4fc62843ac5b96ba47ca14a66e8cd6961

10 years agoFix the initialization logic in CREATE TABLE AS so that the correct affinities
drh [Wed, 20 May 2015 17:36:49 +0000 (17:36 +0000)] 
Fix the initialization logic in CREATE TABLE AS so that the correct affinities
are applied to all values being inserted into the new table, even if the
RHS is a compound SELECT.  Fix for ticket [f2ad7de056ab1dc9200].

FossilOrigin-Name: 6a0cf3ce9e68d0127f9653232e588ed59d34eca5

10 years agoAdd a test case to verify that CREATE TABLE AS does not store INT values create-table-as-type-fix
drh [Wed, 20 May 2015 17:25:44 +0000 (17:25 +0000)] 
Add a test case to verify that CREATE TABLE AS does not store INT values
in TEXT columns.  Ticket [f2ad7de056ab1dc92].

FossilOrigin-Name: 0e45e8f1574ef19a43dbd118440ddbc5cec80ce7

10 years agoSimplification of the initialization code for CREATE TABLE AS.
drh [Wed, 20 May 2015 17:18:29 +0000 (17:18 +0000)] 
Simplification of the initialization code for CREATE TABLE AS.

FossilOrigin-Name: 937f659e8933011c44e822328a97cb5f0607c04d

10 years agoA proposed fix for the problem of CREATE TABLE AS generating a table that
drh [Wed, 20 May 2015 15:51:09 +0000 (15:51 +0000)] 
A proposed fix for the problem of CREATE TABLE AS generating a table that
has INTEGER values in a TEXT column.  Ticket [f2ad7de056ab1dc92].

FossilOrigin-Name: d5e2c1fc7625130a3cbacc95c28bb553a0119cb8

10 years agoFix handling of queries with VALUES on the left and UNION ALL SELECT on the
drh [Wed, 20 May 2015 00:15:27 +0000 (00:15 +0000)] 
Fix handling of queries with VALUES on the left and UNION ALL SELECT on the
right and a LIMIT clause.

FossilOrigin-Name: c403502cdce8b82e570e6fc49ab7f5144800c189

10 years agoEnhance the selecttrace display by showing Select.selFlags.
drh [Tue, 19 May 2015 23:56:07 +0000 (23:56 +0000)] 
Enhance the selecttrace display by showing Select.selFlags.

FossilOrigin-Name: 45d3893c6142ee1dfed48e26a13cf547da12468a

10 years agoFix the MSVC makefile so that it works with OTA. Fix a harmless compiler
drh [Tue, 19 May 2015 22:56:45 +0000 (22:56 +0000)] 
Fix the MSVC makefile so that it works with OTA.  Fix a harmless compiler
warning in FTS3.

FossilOrigin-Name: c7b16645307d6e46c4153693d6806269de64955f

10 years agoAllow R-Tree geometry functions to take 8-byte BLOB arguments which are
drh [Tue, 19 May 2015 22:20:48 +0000 (22:20 +0000)] 
Allow R-Tree geometry functions to take 8-byte BLOB arguments which are
passed directly through to the underlying callback, and which can be used
to pass pointers into the callback.

FossilOrigin-Name: b271ed56532a78323accc8a7cb348d55f95c350e

10 years agoEnsure that when the VM applies TEXT affinity to a value it discards any existing...
dan [Tue, 19 May 2015 19:44:25 +0000 (19:44 +0000)] 
Ensure that when the VM applies TEXT affinity to a value it discards any existing REAL or INTEGER value.

FossilOrigin-Name: f5d0ce80792d58ef424300f973f8876d835ed4ad

10 years agoRemove the sqlite3ota_open_v2() API. Add a new parameter to sqlite3ota_open() instead.
dan [Tue, 19 May 2015 17:48:11 +0000 (17:48 +0000)] 
Remove the sqlite3ota_open_v2() API. Add a new parameter to sqlite3ota_open() instead.

FossilOrigin-Name: c74e0bc481ce995f83ca8384e05dfbe068a0ae85

10 years agoMerge the ota-update branch with trunk.
dan [Tue, 19 May 2015 16:50:18 +0000 (16:50 +0000)] 
Merge the ota-update branch with trunk.

FossilOrigin-Name: 08e2864ed7c2d36410a248459061dcbd5576e145

10 years agoAdd a comment for SQLITE_FCNTL_OTA to sqlite.h.in. ota-update
dan [Tue, 19 May 2015 16:26:51 +0000 (16:26 +0000)] 
Add a comment for SQLITE_FCNTL_OTA to sqlite.h.in.

FossilOrigin-Name: efa20f8e41e9370f419f055efa941a8521c68c86

10 years agoAllow OTA update state data to be stored in a database separate from the OTA update...
dan [Tue, 19 May 2015 16:22:58 +0000 (16:22 +0000)] 
Allow OTA update state data to be stored in a database separate from the OTA update database.

FossilOrigin-Name: 5af8db56af457d60ea030d84666ca7fffb6821fe

10 years agoMerge latest trunk changes with this branch.
dan [Tue, 19 May 2015 14:14:57 +0000 (14:14 +0000)] 
Merge latest trunk changes with this branch.

FossilOrigin-Name: 6055a6725cb24469c10de9a04f3614dcc79193c6

10 years agoTransitive constraints should only work if operands have compatible
drh [Mon, 18 May 2015 12:28:09 +0000 (12:28 +0000)] 
Transitive constraints should only work if operands have compatible
affinities and collating sequences.

FossilOrigin-Name: 5df4056448fee1c766f8f79c735ed12abdce5101

10 years agoUse an ALWAY() on conditionals in the transitive constraint logic that are transitive-constraints
drh [Mon, 18 May 2015 12:18:37 +0000 (12:18 +0000)] 
Use an ALWAY() on conditionals in the transitive constraint logic that are
always true as far as we know.

FossilOrigin-Name: 204e567f68e4b3e069f04ca0643c6e5db781d39f

10 years agoRefinements to the determination of when an A==B term is an equivalence.
drh [Mon, 18 May 2015 11:34:52 +0000 (11:34 +0000)] 
Refinements to the determination of when an A==B term is an equivalence.
Add test cases.

FossilOrigin-Name: 6bfaf525cac2e0c0a4a3bd3a1fc7bf5bd3234303

10 years agoMake a hard copy of the results of a subquery lest the result of the
drh [Mon, 18 May 2015 04:24:27 +0000 (04:24 +0000)] 
Make a hard copy of the results of a subquery lest the result of the
subquery be referenced after a change to the table that generated the subquery
result.

FossilOrigin-Name: 9c0d80907b4dee8ee8f205c2ebdb759f5ba1d771

10 years agoFurther restrictions on the use of the transitive property in WHERE clauses.
drh [Sat, 16 May 2015 20:51:25 +0000 (20:51 +0000)] 
Further restrictions on the use of the transitive property in WHERE clauses.

FossilOrigin-Name: 8c886c43ff0bd5953d289534791d2c6b9dc25445

10 years agoFix the transitive constraint processing to only allow transitivity if the
drh [Sat, 16 May 2015 19:17:17 +0000 (19:17 +0000)] 
Fix the transitive constraint processing to only allow transitivity if the
operands of the == or IS operator have compatible affinities.

FossilOrigin-Name: a46a247fbcfe6e63b12cef31353835295a650c9b

10 years agoFix a typo in a comment. No changes to code.
drh [Sat, 16 May 2015 18:31:44 +0000 (18:31 +0000)] 
Fix a typo in a comment.  No changes to code.

FossilOrigin-Name: ee4b74250ad7a4061421d44b490cb79f649b3720

10 years agoImprove the clean target in the MSVC makefile.
mistachkin [Sat, 16 May 2015 03:41:41 +0000 (03:41 +0000)] 
Improve the clean target in the MSVC makefile.

FossilOrigin-Name: 2c1039d454e359b0eec3db2d4201b4ba7e543052

10 years agoUpdate the README.md file at the top of the repository so that the homepage
drh [Fri, 15 May 2015 22:20:40 +0000 (22:20 +0000)] 
Update the README.md file at the top of the repository so that the homepage
of Git mirrors of SQLite direct users to the official repository.

FossilOrigin-Name: 08f11980efa907728102065115a5bebd44be2419

10 years agoMinor coding style change, adjust new local variable casing for consistency.
mistachkin [Fri, 15 May 2015 20:14:00 +0000 (20:14 +0000)] 
Minor coding style change, adjust new local variable casing for consistency.

FossilOrigin-Name: 1a4628c66c632d2aff02bf134ddf7adceb04fb84

10 years agoDo not assume that "col IS ?" matches at most a single row of a UNIQUE column unless...
dan [Fri, 15 May 2015 19:59:23 +0000 (19:59 +0000)] 
Do not assume that "col IS ?" matches at most a single row of a UNIQUE column unless the column is also NOT NULL.

FossilOrigin-Name: e038ce8955e785afcc07bb22499955bbd22a7af4

10 years agoSimplifications to error message processing. Fix a possible problem in error
drh [Fri, 15 May 2015 04:13:15 +0000 (04:13 +0000)] 
Simplifications to error message processing.  Fix a possible problem in error
message formatting when vacuuming a database with a corrupt schema.

FossilOrigin-Name: 56ef98a04765c34c1c2f3ed7a6f03a732f3b886e

10 years agoIncrease the version number to 3.8.11. Upgrade autoconf from 2.62 to 2.69.
drh [Thu, 14 May 2015 15:39:18 +0000 (15:39 +0000)] 
Increase the version number to 3.8.11.  Upgrade autoconf from 2.62 to 2.69.

FossilOrigin-Name: be438d049dd9d7aa6b88db8314eaa11bdd7af5b9

10 years agoThe IS operator can now use indexes the same as the == operator.
drh [Thu, 14 May 2015 14:32:11 +0000 (14:32 +0000)] 
The IS operator can now use indexes the same as the == operator.

FossilOrigin-Name: 3428043cd00294457548bb07ada2ad526b6532d6

10 years agoA few more test cases for the IS operator. index-is-operator
drh [Thu, 14 May 2015 14:03:21 +0000 (14:03 +0000)] 
A few more test cases for the IS operator.

FossilOrigin-Name: f397c8622ae5a36a71f81d9f2549ca314005ece5

10 years agoMore test cases. Remove some invalid testcase() macros. Rearrange some code
drh [Thu, 14 May 2015 13:41:22 +0000 (13:41 +0000)] 
More test cases.  Remove some invalid testcase() macros.  Rearrange some code
for improved testability.

FossilOrigin-Name: b3676377b257bd8bb7fefe9c365d76cdc9e44856

10 years agoAdd testcase() macros. Get transitive WHERE clause constraints on IS operators
drh [Thu, 14 May 2015 13:18:47 +0000 (13:18 +0000)] 
Add testcase() macros.  Get transitive WHERE clause constraints on IS operators
working again.

FossilOrigin-Name: d195d4a65d7184e34a2a08c3ac3db7f6c8c1c21c

10 years agoMerge changes from the index-is-operator branch into this one. Drop the partial suppo...
dan [Thu, 14 May 2015 09:53:17 +0000 (09:53 +0000)] 
Merge changes from the index-is-operator branch into this one. Drop the partial support added for IS on this branch by [52e73eec].

FossilOrigin-Name: 16ab9cafd00ea5df7e6f75d6a6740237828b888d

10 years agoMerge latest trunk changes with this branch.
dan [Thu, 14 May 2015 08:58:52 +0000 (08:58 +0000)] 
Merge latest trunk changes with this branch.

FossilOrigin-Name: 299ed55c909d327826ef47e204ef1e9afd54852b

10 years agoA new implementation of indexing with the IS operator that works correctly
drh [Thu, 14 May 2015 01:05:25 +0000 (01:05 +0000)] 
A new implementation of indexing with the IS operator that works correctly
when the IS operator is in the WHERE clause and the operands are from
opposite sides of a LEFT JOIN.

FossilOrigin-Name: 4541688b3f56f5cd3d5b299594b58c577ad633bb

10 years agoSimplified implementation of indexing with the IS operator.
drh [Wed, 13 May 2015 19:33:41 +0000 (19:33 +0000)] 
Simplified implementation of indexing with the IS operator.

FossilOrigin-Name: 95b1f9bf14e490c6c6bba9ea78aeab712a44aab5

10 years agoAdd testcase() macros and comments and a few test-cases.
drh [Wed, 13 May 2015 17:54:08 +0000 (17:54 +0000)] 
Add testcase() macros and comments and a few test-cases.

FossilOrigin-Name: 24263d08b11c88416d270013bdaf5ff45125cb4d

10 years agoAn early attempt to get indexes to work with the IS operator. This code
drh [Wed, 13 May 2015 15:24:07 +0000 (15:24 +0000)] 
An early attempt to get indexes to work with the IS operator.  This code
passes tests, but much more testing is needed to verify that it works on
all corner cases.

FossilOrigin-Name: 6f7f1673d00d216a5aa456acb44793a14f3b3d91

10 years agoEnhancements to the MSVC makefile.
mistachkin [Wed, 13 May 2015 04:50:30 +0000 (04:50 +0000)] 
Enhancements to the MSVC makefile.

FossilOrigin-Name: 59e3e9e764440b7feaafadff74f422535d21bca2

10 years agoFix typo in Win32 VFS code enabled when the SQLITE_WIN32_USE_UUID compile-time option...
mistachkin [Tue, 12 May 2015 19:53:15 +0000 (19:53 +0000)] 
Fix typo in Win32 VFS code enabled when the SQLITE_WIN32_USE_UUID compile-time option is used.

FossilOrigin-Name: b33f1bacfdb34fe66b7b073e68bfac38498d6e88

10 years agoAttempt to get DBSTAT to compile without warnings across all build
drh [Tue, 12 May 2015 19:10:18 +0000 (19:10 +0000)] 
Attempt to get DBSTAT to compile without warnings across all build
configurations.

FossilOrigin-Name: c3cbe3b06eb37b9949c5fcb0e257a845953de7a7

10 years agoFix a compiler warning when building with tclsqlite3.c and without
drh [Tue, 12 May 2015 14:22:05 +0000 (14:22 +0000)] 
Fix a compiler warning when building with tclsqlite3.c and without
SQLITE_ENABLE_DBSTAT_VTAB.

FossilOrigin-Name: aad3ff257a156b572334b64aa57643ff3ea231a4

10 years agoImprovements to documentation of the sqlite3_column_xxxxx() interfaces.
drh [Tue, 12 May 2015 13:32:55 +0000 (13:32 +0000)] 
Improvements to documentation of the sqlite3_column_xxxxx() interfaces.
No code changes.

FossilOrigin-Name: f1aa951a337037c18ee14e114e36314835e05926

10 years agoTry to get recent sqlite3_analyzer and sqldiff tests working for all
drh [Tue, 12 May 2015 12:24:50 +0000 (12:24 +0000)] 
Try to get recent sqlite3_analyzer and sqldiff tests working for all
tested combinations of compile-time options, especially
SQLITE_OMIT_VIRTUALTABLE and SQLITE_OMIT_LOAD_EXTENSION.

FossilOrigin-Name: 07c7d3925cbcf44c2f606c7f016ec56304e0ca24

10 years agoFix sqldiff.exe so that it always runs in single-thread mode.
drh [Tue, 12 May 2015 00:46:40 +0000 (00:46 +0000)] 
Fix sqldiff.exe so that it always runs in single-thread mode.

FossilOrigin-Name: c223910e726131d7b718b556c83df5faa723369d

10 years agoAdd new fts3 matchinfo option 'b'. Also optimize existing option 'y'.
dan [Mon, 11 May 2015 19:01:18 +0000 (19:01 +0000)] 
Add new fts3 matchinfo option 'b'. Also optimize existing option 'y'.

FossilOrigin-Name: 2e7679a1df4020dc0166f5de8ffd664df18a3002

10 years agoAdd missing "finish_test" commands to the end of the two new test scripts
drh [Mon, 11 May 2015 18:48:52 +0000 (18:48 +0000)] 
Add missing "finish_test" commands to the end of the two new test scripts
for sqlite3_analyzer and sqldiff.

FossilOrigin-Name: 1d5e72b1c4e0350c492e12f102acc41e1777ef98

10 years agoMerge latest trunk changes into this branch. fts3-matchinfo-y
dan [Mon, 11 May 2015 18:46:42 +0000 (18:46 +0000)] 
Merge latest trunk changes into this branch.

FossilOrigin-Name: 82e5a6e088c58815140ad36715ac11c96527cb25

10 years agoTest cases for sqlite3_analyzer and sqldiff. Fix a problem with
drh [Mon, 11 May 2015 17:46:14 +0000 (17:46 +0000)] 
Test cases for sqlite3_analyzer and sqldiff.  Fix a problem with
sqlite3_analyzer related to the renaming of the initialization routine.

FossilOrigin-Name: 85a4a46c3bb9fd8124969c9e975086c795113b7e

10 years agoFix minor Makefile typos. Improve consistency of MSVC makefile. Add new targets...
mistachkin [Mon, 11 May 2015 16:27:33 +0000 (16:27 +0000)] 
Fix minor Makefile typos.  Improve consistency of MSVC makefile.  Add new targets to clean.

FossilOrigin-Name: f84fbe98994c602de6c0b242dcbad3ab77298425

10 years agoBuild the sqlite3_analyzer.exe and sqldiff.exe programs on "make test"
drh [Mon, 11 May 2015 12:15:45 +0000 (12:15 +0000)] 
Build the sqlite3_analyzer.exe and sqldiff.exe programs on "make test"
and "make smoketest" and other similar test targets.

FossilOrigin-Name: 1b83f2e7ddfdb488e732731f7a184d37edcad5af

10 years agoRevamp the way the DBSTAT virtual table is registered.
drh [Mon, 11 May 2015 11:59:15 +0000 (11:59 +0000)] 
Revamp the way the DBSTAT virtual table is registered.

FossilOrigin-Name: 4e6520159e729b6ea96ccdb14f0ecb00a0ff7cbd

10 years agoChange autoconf/Makefile.am to avoid building target sqlite3.o as part of both the...
dan [Mon, 11 May 2015 06:22:22 +0000 (06:22 +0000)] 
Change autoconf/Makefile.am to avoid building target sqlite3.o as part of both the shared library and shell tool. Doing so causes problems for parallel builds.

FossilOrigin-Name: 85bfa9a67f9970843c55c3fbe0ec44ace6985896

10 years agoFix the sqlite3_memory_used() and sqlite3_memory_highwater() interfaces so
drh [Sun, 10 May 2015 02:01:08 +0000 (02:01 +0000)] 
Fix the sqlite3_memory_used() and sqlite3_memory_highwater() interfaces so
that they really do provide a 64-bit answer.

FossilOrigin-Name: 8a0d5d5e9a4515603c47e9354af47550155a6f2d

10 years agoVersion 3.8.10.1 version-3.8.10.1
drh [Sat, 9 May 2015 12:14:55 +0000 (12:14 +0000)] 
Version 3.8.10.1

FossilOrigin-Name: 05b4b1f2a937c06c90db70c09890038f6c98ec40

10 years agoBump the version number to 3.8.10.1
drh [Sat, 9 May 2015 10:27:19 +0000 (10:27 +0000)] 
Bump the version number to 3.8.10.1

FossilOrigin-Name: 9c6bf0c1865896c83ca69bf7f2e37735a71ca9a6

10 years agoFix harmless compiler warning with MSVC.
mistachkin [Fri, 8 May 2015 01:04:39 +0000 (01:04 +0000)] 
Fix harmless compiler warning with MSVC.

FossilOrigin-Name: 902d0cb8e31cf816ab054caccff24172a041160d

10 years agoRemove a couple stray test breakpoint calls.
mistachkin [Fri, 8 May 2015 00:58:39 +0000 (00:58 +0000)] 
Remove a couple stray test breakpoint calls.

FossilOrigin-Name: 2860cebeeaebd346de60c762aa3e51dbab008578

10 years agoAdd an entry to sqlite3_compileoption_used() for
drh [Thu, 7 May 2015 20:26:20 +0000 (20:26 +0000)] 
Add an entry to sqlite3_compileoption_used() for
SQLITE_ENABLE_DBSTAT_VTAB.

FossilOrigin-Name: 480b4cb04212277ea07e230b6c13cb81a7b769b5

10 years agoTesting improvements and corner-case bug fixes for the dbstat virtual table.
drh [Thu, 7 May 2015 18:29:04 +0000 (18:29 +0000)] 
Testing improvements and corner-case bug fixes for the dbstat virtual table.

FossilOrigin-Name: d51ce539327b4807150b030a10bb105fa34cbc24

10 years agoEnhance the dbstat virtual table with the ability to analyze ATTACHed
drh [Thu, 7 May 2015 14:41:56 +0000 (14:41 +0000)] 
Enhance the dbstat virtual table with the ability to analyze ATTACHed
databases.

FossilOrigin-Name: 25ec09400b753fcb10a2aae57eb43dbf0548b7ca

10 years agoVersion 3.8.10 version-3.8.10
drh [Thu, 7 May 2015 11:53:08 +0000 (11:53 +0000)] 
Version 3.8.10

FossilOrigin-Name: cf975957b9ae671f34bb65f049acf351e650d437

10 years agoRemove a faulty assert() statement.
drh [Thu, 7 May 2015 00:09:29 +0000 (00:09 +0000)] 
Remove a faulty assert() statement.

FossilOrigin-Name: 5f2539da8cb9df99029ab4ab7023804722697673

10 years agoMerge latest trunk changes with this branch.
dan [Wed, 6 May 2015 18:15:28 +0000 (18:15 +0000)] 
Merge latest trunk changes with this branch.

FossilOrigin-Name: 8a13e1fdbe523f2ace6cbb5bcb22cd4441f3cbf8

10 years agoRemove some dead code from fts3_snippet.c.
dan [Wed, 6 May 2015 17:51:59 +0000 (17:51 +0000)] 
Remove some dead code from fts3_snippet.c.

FossilOrigin-Name: 46b2d3cef5c22a9e6bd0a4f8411f17b7ec72bd18

10 years agoMore optimization for the 'y' and 'b' matchinfo directives.
dan [Wed, 6 May 2015 17:41:19 +0000 (17:41 +0000)] 
More optimization for the 'y' and 'b' matchinfo directives.

FossilOrigin-Name: 8c5b9fedfcee3ac22a222819dceb981ad94a9903

10 years agoHave the autoconf package build the shell tool with SQLite linked in statically.
dan [Wed, 6 May 2015 14:18:58 +0000 (14:18 +0000)] 
Have the autoconf package build the shell tool with SQLite linked in statically.

FossilOrigin-Name: 31834c3aa7deeafee1163a67caf5f3197f07baf4

10 years agoFurther optimizations for the 'y' and 'b' matchinfo operators.
dan [Wed, 6 May 2015 08:43:26 +0000 (08:43 +0000)] 
Further optimizations for the 'y' and 'b' matchinfo operators.

FossilOrigin-Name: fbd038bb57322e1ed2e1ee52f3d134594b6bfcc0

10 years agoAdd the fts3 matchinfo 'b' flag.
dan [Tue, 5 May 2015 20:39:53 +0000 (20:39 +0000)] 
Add the fts3 matchinfo 'b' flag.

FossilOrigin-Name: b9b77972d88171e4239b8194f308eb5d60b5d172

10 years agoOptimizations for the matchinfo() function, particularly the 'y' flag.
dan [Tue, 5 May 2015 19:37:07 +0000 (19:37 +0000)] 
Optimizations for the matchinfo() function, particularly the 'y' flag.

FossilOrigin-Name: dddd7e182943a1d3a9d32830e819a63f1a228d6d

10 years agoRemove four lines of superfluous code identified by clang scan-build.
drh [Tue, 5 May 2015 18:52:54 +0000 (18:52 +0000)] 
Remove four lines of superfluous code identified by clang scan-build.

FossilOrigin-Name: 04afa3febee32854fbb09ef8d4ffffd432119716

10 years agoFix a minor coding inefficiency found during pre-release inspection.
drh [Tue, 5 May 2015 16:57:52 +0000 (16:57 +0000)] 
Fix a minor coding inefficiency found during pre-release inspection.

FossilOrigin-Name: cc50883d67334507227e1384fef6cc7c93fd7de1

10 years agoAdd #ifdef statements to test_blob.c so that it will build
drh [Tue, 5 May 2015 11:08:02 +0000 (11:08 +0000)] 
Add #ifdef statements to test_blob.c so that it will build
with SQLITE_OMIT_INCRBLOB.

FossilOrigin-Name: b8f090e65d010c62df335d0520a36a24904e8bc6

10 years agoSpell SQLITE_OMIT_VIRTUALTABLE correctly in a #if in dbstat.c.
drh [Tue, 5 May 2015 10:46:02 +0000 (10:46 +0000)] 
Spell SQLITE_OMIT_VIRTUALTABLE correctly in a #if in dbstat.c.

FossilOrigin-Name: d2cb1becc07fad5cbd48c206c676493ba90cada1

10 years agoFix a faulty assert() in the btree part of the "PRAGMA page_size = ?" code.
dan [Tue, 5 May 2015 10:03:08 +0000 (10:03 +0000)] 
Fix a faulty assert() in the btree part of the "PRAGMA page_size = ?" code.

FossilOrigin-Name: 90b197489a37e01dcb2f3a8182848c1301e1757b

10 years agoFix a problem in Makefile.in that only comes up on Windows with MinGW.
drh [Tue, 5 May 2015 01:09:06 +0000 (01:09 +0000)] 
Fix a problem in Makefile.in that only comes up on Windows with MinGW.

FossilOrigin-Name: 5f3cd68b3e3ac9957059c7076e95c5c4e8238f51

10 years agoFix #ifdef problem in tclsqlite.c.
drh [Tue, 5 May 2015 00:48:23 +0000 (00:48 +0000)] 
Fix #ifdef problem in tclsqlite.c.

FossilOrigin-Name: fe723bb5d5fa9522411c06dcee8bf1a8fd210db3

10 years agoAutomatically enable the dbstat virtual table on all new database
drh [Mon, 4 May 2015 20:25:05 +0000 (20:25 +0000)] 
Automatically enable the dbstat virtual table on all new database
connections with the SQLITE_ENABLE_DBSTAT_VTAB compile-time option is used.

FossilOrigin-Name: 1c9c6eaa9f75fd7b90fbf8b057656fd9e50b5060

10 years agoIn the command-line shell, and the ".binary" command and additional
drh [Mon, 4 May 2015 19:13:25 +0000 (19:13 +0000)] 
In the command-line shell, and the ".binary" command and additional
C-style backslash escapes.

FossilOrigin-Name: 850c11866686a7b39d7b163fb60898c11283688e

10 years agoAdd the "dbstat" virtual table as a standard component in the SQLite
drh [Mon, 4 May 2015 19:06:09 +0000 (19:06 +0000)] 
Add the "dbstat" virtual table as a standard component in the SQLite
amalgamation, though turned off unless compiled with SQLITE_ENABLE_DBSTAT_VTAB.

FossilOrigin-Name: e7529705903a9d4d410801658a47fb43a4f2de2f

10 years agoRename the test_stat.c source file to dbstat.c and rework the makefiles to dbstat-in-amalgamation
drh [Mon, 4 May 2015 18:31:09 +0000 (18:31 +0000)] 
Rename the test_stat.c source file to dbstat.c and rework the makefiles to
make dbstat.c a first-class source module.

FossilOrigin-Name: a24480a474993f82ff58edbe12d2093c59b1a2dc

10 years agoInclude the "dbstat" virtual table in the amalgamation.
drh [Mon, 4 May 2015 17:06:39 +0000 (17:06 +0000)] 
Include the "dbstat" virtual table in the amalgamation.

FossilOrigin-Name: fc6504aa8ca19b3737f72c1e20db8df6b7608dd2

10 years agoFix a faulty assert() in the SELECT code generator and add a test case
drh [Mon, 4 May 2015 16:09:34 +0000 (16:09 +0000)] 
Fix a faulty assert() in the SELECT code generator and add a test case
to prevent regression.

FossilOrigin-Name: 1421c8ffba179d6aafa2643012f80a2738779117

10 years agoFix a bug in --changeset output for sqldiff.exe for floating-point values.
drh [Mon, 4 May 2015 15:04:47 +0000 (15:04 +0000)] 
Fix a bug in --changeset output for sqldiff.exe for floating-point values.
Also fix harmless compiler warnings in sqldiff.exe.

FossilOrigin-Name: 9f428530f9a6cb54f0a2fc3e666c38c7c093558a

10 years agoAdd the --lib option to the sqldiff.exe command-line utility.
drh [Mon, 4 May 2015 13:25:56 +0000 (13:25 +0000)] 
Add the --lib option to the sqldiff.exe command-line utility.

FossilOrigin-Name: a117e8f6bd60ed7f6e4cdcd2ee8d624fe040f7ab

10 years agoAdd the 'y' flag to the fts3/4 matchinfo() function.
dan [Mon, 4 May 2015 12:29:50 +0000 (12:29 +0000)] 
Add the 'y' flag to the fts3/4 matchinfo() function.

FossilOrigin-Name: aef1e8f47123e2e865432a0abf194dea4f23447a

10 years agoImprovements to fuzzershell: Avoid excess memory allocations when loading
drh [Sat, 2 May 2015 19:54:35 +0000 (19:54 +0000)] 
Improvements to fuzzershell: Avoid excess memory allocations when loading
many files.  Show the total runtime on final output.  Show individual filenames
as they are processed even if they are single test-case files.

FossilOrigin-Name: 34a722a2f3331c35211526c9ec055d4d9175c965

10 years agoAdd the ".limit" command to the command-line shell.
drh [Sat, 2 May 2015 17:40:23 +0000 (17:40 +0000)] 
Add the ".limit" command to the command-line shell.

FossilOrigin-Name: 803cb60e75e0b09a526eefec11139cb3e8ae8c7c

10 years agoReorganize some multi-threaded code in vdbesort.c so that full MC/DC test coverage...
dan [Sat, 2 May 2015 12:40:12 +0000 (12:40 +0000)] 
Reorganize some multi-threaded code in vdbesort.c so that full MC/DC test coverage does not depend on the outcome of a race condition.

FossilOrigin-Name: 78c7ec95931265b89a92f6a799fc9b1a9f0476bf

10 years agoCleanup of the sqlite3StrAccumInit() function. No functionality changes.
drh [Sat, 2 May 2015 11:45:53 +0000 (11:45 +0000)] 
Cleanup of the sqlite3StrAccumInit() function.  No functionality changes.

FossilOrigin-Name: 7952c32268aa650d9ee946d5bfe190f712e3bbe6

10 years agoAdd the experimental matchinfo 'y' flag to fts3/4.
dan [Sat, 2 May 2015 09:44:15 +0000 (09:44 +0000)] 
Add the experimental matchinfo 'y' flag to fts3/4.

FossilOrigin-Name: 92941609af74044b3078e020324a37b04a0638b0

10 years agoEnhance the fuzzershell --uniquecases option to output results in order of
drh [Fri, 1 May 2015 20:34:47 +0000 (20:34 +0000)] 
Enhance the fuzzershell --uniquecases option to output results in order of
increasing runtime and to include the runtime in the comment separator of
the output.

FossilOrigin-Name: 04630b989d8794b9ed2553f4d223de2b322437c5