]>
git.ipfire.org Git - thirdparty/sqlite.git/log
mistachkin [Mon, 12 Oct 2015 03:56:21 +0000 (03:56 +0000)]
Remove AWK requirement from the MSVC batch build tool.
FossilOrigin-Name:
6d9cdb931cf4e2f0830184cff32e441e4966bd7e
mistachkin [Mon, 12 Oct 2015 03:44:39 +0000 (03:44 +0000)]
The TclKit batch tool should not download the TclKit SDK when the TCLKIT_NOSDK environment variable is set.
FossilOrigin-Name:
7c5d583bac89f8db94e7f73df09e1d04f0f24990
mistachkin [Sat, 10 Oct 2015 23:39:55 +0000 (23:39 +0000)]
Enhance TclKit batch tool (and MSVC makefile) to support targets that require the Tcl stub library.
FossilOrigin-Name:
bc6223b1d6c31a47c7b734cfb8a9ecf15ab809fc
mistachkin [Sat, 10 Oct 2015 02:06:05 +0000 (02:06 +0000)]
Remove a couple superfluous double quotes in the MSVC makefile.
FossilOrigin-Name:
0f9e205b28e013412b19dfd588f2a6cf341c40e8
mistachkin [Sat, 10 Oct 2015 01:55:57 +0000 (01:55 +0000)]
Fix typo in the MSVC makefile. Replace remaining uses of AWK in the MSVC makefile with a Tcl script.
FossilOrigin-Name:
f8c2193b64979a2fe480fcf913573b5fac06235e
mistachkin [Sat, 10 Oct 2015 00:53:28 +0000 (00:53 +0000)]
More fine-tuning to the new TclKit tools.
FossilOrigin-Name:
43addd8aa04c3faceb9d303672e330294af01a16
mistachkin [Fri, 9 Oct 2015 18:48:47 +0000 (18:48 +0000)]
Tweak batch tool added in the previous check-in to permit the base URI to be overridden.
FossilOrigin-Name:
1d2f82df6774f8d66bfc5d67d5dad9f068a1069c
mistachkin [Fri, 9 Oct 2015 17:36:06 +0000 (17:36 +0000)]
Add tool capable of downloading a TclKit (and its associated SDK) on Windows.
FossilOrigin-Name:
50673ddaf813335777673fa8585997a7551e5323
drh [Wed, 7 Oct 2015 12:36:42 +0000 (12:36 +0000)]
Convert the tool/tostr.awk script into tool/tostr.tcl. Remove two obsolete
Makefiles. Purge NAWK from the configure script and from unix makefiles.
There are still two uses of NAWK in Makefile.msc.
FossilOrigin-Name:
5b6775215327a89232f5059653747a18e83b8b4b
drh [Wed, 7 Oct 2015 12:21:14 +0000 (12:21 +0000)]
Change the addopcodes.awk script into tool/addopcodes.tcl.
FossilOrigin-Name:
8bbf37142ef2759274668f6da114b5c8072e42db
drh [Wed, 7 Oct 2015 12:11:36 +0000 (12:11 +0000)]
Convert the mkopcodec.awk script into tool/mkopcodec.tcl.
FossilOrigin-Name:
1506cb33fcf61e2ef97b35b99e58fbf21f4f5496
drh [Wed, 7 Oct 2015 02:52:09 +0000 (02:52 +0000)]
Change mkopcodeh.awk into tool/mkopcodeh.tcl.
FossilOrigin-Name:
ed0ebc460b54939862e3bddee2bb9bcb9f69c747
drh [Wed, 7 Oct 2015 00:35:18 +0000 (00:35 +0000)]
Remove three obsolete and unused files from tool/
FossilOrigin-Name:
0abd65294e6e8db68e7ce6724f02f17ba1cb3422
mistachkin [Tue, 6 Oct 2015 21:49:55 +0000 (21:49 +0000)]
Fix typo in comments. No changes to code.
FossilOrigin-Name:
a05f903c64edeba8a9748aad68f5981943e68b3c
drh [Tue, 6 Oct 2015 21:07:06 +0000 (21:07 +0000)]
Simplifications to the VDBE bytecode that handles LIMIT and OFFSET.
FossilOrigin-Name:
041df7c2f14b95868a08090354ebb3308050790e
dan [Tue, 6 Oct 2015 20:53:26 +0000 (20:53 +0000)]
Optimizations for fts5 expressions that filter on column. More still to come.
FossilOrigin-Name:
bf1607ac155018573ca40fb58aca62c5fea7e60b
drh [Tue, 6 Oct 2015 17:27:18 +0000 (17:27 +0000)]
Fix the LIMIT and OFFSET handling for UNION ALL queries that contain a
subquery with ORDER BY on the right-hand side. Fix for ticket
[
b65cb2c8d91f668584 ].
FossilOrigin-Name:
4b631364354068af95a01630469cb6fbfe8b52fd
mistachkin [Tue, 6 Oct 2015 01:44:53 +0000 (01:44 +0000)]
Adjustments to sqlite3MemoryBarrier() when compiling with MSVC and/or WinCE.
FossilOrigin-Name:
3168326ebfa1c961d8fc6435453b02be23d910cc
dan [Mon, 5 Oct 2015 19:41:16 +0000 (19:41 +0000)]
Improve performance of prefix queries without a prefix index on fts5 tables.
FossilOrigin-Name:
f2f0184e9e1c9f121ee2ac864cd28c8cd8efecb5
dan [Mon, 5 Oct 2015 15:39:45 +0000 (15:39 +0000)]
Update fts3 so that expressions to the left and right of a NOT operator are balanced. This prevents relatively small expressions (a dozen terms or so) that are children of NOT operators from triggering the "expression tree is too large" error.
FossilOrigin-Name:
d6b66cd7b89fbd964f798d160a34caac0ba7347a
dan [Mon, 5 Oct 2015 11:57:09 +0000 (11:57 +0000)]
Add fts5txt2db.tcl, a tool for creating sample fts4/5 databases from text files.
FossilOrigin-Name:
44f1ce30d1e446c9ee5f8bd8a62119e00356aa0e
dan [Sat, 3 Oct 2015 15:38:57 +0000 (15:38 +0000)]
Update fts5 to support the table function syntax. "... FROM fts5_tbl WHERE fts5_tbl MATCH ?1 AND rank MATCH ?1" can now be written "FROM fts5_tbl(?1, ?2)".
FossilOrigin-Name:
41d17d9e24303aed6d549ea23c62b93bf2f71691
dan [Sat, 3 Oct 2015 12:23:18 +0000 (12:23 +0000)]
Add tests for the rtree module to verify that attempts to insert non-integer primary key values or non-numeric dimensions into an rtree table are handled correctly.
FossilOrigin-Name:
f653fce90846b700441e8fa5f1930c1ec5e38e31
dan [Fri, 2 Oct 2015 20:04:30 +0000 (20:04 +0000)]
Update fts5 to avoid using a statement journal for UPDATE and DELETE operations that affect at most a single row.
FossilOrigin-Name:
5c83b9db46d61cfa76a1abed50467e2f02db0eb0
dan [Thu, 1 Oct 2015 18:31:29 +0000 (18:31 +0000)]
Fix an fts3 bug causing NEAR queries on uncommitted data to malfunction.
FossilOrigin-Name:
6f90839e91024e2006042f5eb7f21ca5b47a9b4a
drh [Wed, 30 Sep 2015 14:30:19 +0000 (14:30 +0000)]
Add a corrupt database to test/fuzzdata3.db to validate the previous
check-in.
FossilOrigin-Name:
e796c0efb6cf17444b53af75046daf7d8fa82f78
drh [Wed, 30 Sep 2015 14:19:08 +0000 (14:19 +0000)]
Fix an assert() in btree.c that is only true for non-corrupt databases.
FossilOrigin-Name:
29f7227ff127202c53fe7c3b6558b3c101b0a7bc
dan [Wed, 30 Sep 2015 12:59:12 +0000 (12:59 +0000)]
Clear the BTCF_ValidNKey flag when putting a cursor into REQUIRESEEK state. Fix for [
1b266395 ].
FossilOrigin-Name:
a6d5e4e8693bea3739c35fe9769ac9abfb9ed056
dan [Wed, 30 Sep 2015 11:19:05 +0000 (11:19 +0000)]
Improve error handling in shell command ".tables".
FossilOrigin-Name:
31a91ee7d32af8580a170903eb857ed9222fdb0a
drh [Tue, 29 Sep 2015 17:20:14 +0000 (17:20 +0000)]
Use symbolic names XN_ROWID and XN_EXPR in place of the (-1) and (-2)
magic numbers in Index.aiColumn[]. Add asserts to help verify that
Index.aiColumn[] is always used correctly. Fix one place in FK processing
where Index.aiColumn[] was not being used correctly.
FossilOrigin-Name:
7d272aa62cd4cbbf4b5d04e3b918de27671e8301
dan [Tue, 29 Sep 2015 16:47:53 +0000 (16:47 +0000)]
Add the sqlite3_index_info.idxFlags field, allowing xBestIndex() implementations to specify to SQLite that a strategy may visit at most one row. Add support for this to fts3/4. Omit the statement journal from virtual table UPDATE and DELETE operations that are guaranteed not to affect more than one row.
FossilOrigin-Name:
a1d08fd3d0419da8c22355d48c6d83eed6fd7e07
dan [Tue, 29 Sep 2015 16:41:23 +0000 (16:41 +0000)]
Ensure that the xSavepoint() virtual table method is correctly invoked if there are already open savepoints (or statement transactions) the first time a virtual table is written within a transaction.
FossilOrigin-Name:
77948b5eceab92a77c39d0864ac15ad453a76fd7
drh [Tue, 29 Sep 2015 15:50:04 +0000 (15:50 +0000)]
Remove dead code, replacing with assert() statements that make sure the
code really was dead.
FossilOrigin-Name:
0e317dda5dfd35b742afd70dacb5bfb39aa3fc4a
drh [Tue, 29 Sep 2015 13:25:15 +0000 (13:25 +0000)]
Create the sqlite3IsToplevel(Parse*) interface to check to see if a top-level
VDBE is being coded (versus a trigger) and use that interface.
FossilOrigin-Name:
59662cd2b65255a30e1a420331c07c51b644621a
drh [Tue, 29 Sep 2015 12:32:56 +0000 (12:32 +0000)]
Fix compiler warnings.
FossilOrigin-Name:
d1a0783854d2e9272320d9ddfa58362532f58d1a
dan [Tue, 29 Sep 2015 12:19:51 +0000 (12:19 +0000)]
Fix an off-by-one error in test function fts5_decode().
FossilOrigin-Name:
3a9f076250d9559d8ea94ba44095ba3ddbc5542d
dan [Tue, 29 Sep 2015 11:59:25 +0000 (11:59 +0000)]
Merge latest trunk change into this branch.
FossilOrigin-Name:
b519c0d67a8fc39d65c17eccc9300a6187bd5661
dan [Tue, 29 Sep 2015 11:57:20 +0000 (11:57 +0000)]
Change the name of the new sqlite3_index_info.flags field to "idxFlags". Add documentation for the same to sqlite.h.in.
FossilOrigin-Name:
f61203bc0fb0b62e12d6270e8d9063e445a5a252
dan [Tue, 29 Sep 2015 10:11:26 +0000 (10:11 +0000)]
Add tests for fts3 and onepass update/delete operations. Also fix a problem with onepass updates that do not affect any rows.
FossilOrigin-Name:
820c804468abff692742952de670c5d906a50956
dan [Mon, 28 Sep 2015 20:03:49 +0000 (20:03 +0000)]
Also allow UPDATE on virtual tables to use the onepass strategy.
FossilOrigin-Name:
1aa27d706db9b2e21737ce4b94b47ecd12c2570f
drh [Mon, 28 Sep 2015 17:05:22 +0000 (17:05 +0000)]
Extra information provided by .wheretrace on input flags to the query planner
and on the result of sqlite3WhereOkOnePass().
FossilOrigin-Name:
c5566bb39c8d9b58f77380b81a873429575c7d5c
dan [Mon, 28 Sep 2015 15:23:29 +0000 (15:23 +0000)]
Update fts3 to use the onepass strategy for delete operations.
FossilOrigin-Name:
fffab4f70f85eeb2acbb89534064a6e397c39384
dan [Mon, 28 Sep 2015 15:20:58 +0000 (15:20 +0000)]
Changes to allow DELETE operations on virtual tables to use the onepass strategy under some circumstances.
FossilOrigin-Name:
e73f919fae1833c6ffb36eddbc76d9a8d9324214
drh [Mon, 28 Sep 2015 15:08:28 +0000 (15:08 +0000)]
Add test cases to the ONEPASS optimization corruption problem fixed by the
previous check-in.
FossilOrigin-Name:
5c14d447055bb337428eb1fe0a2934abee381829
drh [Mon, 28 Sep 2015 14:40:20 +0000 (14:40 +0000)]
Fix a database corruption bug caused by the ONEPASS optimization added
in check-in [
8b93cc5937000535 ]. Bug detected (prior to release) by
[https://www.sqlite.org/sqllogictest|sqllogictest]. Test cases to follow.
FossilOrigin-Name:
9d057f52217e7ef9c3f3eb84117abe3365503f44
drh [Sat, 26 Sep 2015 17:44:59 +0000 (17:44 +0000)]
Enable adding JSON1 by appending the json1.c source file to the amalgamation
and compiling with -DSQLITE_ENABLE_JSON1
FossilOrigin-Name:
33404b2029120d4aabe1e25d484871810777e934
drh [Sat, 26 Sep 2015 11:15:44 +0000 (11:15 +0000)]
Fix a memory leak that can occur following a syntax error in CREATE VIEW.
FossilOrigin-Name:
f4704035a6134f702c00110358e36f1579e2ea78
drh [Sat, 26 Sep 2015 03:31:47 +0000 (03:31 +0000)]
Fix the title of the documentation on sqlite3_value_subtype(). This is a
comment change only.
FossilOrigin-Name:
b79023542458f7e839469c5e313694f1e4cf223a
drh [Sat, 26 Sep 2015 03:23:29 +0000 (03:23 +0000)]
Expand the header comment to clarify the purpose for the
sqlite3MemoryBarrier() function.
FossilOrigin-Name:
b89495ae09aa0e9652475b2ba1943dfd87c73e07
drh [Sat, 26 Sep 2015 01:28:46 +0000 (01:28 +0000)]
Remove an assert in the windows worker-thread logic that can fail in a race
condition.
FossilOrigin-Name:
d7bfb96092a6b812af194f32b22283a0f6a7da96
drh [Fri, 25 Sep 2015 23:40:01 +0000 (23:40 +0000)]
Fix threads.c so that setting sqlite3FaultSim(200) using the
SQLITE_TESTCTRL_FAULT_INSTALL callback causes both unix and windows worker
threads to be sequential and deterministic, so that they can be tested
reliably.
FossilOrigin-Name:
2d867c054d6d3e1e841ba9ca524e986bc6993ac3
drh [Fri, 25 Sep 2015 20:49:16 +0000 (20:49 +0000)]
Fix PRAGMA integrity_check so that it works with a UNIQUE index over
expressions.
FossilOrigin-Name:
113181cec4db418b07640d6b1967923992efd71a
drh [Fri, 25 Sep 2015 13:42:55 +0000 (13:42 +0000)]
Report an error if the number of named columns in a VIEW is different
from the number of result columns in the SELECT statement that implements
the VIEW.
FossilOrigin-Name:
6e4ac0be2de1a16fcbb2a314504122ad95aa257e
drh [Fri, 25 Sep 2015 01:09:27 +0000 (01:09 +0000)]
Fix a problem computing affinities for indexes during skip-scan code
generation when SQLITE_ENABLE_STAT4 is on. Bug introduced by
check-in [
1ee089a72d789002 ].
FossilOrigin-Name:
1350dd42d056508337b1a07ad8b1c9c97593f8d3
drh [Thu, 24 Sep 2015 18:47:59 +0000 (18:47 +0000)]
Enhance the query planner so that it is able to use indexed expressions
to help fulfill an ORDER BY clause.
FossilOrigin-Name:
668fc1ebaf426f9eed3ed7865e41f1023dafebfb
drh [Thu, 24 Sep 2015 17:38:01 +0000 (17:38 +0000)]
Fix over-length source code lines in where.c. No logic changes.
FossilOrigin-Name:
1c8c5380a8b45c9e04d9663c3cb8182ef3a61b81
drh [Thu, 24 Sep 2015 12:40:43 +0000 (12:40 +0000)]
Strengthen the implementations of xShmMemoryBarrier on both the unix and
windows VFSes, so that they likely work even if SQLITE_THREADSAFE=0 is used.
FossilOrigin-Name:
c6ab807b72ddfc1462f61aa91442b6fac04ace8a
drh [Thu, 24 Sep 2015 12:19:17 +0000 (12:19 +0000)]
Make sure joins work correctly when both sides of the join are connected
using indexed expressions.
FossilOrigin-Name:
c2fcb03299f2872d7f97a540ea145519f8b2e5cc
drh [Thu, 24 Sep 2015 11:26:45 +0000 (11:26 +0000)]
Correctly handle the case of a WHERE-clause term with indexed expressions on
both sides of the == sign.
FossilOrigin-Name:
d9b716a6bd6145b2e7733c04d86227df777cd473
drh [Thu, 24 Sep 2015 11:06:26 +0000 (11:06 +0000)]
Fix a JSON1 test case so that it works on builds that omit virtual tables.
FossilOrigin-Name:
a4444c0f662058bdd5267e616c31cef828bc1fc5
drh [Thu, 24 Sep 2015 01:40:45 +0000 (01:40 +0000)]
Another (smaller) performance optimization for the JSON parser.
FossilOrigin-Name:
c43daa8c78df99f62dd4d3c83708a3a8eff92496
drh [Thu, 24 Sep 2015 01:06:37 +0000 (01:06 +0000)]
Performance optimizations on the JSON parser.
FossilOrigin-Name:
7dd4b07a42eb84589d34430b9d7bfa88fbd743eb
drh [Wed, 23 Sep 2015 19:17:23 +0000 (19:17 +0000)]
Take care that the number of reserved bits per page is consistent between
the source and destination databases when doing the back-copy on a VACUUM.
FossilOrigin-Name:
5b61b72f5424a2d9bb4e68eb95026cd63f003db9
drh [Wed, 23 Sep 2015 11:59:50 +0000 (11:59 +0000)]
Capture AFL-generated fuzz tests for json1.c into the test/fuzzdata4.db file.
FossilOrigin-Name:
10a214fdb3c13b25e0bdd15c975c21c8890c47ee
drh [Wed, 23 Sep 2015 01:10:29 +0000 (01:10 +0000)]
Do not allow a comma at the end of a JSON array or object.
FossilOrigin-Name:
7c7a3f3e9bc2f7a7334d8d6eae183d83f22097be
drh [Tue, 22 Sep 2015 18:51:17 +0000 (18:51 +0000)]
Add the --export-sql and --export-db options to the fuzzcheck utility program.
FossilOrigin-Name:
760af4455115669b934c3115d45cffe89c085faf
drh [Tue, 22 Sep 2015 17:46:11 +0000 (17:46 +0000)]
Fix a typo in the --help screen of the fuzzcheck utility.
FossilOrigin-Name:
b6ae61fe3b3de3aa296b3e56cd2ec425a5141c73
drh [Tue, 22 Sep 2015 01:15:49 +0000 (01:15 +0000)]
Futher simplifications to json1.c. Also an obscure bug-fix in the initial
output of json_tree() when using a path to an object contained within an array.
FossilOrigin-Name:
fcb1e327a64134e5ac539ec3d52733422d3061fd
drh [Tue, 22 Sep 2015 00:21:03 +0000 (00:21 +0000)]
Fix json_set() so that it can overwrite a value that was previously overwritten
during the same call.
FossilOrigin-Name:
0f16041647993975c316203c7e11f06e27640136
mistachkin [Mon, 21 Sep 2015 23:53:42 +0000 (23:53 +0000)]
For MSVC, have the 'sqlite3.c' target depend on 'sqlite3ext.h' as well as other targets may depend on this behavior (e.g. extensions).
FossilOrigin-Name:
737ac3faf4e5fcb5855f5f9a1c1ddfc5424e6292
mistachkin [Mon, 21 Sep 2015 23:49:35 +0000 (23:49 +0000)]
Fix compilation under older versions of MSVC.
FossilOrigin-Name:
17150ada1474e70d7c5ffe6ba5667f45671a434b
drh [Mon, 21 Sep 2015 22:53:16 +0000 (22:53 +0000)]
Simplifications to the json1.c logic.
FossilOrigin-Name:
1646a2bd85f87d03a14fcaec288107f5f6411c6f
drh [Sun, 20 Sep 2015 22:57:47 +0000 (22:57 +0000)]
Fix an overly-strict assert() in the btree logic.
FossilOrigin-Name:
825ce3201df21c6b9d5c57dcc6726c306df05220
drh [Sat, 19 Sep 2015 20:27:08 +0000 (20:27 +0000)]
Do not allow table-valued function syntax to be used on a view.
FossilOrigin-Name:
97cfe346e140e42a604375551f8168276bdbea11
drh [Sat, 19 Sep 2015 19:36:13 +0000 (19:36 +0000)]
Add the --disable-lookaside option to the fuzzershell utility program.
FossilOrigin-Name:
0b04374449c8279ad038def7c18cd74f180a0515
drh [Sat, 19 Sep 2015 18:54:39 +0000 (18:54 +0000)]
Fix a memory leak in json1.c that could occur after misuse of json_object().
FossilOrigin-Name:
394b81b11f261a9b179a034bc2a2d2dff0765e3b
dan [Sat, 19 Sep 2015 18:11:18 +0000 (18:11 +0000)]
Add an assert() statement to delete.c.
FossilOrigin-Name:
40fce67ecf0e71db3c8f3da3f72cc80a3d0f8fb2
drh [Sat, 19 Sep 2015 18:08:13 +0000 (18:08 +0000)]
Fix compiler warnings.
FossilOrigin-Name:
5c31ee62a196b914673384a611534fd778dc64b0
drh [Sat, 19 Sep 2015 16:51:58 +0000 (16:51 +0000)]
Add json1.c to the fuzzer test shells.
FossilOrigin-Name:
809d67b61164b83bbb6962f0edee1793a483ccab
drh [Sat, 19 Sep 2015 16:45:43 +0000 (16:45 +0000)]
Adjust Makefiles to use SQLITE_CORE when statically linking json1.c into
test shells.
FossilOrigin-Name:
91682ac39e7db6a5dc8b75695a757449f068184a
drh [Sat, 19 Sep 2015 14:57:00 +0000 (14:57 +0000)]
Adjust fuzzershell so that it adds the json1 extension separately for each
no connection.
FossilOrigin-Name:
ca2d1e9036387d1514fe596a0b82a3d8409797c3
drh [Sat, 19 Sep 2015 14:32:51 +0000 (14:32 +0000)]
Include json1.c in fuzzcheck and fuzzershell.
FossilOrigin-Name:
c4b68eff7f8f5402a9abf378157767b1c96a6101
drh [Sat, 19 Sep 2015 12:04:27 +0000 (12:04 +0000)]
Fix a documentation typo in sqlite3_bind_parameter_index(). No code changes.
FossilOrigin-Name:
650605a820f3860b1d6e955cdda23aaff01dfdb5
drh [Sat, 19 Sep 2015 11:57:26 +0000 (11:57 +0000)]
Fix an off-by-one error (really off-by-2 in this case) in the buffer
resize logic of json1.
FossilOrigin-Name:
d2a027372a5a6efc0f9b6f605093d865ae1c6788
drh [Sat, 19 Sep 2015 03:07:30 +0000 (03:07 +0000)]
Do not allow rowid in a UNIQUE or PRIMARY KEY constraint. (This restores the
same behavior exhibited by all prior releases.)
FossilOrigin-Name:
b1278301e37220a075c1bae88c0fcca2ef7a7d5c
drh [Fri, 18 Sep 2015 18:09:28 +0000 (18:09 +0000)]
Fix a crash that can occur with a skip-scan on an index with
expressions when SQLITE_ENABLE_EXPLAIN_COMMENTS is defined.
FossilOrigin-Name:
25f34cb9b576a2d4250a06a7dbf88010b1c11675
drh [Fri, 18 Sep 2015 15:38:07 +0000 (15:38 +0000)]
Adjustments to the spellfix2.test module so that it works reliably on
windows.
FossilOrigin-Name:
09a313fb7f2c16b0253a439edb901a7bb201d7d3
drh [Fri, 18 Sep 2015 15:35:16 +0000 (15:35 +0000)]
Adjust two test cases so that they conform to the current code.
FossilOrigin-Name:
228e3d7c8f37c722aee3b589bdd5cfaa4b1f6f03
drh [Fri, 18 Sep 2015 15:13:29 +0000 (15:13 +0000)]
Fix sqlilimits.test module so that it knows that the SELECT in a CREATE VIEW
is not checked until the view is actually used.
FossilOrigin-Name:
acf5d87f9456a1d0d69fe0ebc753211e1be07eaf
dan [Fri, 18 Sep 2015 14:45:01 +0000 (14:45 +0000)]
Ensure that "PRAGMA integrity_check" reports an error if the free-list count header field contains a value smaller than the actual number of pages on the database free-list.
FossilOrigin-Name:
26f64986d1ed59c554a7cb9e00e86a7f148f1fc6
drh [Fri, 18 Sep 2015 14:42:48 +0000 (14:42 +0000)]
Fix the orderby9.test case so that it works with 32-bit versions of TCL
FossilOrigin-Name:
4b6af7743034546a407a3e4722645945a4efc8a1
drh [Fri, 18 Sep 2015 14:22:34 +0000 (14:22 +0000)]
Remove a test made obsolete by the ONEPASS DELETE optimization.
FossilOrigin-Name:
c88b62c28cc7ac31b93f7df0c732e0bb6ca24f65
dan [Thu, 17 Sep 2015 17:21:09 +0000 (17:21 +0000)]
Avoid passing (signed char) values directly to isspace(), isalnum() or isdigit() in json1.c. Cast the value to (unsigned char) first.
FossilOrigin-Name:
6713e35b8a8c997aa2717e86ce6dcd63bb993477
dan [Thu, 17 Sep 2015 09:48:01 +0000 (09:48 +0000)]
Fix a crash in FTS5 caused by specifying NULL as the rhs of a MATCH operator.
FossilOrigin-Name:
e8ed62f82e8acc40b818bf86fafe3d480687514e
drh [Wed, 16 Sep 2015 17:46:11 +0000 (17:46 +0000)]
Add a "flush" to force incremental output to releasetest-out.txt while running
the test/releasetest.tcl. script.
FossilOrigin-Name:
0f3de2d337a3113dbd0765aa5545bb586b780121
dan [Wed, 16 Sep 2015 12:31:39 +0000 (12:31 +0000)]
dan [Tue, 15 Sep 2015 14:39:17 +0000 (14:39 +0000)]
Add test cases to cover fts5 integrity-check code.
FossilOrigin-Name:
1d018c35b9e81982df036f5e62a4a42219b54e02
drh [Tue, 15 Sep 2015 13:42:16 +0000 (13:42 +0000)]
Reformat some code to make it easier to merge with sessions. No logic changes.
FossilOrigin-Name:
eade355fafec558fc13dc4b08ca0b07713a2cd84
dan [Tue, 15 Sep 2015 11:58:33 +0000 (11:58 +0000)]
Fix a problem with fts5 "ORDER BY rowid DESC" queries and large terms.
FossilOrigin-Name:
b26d8f79c62cb71b4c3ea5df9d0e09558bbbd794
dan [Mon, 14 Sep 2015 19:51:05 +0000 (19:51 +0000)]
Improve test coverage of fts5_index.c.
FossilOrigin-Name:
c1f76686cee3918b1be785a4071d68cb3afda0ef