mistachkin
0cbb513a67
Fix harmless compiler warning in FTS5.
...
FossilOrigin-Name: 02448a9fccd4532daa667e4ba6ff1dbb7f68008a
2015-08-18 16:32:45 +00:00
drh
d5a74c8e19
Minor fix to the display of oversized KeyInfo structures in the P4 operand
...
of Open opcodes in EXPLAIN output.
FossilOrigin-Name: f65a9b4ab2c6f0b7028e16e2a0f83fd6d58ae1cd
2015-08-15 16:32:50 +00:00
drh
e31dc59b4c
Duplicate the output of releasetest.tcl into releasetest-out.txt
...
FossilOrigin-Name: 5e06a9c186f4b7478c73155613de219d702e0241
2015-08-14 12:53:37 +00:00
dan
82d7aea6d4
Add the sqlite3rbu_savestate() function to the rbu extension. To force rbu to save its state to disk without closing the sqlite3rbu* handle.
...
FossilOrigin-Name: 851a875ad6b81f90960caf4d03b116afc911858d
2015-08-13 18:26:09 +00:00
dan
4510faa6df
Avoid invoking system call unlink() directly from RBU code. Use the xDelete method of the default VFS instead.
...
FossilOrigin-Name: ee966af8ff79189f8b90f3557dea21059517dfe2
2015-08-13 11:46:21 +00:00
dan
7899fa78c1
Minor optimization for fts5 API xInst().
...
FossilOrigin-Name: efb7c9c5d0015c8c966f8d6742c05cda82fc146a
2015-08-12 15:36:58 +00:00
dan
7918dc835b
Add the xPhraseFirst() and xPhraseNext() fts5 APIs, for faster iteration through a single phrases position list. Also optimize xInst() and xInstCount() a bit.
...
FossilOrigin-Name: f7682435278419829a46bb4cc9b5625d46549e22
2015-08-12 12:11:28 +00:00
dan
f053ceb9c1
Merge fixes from the fts5NoWarn branch.
...
FossilOrigin-Name: 61cb2fc6c12810863c965c74e90bc502e20cf810
2015-08-11 14:25:34 +00:00
drh
aa2cdca33e
Fix compiler warnings and remove unreachable code.
...
FossilOrigin-Name: fd5608fb20831f1f1946c8941445b7acc463a143
2015-08-08 23:30:56 +00:00
drh
834f99711c
Fix an assert() that was in the wrong spot.
...
FossilOrigin-Name: 962b6cd6bbc1ef82ae98cb2ddf41e7a1116e70f5
2015-08-08 23:23:33 +00:00
drh
027616d4ce
Fix compiler warnings and remove unreachable code.
...
FossilOrigin-Name: be190fe7826d157fc5acd84210095725b059e4f6
2015-08-08 22:47:47 +00:00
dan
d50bd6b0aa
Update RBU to avoid repreparing a statement immediately after it is prepared.
...
FossilOrigin-Name: 1d75a41bb2f7fcd32f9f08768517b814e452e456
2015-08-08 15:13:08 +00:00
drh
cf599b6ade
Enhance the query planner so that it is able to use partial indexes that use
...
AND-connected terms in the WHERE clause.
FossilOrigin-Name: 065765902d2774d7432b9c00ea2efed26e0aaa5e
2015-08-07 20:57:00 +00:00
dan
5a790285a0
Add a specially formatted comment to shell.c to make it easier for scripts to edit. No code changes.
...
FossilOrigin-Name: 6d47b35ad10e85f27d1c446586e8c798cce4911d
2015-08-07 20:06:14 +00:00
drh
3acc85f0ed
increase the version number to 3.8.12
...
FossilOrigin-Name: e596a6b63f3a18c26352b1b3e67bb282fdec8055
2015-08-06 12:54:13 +00:00
mistachkin
7e968a7d0a
Fix harmless compiler warnings in FTS5 code.
...
FossilOrigin-Name: 0ddb2532b2daaaf1b0109ac360822f84cb999b7f
2015-08-06 03:19:14 +00:00
mistachkin
c38e00f61e
Fix duplicate test numbering in the FTS5 matchinfo tests.
...
FossilOrigin-Name: 483ebe8989ed7dbe197fe84e3eef6e76fa828e14
2015-08-06 03:09:49 +00:00
dan
50b5491771
Add tests for the matchinfo-like test function. Fix problems found in test and fts5 code by doing so.
...
FossilOrigin-Name: 9e3aafe44a0813aa2a0c6172fdba1440b8a973ec
2015-08-05 19:35:59 +00:00
dan
b20a42e316
Update the spellfix virtual table extension so that an explicit "top = ?" constraint works even if there is also a "distance < ?" or "distance <= ?" constraint.
...
FossilOrigin-Name: 0888838371608558f31d5bcb5fed1c8861aa52c1
2015-08-05 15:29:32 +00:00
dan
dca929040a
Fix some problems in test code detected by cppcheck.
...
FossilOrigin-Name: c9ff4ca4a0b44bbb8d6676144ddf77b04426e619
2015-08-05 08:01:46 +00:00
dan
f9419d17ff
Remove all references to "docid" within fts5 source code and comments. Replace with "rowid".
...
FossilOrigin-Name: dffd358f6cbf575d3b1045b1ce53429d15bade2a
2015-08-05 07:43:46 +00:00
dan
d3789c0028
Add new test file fts5_test_mi.c, containing an implementation of a function similar to FTS4 matchinfo() for FTS5.
...
FossilOrigin-Name: 4f9520a9dc9c667b7fda5b0822de2bf48184ac99
2015-08-04 20:29:00 +00:00
drh
dc6ef98742
Improve the usage comment on sqlite3_analyzer: show the available switches.
...
FossilOrigin-Name: 783f78e39795b2c491c342558ef59f1fc32c2858
2015-08-04 19:06:50 +00:00
dan
30c16ade95
Update the [showdb] program so that the database file is read directly (bypassing the SQLite VFS) only if the --raw option is specified. Otherwise, it is read using the default VFS. Also, the URI syntax may be used on the command line to specify the name of the database file to examine, so an alternative VFS may be requested using a URI parameter.
...
FossilOrigin-Name: e3c6d4b6e738c7ea015c0c809a5f7d1a94dda945
2015-08-04 15:29:43 +00:00
dan
8fb1bd2bc4
Update the [showdb] program so that the database file is read directly (bypassing the SQLite VFS) only if the --raw option is specified. Otherwise, it is read using the default VFS. An alternative VFS may be specified by specifying the database file to open using the URI syntax.
...
FossilOrigin-Name: 9699e9bd9a0e813d04c9d37422920670697c46ed
2015-08-04 15:23:49 +00:00
drh
8fb6c4389d
In the sqlite3_analyzer.exe utility, show the depth of each btree and report
...
the average fanout of indexes and WITHOUT ROWID tables.
FossilOrigin-Name: cd997770013e923ac3fa34b1546b97681923c8b1
2015-08-04 14:18:10 +00:00
dan
871f6e34f6
Add the "--uri" option to utility program "showdb". This option causes showdb to use sqlite with the SQLITE_OPEN_URI option to open the database file, instead of opening it directly using the OS open() function.
...
FossilOrigin-Name: 90e34d5119f720496e86a3a6de7771ea87b7dcbb
2015-08-03 17:03:31 +00:00
drh
fa4620b6f5
Allow a VIEW to reference undefined tables and functions when initially
...
created. The error report is deferred until the VIEW is used. This allows
views to be created before subviews and tables that the view references.
FossilOrigin-Name: 70b57dafb3216feb21091883196831fa1252e7bf
2015-08-03 13:44:45 +00:00
dan
0734b5a057
Add extra tests for RBU and FTS3/4.
...
FossilOrigin-Name: 3419044967258e3ed65f71528e06952ee102dcc7
2015-08-01 18:18:21 +00:00
dan
a9ca8afef5
Add support for "fossil deltas" to RBU and "sqldiff --rbu".
...
FossilOrigin-Name: e26ef165fe2f7524684af0d269d38475ea8b9489
2015-07-31 19:52:03 +00:00
drh
8ff2587b66
Fix the sqlite3_stmt_busy() interface so that it always returns FALSE after
...
the statement has returned SQLITE_DONE, even for ROLLBACK statements.
Clarify the documentation.
FossilOrigin-Name: 047d3475e93d08cf172ad02404a690d5b0c1b833
2015-07-31 18:59:56 +00:00
dan
90c3179bb4
Remove a duplicate "typedef struct Fts5Global Fts5Global;" from fts5_main.c (duplicate is in fts5Int.h).
...
FossilOrigin-Name: 54a771fe2c2b3c1cc2914a527a825934fe114c49
2015-07-31 17:48:07 +00:00
mistachkin
809edfcc01
When building the VSIX package for UAP, omit the AppLocal suffix for the MSVC runtime library because it is no longer needed.
...
FossilOrigin-Name: fee7ad73c10e9353c3ac298d254ab77ad85a210d
2015-07-31 15:14:14 +00:00
dan
dd688e7970
Fix a problem causing [sqldiff --rbu] to fail on tables for which all columns are part of the PRIMARY KEY.
...
FossilOrigin-Name: 93449e7046d60cad020ca439ded82e759c2e3cd9
2015-07-31 15:13:29 +00:00
dan
79e2347fdf
Fix a bug in the fts5 porter tokenizer preventing it from passing xCreate() arguments through to its parent tokenizer.
...
FossilOrigin-Name: c3c672af97edf2ae5d793f6fa47364370aa4f4ec
2015-07-31 14:43:02 +00:00
dan
994618521c
Add the --rbu switch to the "sqldiff" utility.
...
FossilOrigin-Name: 098bea26da4533d9ad97a85687cca56fb0d764a4
2015-07-30 20:26:16 +00:00
dan
c1e8ae679a
Allow RBU tables to be named "data[0-9]*_<target>" instead of strictly "data_<target>". Also update RBU so that it always processes data tables in order sorted by name.
...
FossilOrigin-Name: 287aa30601506f168d355c35176a3383474444ca
2015-07-30 11:38:19 +00:00
dan
dbac3ece0f
Return an error message (instead of segfaulting) if test function fts5_expr() is invoked with no arguments.
...
FossilOrigin-Name: 8e818b8985c0196cd9671a6491796faaeebeb16e
2015-07-30 11:26:10 +00:00
mistachkin
e61d31fa00
Support building VSIX packages for UAP using Visual Studio 2015 and the Windows 10 SDK.
...
FossilOrigin-Name: 96559adbf18bbbf25ff4e1579ee3ff2afef4c4d7
2015-07-29 22:38:45 +00:00
mistachkin
afb4004ccc
Update Windows 10 SDK version for RTM.
...
FossilOrigin-Name: 80ab338cc6fe920ad7edbb86672ff3d704152f52
2015-07-29 22:37:06 +00:00
mistachkin
60e0807801
Add SQLITE_DISABLE_INTRINSIC define to disable use of intrinsic functions (e.g. for certain older compilers and/or platforms).
...
FossilOrigin-Name: f0075d735a76ce326619b6ba7f0d556e492f1c41
2015-07-29 21:47:39 +00:00
drh
36c25f7686
Fix the releasetest.tcl script so that it ignore cast overflow errors that
...
recent versions of clang generate but which are unavoidable given the test
input.
FossilOrigin-Name: a0020c57859fd452a2b5c943f9c5cf5ec6f997e3
2015-07-29 20:24:39 +00:00
drh
6a8d08bc55
Version 3.8.11.1
...
FossilOrigin-Name: cf538e2783e468bbc25e7cb2a9ee64d3e0e80b2f
2015-07-29 20:00:57 +00:00
drh
3bc3709e7b
Restore an undocumented side-effect of PRAGMA cache_size: it forces the
...
database schema to be parsed. Also increase the version number to 3.8.11.1.
FossilOrigin-Name: e4628de3ce2b556fb46f0eb6eaac4809d17738f0
2015-07-29 15:22:49 +00:00
dan
0f43df31b5
Update comments in fts5.h describing the xColumnCount() API function.
...
FossilOrigin-Name: a623eb55d1583bcfe360a8dabd29f2a583c61e64
2015-07-29 14:58:47 +00:00
drh
cc3c382826
Increase the version number to 3.8.11.1
...
FossilOrigin-Name: 326d746dee3589a4e2ee06f3285285856e734b87
2015-07-29 14:46:46 +00:00
drh
8ea60e35c2
The "PRAGMA cache_size" reads the database schema, as it has down in all prior
...
versions of SQLite. This side-effect of cache_size is undocumented, but
apparently it does get used and its absence from 3.8.11 was causing problems.
FossilOrigin-Name: 4489722a6b560355ef13f091e5c9dcf0b00072f0
2015-07-29 14:10:43 +00:00
mistachkin
9b714140d1
Update batch build tool library paths for MSVC 2015.
...
FossilOrigin-Name: d431d4e11a6006473ac223e58806ac26050934d5
2015-07-28 19:35:26 +00:00
drh
41b9ca2519
Fix the xfer optimization for WITHOUT ROWID tables so that it correctly
...
updates the change count returned by sqlite3_changes().
FossilOrigin-Name: eff43715d1a3a9ce3fe5da194dbb76ec0c06e13c
2015-07-28 18:53:37 +00:00
drh
33a3c75999
Clarification to the documentation for sqlite3_result_zeroblob64(). No
...
changes to code.
FossilOrigin-Name: c98175e900cdda0c81fb559fed4cc5f27c34e368
2015-07-27 19:57:13 +00:00