]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
10 years agoReimplement [ec69e09a] so that each call to the xNext() method does not involve two...
dan [Tue, 2 Jun 2015 17:57:01 +0000 (17:57 +0000)] 
Reimplement [ec69e09a] so that each call to the xNext() method does not involve two iterations of the match expression tree (only one).

FossilOrigin-Name: 80fe305b3eefb17310a9d6185d1c8cd73ee38b1e

10 years agoImprove performance of the fts5 AND operator.
dan [Mon, 1 Jun 2015 19:17:06 +0000 (19:17 +0000)] 
Improve performance of the fts5 AND operator.

FossilOrigin-Name: b43e9a5b7a0483ccb102316a4dbc5e32b5bc69ec

10 years agoChange fts5 expression processing to avoid linear scans of long doclists caused by...
dan [Mon, 1 Jun 2015 09:15:20 +0000 (09:15 +0000)] 
Change fts5 expression processing to avoid linear scans of long doclists caused by phrases that match specific columns only.

FossilOrigin-Name: ec69e09a55b4daf1c40aeaaf9ee95091fe86f5c0

10 years agoRemove the "#include sqlite3Int.h" from fts5Int.h.
dan [Sat, 30 May 2015 11:49:58 +0000 (11:49 +0000)] 
Remove the "#include sqlite3Int.h" from fts5Int.h.

FossilOrigin-Name: e008c3c8e29c843ec945ddad54b9688bbf2bdb44

10 years agoAdd extra tests and fixes for multi-column matches.
dan [Fri, 29 May 2015 19:00:22 +0000 (19:00 +0000)] 
Add extra tests and fixes for multi-column matches.

FossilOrigin-Name: ae6794ffa23ef6191bd8834422abf322d978c11b

10 years agoAdd syntax to fts5 used to specify that a phrase or NEAR group should match a subset...
dan [Fri, 29 May 2015 15:55:30 +0000 (15:55 +0000)] 
Add syntax to fts5 used to specify that a phrase or NEAR group should match a subset of columns. For example "[col1 col2 ...] : <phrase>".

FossilOrigin-Name: 0fc0ea20920615f3e48ea2dbe2b7dcd979b0993e

10 years agoOptimizations for fts5 queries that match against a specific column.
dan [Thu, 28 May 2015 19:57:12 +0000 (19:57 +0000)] 
Optimizations for fts5 queries that match against a specific column.

FossilOrigin-Name: b29ac50af0491a780a5a4c0985d88d0e5e014ba3

10 years agoRemove some dead code from fts5. Add auxiliary function api tests to the same.
dan [Thu, 28 May 2015 14:37:26 +0000 (14:37 +0000)] 
Remove some dead code from fts5. Add auxiliary function api tests to the same.

FossilOrigin-Name: 0f9df202cc58097afddb8dad662b7c7fdc2c7d0c

10 years agoSimplifications and minor optimizations to fts5 prefix queries that cannot use a...
dan [Tue, 26 May 2015 18:22:01 +0000 (18:22 +0000)] 
Simplifications and minor optimizations to fts5 prefix queries that cannot use a prefix index.

FossilOrigin-Name: aef89d9f6aa536efee347367558cf5d4ea81b238

10 years agoAvoid redundant loads from the %_data table in the fts5 code.
dan [Mon, 25 May 2015 11:46:33 +0000 (11:46 +0000)] 
Avoid redundant loads from the %_data table in the fts5 code.

FossilOrigin-Name: 02069782f8b7896a582582c79185b50418622736

10 years agoAvoid making redundant copies of position-lists within the fts5 code.
dan [Sat, 23 May 2015 15:43:05 +0000 (15:43 +0000)] 
Avoid making redundant copies of position-lists within the fts5 code.

FossilOrigin-Name: 5165de548b84825cb000d33e5d3de12b0ef112c0

10 years agoIncrease test coverage of fts5_vocab.c.
dan [Fri, 22 May 2015 07:44:44 +0000 (07:44 +0000)] 
Increase test coverage of fts5_vocab.c.

FossilOrigin-Name: 065ab83a6ce36e16d3b95a61505aa3cff0bfea84

10 years agoImprove test coverage of fts5_unicode2.c.
dan [Fri, 22 May 2015 06:08:25 +0000 (06:08 +0000)] 
Improve test coverage of fts5_unicode2.c.

FossilOrigin-Name: fea8a4db9d8c7b9a946017a0dc984cbca6ce240e

10 years agoImprove test coverage of fts5_tokenize.c.
dan [Wed, 20 May 2015 09:27:51 +0000 (09:27 +0000)] 
Improve test coverage of fts5_tokenize.c.

FossilOrigin-Name: 0e91a6a520f040b8902da6a1a4d9107dc66c0ea3

10 years agoAdd tests for fts5 tokenizers.
dan [Tue, 19 May 2015 19:37:09 +0000 (19:37 +0000)] 
Add tests for fts5 tokenizers.

FossilOrigin-Name: 4f90ba20e2be6ec5755fe894938ac97342d6fbf6

