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
drh
3b8d5ac7fe
Version 3.8.11
...
FossilOrigin-Name: b8e92227a469de677a66da62e4361f099c0b79d0
2015-07-27 13:49:41 +00:00
dan
291d090947
Merge the fts5-btree-index branch with this one. FTS5 changes only.
...
FossilOrigin-Name: 9f1dcdc3e1644c21762dacf619fac70afe6318c5
2015-07-27 12:19:11 +00:00
dan
c3b4132f53
Bump the "version" field in the fts5 config table.
...
FossilOrigin-Name: 92c9178933ef95e92c343c0a741a76bbdf071966
2015-07-27 11:49:01 +00:00
dan
8d90087146
Minor tweak to the SQL schema used by fts5.
...
FossilOrigin-Name: 427bf09ba41158041d774aac2b5ffbd062c6eabe
2015-07-27 11:43:36 +00:00
dan
d0dc8cb5a3
Remove a potentially undefined behaviour involving signed integers and bitshift operations from fts5_hash.c.
...
FossilOrigin-Name: ad6286ab1f40e4716456a67b719f9cd733f988eb
2015-07-27 11:01:19 +00:00
dan
44198f30b5
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: 5ec933c257884019484db7f533ce920012e47a1c
2015-07-27 10:46:48 +00:00
dan
5a51c272ea
Remove a duplicated "if" condition from fts3.c.
...
FossilOrigin-Name: ee348b12754abda1fe13231c1868faca9d78481c
2015-07-25 19:26:52 +00:00
dan
d1f9ffeb5f
Fix the rowallock.test script so that it works with builds that do not support mmap mode.
...
FossilOrigin-Name: 7efed5786bb6a7a452f5aece9d6c6a09e6930939
2015-07-25 14:26:17 +00:00
drh
06b5a224c0
Fix the wal3.test module so that it works with the memsubsys1 permutation.
...
FossilOrigin-Name: af85b01d93d3043f2e1a38d289ca00a5ef24520c
2015-07-25 14:12:26 +00:00
dan
8adbb17cb5
Fix a test script problem in memsubsys2.test.
...
FossilOrigin-Name: 70885729b7488474e7294212f9b334382675b112
2015-07-25 12:03:57 +00:00
drh
7416f2edd9
Disable the page cache bulk allocation for the shrink.test and wal.test
...
modules.
FossilOrigin-Name: 3418f1f165a0746cdf130e6a19fa0e1eb56df1d4
2015-07-25 03:10:12 +00:00
drh
c6edb3acf9
Fix the zeroblob.test script so that it works even on builds where the
...
SQLITE_MAX_LENGTH has been raised to 2147483645.
FossilOrigin-Name: db129149812cb4eadb4cd79ad293d14962d2638d
2015-07-24 23:28:05 +00:00
mistachkin
24fa5435ee
Enable the RBU extension to compile cleanly on Windows using MSVC.
...
FossilOrigin-Name: cca79fdc3dff65907c2a59369057265b4512058f
2015-07-24 21:19:25 +00:00
mistachkin
9895f73526
For Windows CE, a different header is required for the byteswap intrinsics.
...
FossilOrigin-Name: 2d572b8cdc67679cc95e69677a87e7b4a82f6c2d
2015-07-24 20:43:18 +00:00
dan
08406bf064
Fix warnings in fts5 code.
...
FossilOrigin-Name: bd4f156d07d0db1f063d42891965920fc2229352
2015-07-24 20:34:40 +00:00
drh
e045d483f8
Fix the pragma2.test module so that it works with
...
SQLITE_ENABLE_MEMORY_MANAGEMENT.
FossilOrigin-Name: de281a4fac0de3700e754c17976a8497587ca797
2015-07-24 19:56:44 +00:00
dan
5555741bdc
Allow the RBU module to read data from appropriately named SQL views created within the RBU database.
...
FossilOrigin-Name: 45c6a760ca63d19a7ccc352c7e35d8391025b515
2015-07-24 18:58:59 +00:00
dan
d716c39c76
Fix a test script bug introduced by [562687d9].
...
FossilOrigin-Name: a343745d99cf4bccb2f5582735cc2f88b03e847d
2015-07-24 18:22:29 +00:00
dan
80c0302228
Add the sqlite3_bind_zeroblob64() API.
...
FossilOrigin-Name: 1997ee548b2e569a39e73319b661c1a78dfe5dae
2015-07-24 17:36:34 +00:00