10 years agoUpdate Makefile.in so that the amalgamation files built by "make sqlite3.c" include...
dan [Tue, 19 May 2015 11:38:32 +0000 (11:38 +0000)] 
Update Makefile.in so that the amalgamation files built by "make sqlite3.c" include fts5.

FossilOrigin-Name: 2870a80593302e7835c5f5d167f42710d8439e7d

10 years agoFix a memory leak that could follow an OOM condition in fts5.
dan [Tue, 19 May 2015 11:32:01 +0000 (11:32 +0000)] 
Fix a memory leak that could follow an OOM condition in fts5.

FossilOrigin-Name: de9f8ef6ebf036df5a558cd78fb4927da2d83ce8

10 years agoImprove test coverage of fts5_storage.c.
dan [Mon, 18 May 2015 20:34:59 +0000 (20:34 +0000)] 
Improve test coverage of fts5_storage.c.

FossilOrigin-Name: 4dfe2e5871704125338620705e6638f36baaacd7

10 years agoFix a bug in test script fts5fault4.test.
dan [Mon, 18 May 2015 18:24:41 +0000 (18:24 +0000)] 
Fix a bug in test script fts5fault4.test.

FossilOrigin-Name: a508059305641c2cb53197b0f6e93d7b723697e2

10 years agoAdd a test for an untested branch in fts5_expr.c.
dan [Mon, 18 May 2015 18:03:06 +0000 (18:03 +0000)] 
Add a test for an untested branch in fts5_expr.c.

FossilOrigin-Name: ce08206b5c5bf6a81decf20c99a524dd92c3715b

10 years agoImprove test coverage of fts5_config.c.
dan [Mon, 18 May 2015 17:50:17 +0000 (17:50 +0000)] 
Improve test coverage of fts5_config.c.

FossilOrigin-Name: 47dbfadb994814c9349d4c9c113b862c2e97c01a

10 years agoFurther test coverage improvements for fts5.
dan [Sat, 16 May 2015 20:04:43 +0000 (20:04 +0000)] 
Further test coverage improvements for fts5.

FossilOrigin-Name: 927d9a64e13c6b768f0a15475713192fcfaaf9e7

10 years agoImprove test coverage of fts5_index.c.
dan [Fri, 15 May 2015 18:13:14 +0000 (18:13 +0000)] 
Improve test coverage of fts5_index.c.

FossilOrigin-Name: 7aea8c6d99737c6c72078e0b4b9c5f8186021aa0

10 years agoAdd test cases. And some fixes.
dan [Fri, 15 May 2015 12:18:39 +0000 (12:18 +0000)] 
Add test cases. And some fixes.

FossilOrigin-Name: adee788586197445672013d434e7ba47ce510b59

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

FossilOrigin-Name: b5f0e8c5b4bc018d672617ffd342d12b228548b9

10 years agoChange fts5 doclist-index structures to be trees instead of flat lists. This only...
dan [Wed, 13 May 2015 17:15:32 +0000 (17:15 +0000)] 
Change fts5 doclist-index structures to be trees instead of flat lists. This only makes a difference for databases that contain millions of instances of the same token.

FossilOrigin-Name: aa34bf666c384cf32a8d8166ab6d9afbca26a256

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 agoAllow the fts5vocab table to optionally provide data on a per-column basis.
dan [Sat, 9 May 2015 18:28:27 +0000 (18:28 +0000)] 
Allow the fts5vocab table to optionally provide data on a per-column basis.

FossilOrigin-Name: 3922276135a7825d0ede8d9c757e9cfe492f803a

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 agoAdd the fts5vocab module, for direct access to the fts5 index.
dan [Fri, 8 May 2015 20:21:24 +0000 (20:21 +0000)] 
Add the fts5vocab module, for direct access to the fts5 index.

FossilOrigin-Name: 6bf93e3b56e6705b7d12bab5024fc615f373b36c

10 years agoImprove the error message returned by FTS5 if it encounters an unknown file format.
dan [Fri, 8 May 2015 09:21:05 +0000 (09:21 +0000)] 
Improve the error message returned by FTS5 if it encounters an unknown file format.

FossilOrigin-Name: f369caec145f311bb136cf7af144e2695badcb9b

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 agoChange to storing all keys in a single merge-tree structure instead of one main struc...
dan [Thu, 7 May 2015 19:29:46 +0000 (19:29 +0000)] 
Change to storing all keys in a single merge-tree structure instead of one main structure and a separate one for each prefix index. This is a file-format change. Also introduce a mechanism for managing file-format changes.

FossilOrigin-Name: a684b5e2d9d52cf4700e7e5f9dd547a2ba54e8e9

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 agoReorganize some of the fts5 expression parsing code. Improve test coverage of the...
dan [Sat, 2 May 2015 20:35:24 +0000 (20:35 +0000)] 
Reorganize some of the fts5 expression parsing code. Improve test coverage of the same.

FossilOrigin-Name: c4456dc5f5f8f45f04e3bbae53b6bcc209fc27d5

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 agoFurther improvements to test coverage of fts5 code.
dan [Fri, 1 May 2015 20:38:57 +0000 (20:38 +0000)] 
Further improvements to test coverage of fts5 code.

FossilOrigin-Name: d4331943dff259380c4025bb740d8aba6972d351

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

10 years agoEnhance fuzzershell to accept multiple input files. Add the test/fuzzdata2.txt
drh [Fri, 1 May 2015 19:21:12 +0000 (19:21 +0000)] 
Enhance fuzzershell to accept multiple input files.  Add the test/fuzzdata2.txt
fuzz test content.

FossilOrigin-Name: ab5523aafe4817232388d28ea99be0953e7dccf3

10 years agoFix an assert in RTREE that would fire if the rtree table is misdeclared.
drh [Fri, 1 May 2015 18:00:37 +0000 (18:00 +0000)] 
Fix an assert in RTREE that would fire if the rtree table is misdeclared.

FossilOrigin-Name: 9a45409cc4078f2b6e68aa777f6ab86a14309833

10 years agoFix an assert() failure caused by setting "PRAGMA journal_mode=off" on an database...
dan [Fri, 1 May 2015 16:57:24 +0000 (16:57 +0000)] 
Fix an assert() failure caused by setting "PRAGMA journal_mode=off" on an database in exclusive-mode that has already opened the journal file.

FossilOrigin-Name: 40db3e40126db1035fcc12989026915744dc5651

10 years agoRemove obselete comment text from the description of the Table object.
drh [Fri, 1 May 2015 15:25:51 +0000 (15:25 +0000)] 
Remove obselete comment text from the description of the Table object.
No changes to code.

FossilOrigin-Name: 6566b72a9c68b347d126189b376f52ffd56edfba

10 years agoUse the sqlite3Fts3ErrMsg() function to set error message text in FTS3,
drh [Fri, 1 May 2015 14:07:30 +0000 (14:07 +0000)] 
Use the sqlite3Fts3ErrMsg() function to set error message text in FTS3,
and to ensure that error messages are not overwritten and thus leaked.

FossilOrigin-Name: 605347e087ec5eb817f3c94f4616abe26c7ab66b

10 years agoImprove test coverage of fts5.c.
dan [Fri, 1 May 2015 12:14:23 +0000 (12:14 +0000)] 
Improve test coverage of fts5.c.

FossilOrigin-Name: add4f4681c648dcbecaa68d08f7b2f4e6d63003c

10 years agoEnhance the CLI to initialize the dbstat virtual table if compiled using
drh [Thu, 30 Apr 2015 20:35:33 +0000 (20:35 +0000)] 
Enhance the CLI to initialize the dbstat virtual table if compiled using
SQLITE_ENABLE_STAT_VTAB.

FossilOrigin-Name: 822dfc00173dad7703aa6413bb94f72f0da8e2c6

10 years agoFix a harmless comment typo.
drh [Thu, 30 Apr 2015 20:33:25 +0000 (20:33 +0000)] 
Fix a harmless comment typo.

FossilOrigin-Name: 012a0c4e8485b1c2206ecff1946bf036bae04f3c

10 years agoAvoid dropping an error code in test function sqlite3_dbstat_register().
dan [Thu, 30 Apr 2015 20:26:53 +0000 (20:26 +0000)] 
Avoid dropping an error code in test function sqlite3_dbstat_register().

FossilOrigin-Name: 9a9f633f035fc3f6484b2d8eeed937374f4558c4

10 years agoModify the mkfuzzdata1.tcl script so that it retains the culled test vectors
drh [Thu, 30 Apr 2015 13:06:15 +0000 (13:06 +0000)] 
Modify the mkfuzzdata1.tcl script so that it retains the culled test vectors
in the tmp2 subdirectory.

FossilOrigin-Name: 431a958f3b605ef059119eaedd69796e14bec291

10 years agoFix signed/unsigned comparison compiler warnings. Add the
drh [Thu, 30 Apr 2015 12:31:49 +0000 (12:31 +0000)] 
Fix signed/unsigned comparison compiler warnings.  Add the
SQLITE_OMIT_RANDOMNESS compile-time option to cause the PRNG to be seeded
identically on every run, for testing purposes.

FossilOrigin-Name: 93ce2bca701efc67aeb517c4d641bde71332e8a0

10 years agoImprove fts5 tests.
dan [Wed, 29 Apr 2015 20:54:08 +0000 (20:54 +0000)] 
Improve fts5 tests.

FossilOrigin-Name: c1f07a3aa98eac87e2747527d15e5e5562221ceb

10 years agoUse sqlite3_malloc64() in place of sqlite3_malloc() internally.
drh [Wed, 29 Apr 2015 16:50:28 +0000 (16:50 +0000)] 
Use sqlite3_malloc64() in place of sqlite3_malloc() internally.

FossilOrigin-Name: 48f553b05c05373c0af4b9c3a542979db3a2ee19

10 years agoImproved support for OSTRACE on Windows.
drh [Wed, 29 Apr 2015 00:35:07 +0000 (00:35 +0000)] 
Improved support for OSTRACE on Windows.

FossilOrigin-Name: ca43812bde499a23244e2860d3ceddc97d29f09e