]>
git.ipfire.org Git - thirdparty/sqlite.git/log
dan [Wed, 8 Apr 2015 16:01:12 +0000 (16:01 +0000)]
Add experimental API sqlite3session_diff().
FossilOrigin-Name:
c4340b2ea2115ad97dcac036f9034e132ab789e5
drh [Tue, 7 Apr 2015 23:10:44 +0000 (23:10 +0000)]
Merge printf() width and precision overflow fixes from trunk.
FossilOrigin-Name:
aeca95ac77f6f320a916f7e3c5a7a588ef4a20c8
drh [Tue, 7 Apr 2015 15:39:29 +0000 (15:39 +0000)]
Avoid signed integer overflow when converting oversized in-line integer
widths and precisions in printf().
FossilOrigin-Name:
8e4ac2ce24415926247961b00a62425ae85d6ffb
dan [Tue, 7 Apr 2015 14:38:57 +0000 (14:38 +0000)]
Another change to avoid a problem caused by integer overflow in the printf() code.
FossilOrigin-Name:
95625ef3adc3c408d67e70f877f390445fbb8292
drh [Tue, 7 Apr 2015 13:28:41 +0000 (13:28 +0000)]
Further changes to guard against integer overflow in the width and precision
of printf() arguments.
FossilOrigin-Name:
5ce4e7d7651e5c72a59f03f7aeb366291e62ab57
drh [Tue, 7 Apr 2015 12:41:17 +0000 (12:41 +0000)]
Guard against excessive width and precision in floating-point conversions
in the printf routines.
FossilOrigin-Name:
c494171f77dc2e5e04cb6d865e688448f04e5920
drh [Mon, 6 Apr 2015 12:08:24 +0000 (12:08 +0000)]
Merge obscure problem fixes from trunk.
FossilOrigin-Name:
271c110bcf5bf2ea7e113dd01dec876a08e3c047
dan [Mon, 6 Apr 2015 11:04:51 +0000 (11:04 +0000)]
Fix a problem with fts3 prefix terms within phrase queries on "order=DESC" tables with a mix of negative and positive rowids.
FossilOrigin-Name:
3ad829e50faca538db3abb2afb898b5521550c5c
dan [Mon, 6 Apr 2015 09:05:29 +0000 (09:05 +0000)]
Fix a problem with fts3 prefix terms within phrase queries on "order=DESC" tables with a mix of negative and positive rowids.
FossilOrigin-Name:
0cdf502885ea7e5805d7ba3719f055f5d48fc78d
dan [Sat, 4 Apr 2015 16:49:04 +0000 (16:49 +0000)]
Fix a problem with resolving ORDER BY clauses that feature COLLATE clauses attached to compound SELECT statements.
FossilOrigin-Name:
edc1de2a588fd50c0049bb2be76d3f6783443165
dan [Sat, 4 Apr 2015 16:43:16 +0000 (16:43 +0000)]
Fix a problem with resolving ORDER BY clauses that feature COLLATE clauses attached to compound SELECT statements.
FossilOrigin-Name:
427b50fba7362e5b447e79d39050f25ed2ef10af
drh [Fri, 3 Apr 2015 20:33:33 +0000 (20:33 +0000)]
Disable the SQLITE_FCNTL_WAL_BLOCK feature for now. It needs more work and
is not yet ready for release.
FossilOrigin-Name:
4ae9a3acc4eeeb7998769eb856c97c2233476f72
drh [Fri, 3 Apr 2015 18:33:40 +0000 (18:33 +0000)]
Add source code to the "showlocks" utility program in the tool/ subdirectory.
FossilOrigin-Name:
6868cc66d2be67b7f03776c982962ffa4b30de11
dan [Thu, 2 Apr 2015 15:24:53 +0000 (15:24 +0000)]
Disable e_walauto.test on OpenBSD, as it requires a coherent cache.
FossilOrigin-Name:
90701227085b8b8eb10a8eebe8d55f38b4778574
drh [Wed, 1 Apr 2015 16:39:06 +0000 (16:39 +0000)]
Merge recent enhancements from trunk.
FossilOrigin-Name:
aea439bdc6d4d3a8568423171abf381843188826
drh [Wed, 1 Apr 2015 13:21:33 +0000 (13:21 +0000)]
Improved detection and suppression of endless loops in clearDatabasePage().
FossilOrigin-Name:
30011ad2f55cfcacaf23a58ebcc17b17a7b9355e
drh [Tue, 31 Mar 2015 19:40:05 +0000 (19:40 +0000)]
On windows, flush the mapping view when syncing content to disk.
FossilOrigin-Name:
a828e73dc1ae50189bdf73f60caeb7308738ad7a
drh [Tue, 31 Mar 2015 18:05:49 +0000 (18:05 +0000)]
Add the "mptest" target to main.mk. Change TRUNCATE and PERSIST to DELETE
for mptest.c on Windows because of problems trying to delete the journal.
FossilOrigin-Name:
ea697e6d9ff1f4d77774589a02ba4a18feafbf03
drh [Tue, 31 Mar 2015 17:32:06 +0000 (17:32 +0000)]
Change the sqlite3_log() message generated on a retry after delay in os_win
to be an SQLITE_NOTICE instead of SQLITE_IOERR.
FossilOrigin-Name:
5d533eee049e63b3700f5ef7c28c588afccde57a
drh [Tue, 31 Mar 2015 17:01:52 +0000 (17:01 +0000)]
Fix configure.ac and Makefile.in so that they generate pkgIndex.tcl correctly.
FossilOrigin-Name:
3deff25249c59b7fc1b6eb65dda39736955679c6
mistachkin [Tue, 31 Mar 2015 16:42:16 +0000 (16:42 +0000)]
Minor tweaks to the MSVC Makefile.
FossilOrigin-Name:
7244ea59ede8aa2c7d1dc2c85268e12ddd452e27
drh [Tue, 31 Mar 2015 16:33:08 +0000 (16:33 +0000)]
Handle very large URI pathnames for in-memory shared-cache databases.
FossilOrigin-Name:
586a94e85bc13700a2093734711c1367fa814b8c
drh [Tue, 31 Mar 2015 15:15:48 +0000 (15:15 +0000)]
Fix harmless compiler warnings in lemon.c
FossilOrigin-Name:
bbe7dcda689a25860f2104804f00ba0a720c1372
drh [Tue, 31 Mar 2015 14:31:41 +0000 (14:31 +0000)]
Fix the corruptJ.test case so that it works with and without
SQLITE_SECURE_DELETE.
FossilOrigin-Name:
0c0ecfd68573957553b966229a67bfcd10ce4b99
drh [Tue, 31 Mar 2015 14:18:29 +0000 (14:18 +0000)]
Additional logging information output by mptester.
FossilOrigin-Name:
0cbbf6e4571ffef102c0e515f29166f2f2022126
drh [Tue, 31 Mar 2015 13:46:13 +0000 (13:46 +0000)]
Add the "mptest" target to Makefile.msc
FossilOrigin-Name:
1e814e0bd116ad5a05ab9f0ebed7e21b23ed0681
drh [Tue, 31 Mar 2015 11:42:23 +0000 (11:42 +0000)]
Ensure that comparison operators do not mess up the MEM_Dyn flag on registers
when reverting affinity changes.
FossilOrigin-Name:
02e3c88fbf6abdcf3975fb0fb71972b0ab30da30
drh [Tue, 31 Mar 2015 00:10:21 +0000 (00:10 +0000)]
Merge all recent trunk enhancements and fixes into the sessions branch.
FossilOrigin-Name:
df94e61f93da390cb75c48975c50e9d62096ea0b
drh [Mon, 30 Mar 2015 23:43:56 +0000 (23:43 +0000)]
Prevent a possible infinite loop when trying to DROP a table from
a corrupt database.
FossilOrigin-Name:
395bb3e677a6551b06ba96fc58c393132b93d1e8
mistachkin [Fri, 27 Mar 2015 18:22:01 +0000 (18:22 +0000)]
Merge updates from trunk.
FossilOrigin-Name:
45acf6a85150839d591316418dad59ae20ce3aa4
mistachkin [Fri, 27 Mar 2015 18:20:25 +0000 (18:20 +0000)]
Enhancements to OSTRACE usage in the Win32 VFS.
FossilOrigin-Name:
ab5800291e1908b5b51d912feeacf748dc9be14b
drh [Fri, 27 Mar 2015 02:27:20 +0000 (02:27 +0000)]
Fix the ".testctrl imposter" command in the command-line shell to be
consistent in error reporting and results with the other .testctrl
commands.
FossilOrigin-Name:
0ec08ba8a0fa188146b071a489908332693ba59a
mistachkin [Fri, 27 Mar 2015 00:21:52 +0000 (00:21 +0000)]
Using MSVC, get the sqlite3IoTrace variable working with the USE_STDCALL and/or DYNAMIC_SHELL options.
FossilOrigin-Name:
fe976c9130f6eecfa0a10347ee3f800f32051b89
mistachkin [Fri, 27 Mar 2015 00:19:31 +0000 (00:19 +0000)]
In the MSVC Makefile, make the DYNAMIC_SHELL option work without USE_STDCALL.
FossilOrigin-Name:
25b46a9c7e03a84bee2ffddc6d7fd6ae280e9d7b
mistachkin [Thu, 26 Mar 2015 23:36:35 +0000 (23:36 +0000)]
When syncing a memory mapped file on Windows, flush the mapped view as well.
FossilOrigin-Name:
df204049b9ec8dd3e43ed7dc251eaecedc05af4b
mistachkin [Thu, 26 Mar 2015 18:24:26 +0000 (18:24 +0000)]
Revise Win32 locking test to account for recent log message changes.
FossilOrigin-Name:
1bc76339e8542770bff7829a3dd346680950c0a5
drh [Thu, 26 Mar 2015 17:04:23 +0000 (17:04 +0000)]
Avoid leaving the malloc subsystem in a partially initialized state if
the low-level initialization callback fails.
FossilOrigin-Name:
3e872011ff5e27738c282f46d2b5803d94fe4b76
drh [Thu, 26 Mar 2015 15:27:32 +0000 (15:27 +0000)]
Provide source code line numbers for errors in the Windows VFS generated
by the winLogIoerr() routine.
FossilOrigin-Name:
b5da0d93cd1a3c0917399af3775a32327b883c8e
drh [Thu, 26 Mar 2015 14:29:51 +0000 (14:29 +0000)]
Fix a harmless compiler warning in FTS3.
FossilOrigin-Name:
1688f60c08cc9270948402d98a2333382aa32681
drh [Wed, 25 Mar 2015 18:29:10 +0000 (18:29 +0000)]
Change an unreachable branch into an assert().
FossilOrigin-Name:
fb076b28c36975ff2e41440f22fe5de115c195da
drh [Wed, 25 Mar 2015 17:35:01 +0000 (17:35 +0000)]
Fix the saveCursorPosition() routine in btree.c so that it works
correctly for a eState=CURSOR_SKIPNEXT cursor.
FossilOrigin-Name:
37866b4d483296ab9b7fcb9f5486695d4c2b8ddd
drh [Wed, 25 Mar 2015 13:06:54 +0000 (13:06 +0000)]
Reactivate an older assert() (adding an "|| CORRUPT_DB" term) and add a
new assert() in btree.c.
FossilOrigin-Name:
1e96520ac1d12ca83f019a60482efa0a074f2f94
drh [Wed, 25 Mar 2015 12:05:49 +0000 (12:05 +0000)]
Add two new assert()s to the sqlite3BtreeDataSize() method.
FossilOrigin-Name:
42d1793d6516e285a8925bbfd96b3d3375603d15
mistachkin [Tue, 24 Mar 2015 22:00:26 +0000 (22:00 +0000)]
Add SQLITE_STDCALL and SQLITE_CDECL macros on public function definitions.
FossilOrigin-Name:
cae3239aa58b4f7016fc9dcac3966fe6ef833879
drh [Tue, 24 Mar 2015 21:54:42 +0000 (21:54 +0000)]
Further simplifications to the amalgamation builder.
FossilOrigin-Name:
e826cd7db6b3ab010533d81a759794c2470343d2
mistachkin [Tue, 24 Mar 2015 21:52:12 +0000 (21:52 +0000)]
Update the 'mksqlite3c-noext' tool as well.
FossilOrigin-Name:
a532256688c3a7a6385e041ec73913842e2c3ab3
mistachkin [Tue, 24 Mar 2015 21:34:53 +0000 (21:34 +0000)]
Fix a couple comment typos in a tool script. No changes to code.
FossilOrigin-Name:
83421af67063825981f6051eb415944d90e9b2f6
mistachkin [Tue, 24 Mar 2015 21:27:27 +0000 (21:27 +0000)]
Add SQLITE_STDCALL and SQLITE_CDECL macros on public function definitions.
FossilOrigin-Name:
242f09d4d1c92ee9058857a5e780442f4b7bad55
drh [Tue, 24 Mar 2015 19:02:13 +0000 (19:02 +0000)]
Merge all recent trunk enhancements into the sessions branch.
FossilOrigin-Name:
54aaa6f29ad1bf84148c2403eed77e8311f68d66
drh [Tue, 24 Mar 2015 18:19:39 +0000 (18:19 +0000)]
Suppress a compiler warning that was appearing with SQLITE_THREADSAFE=0.
FossilOrigin-Name:
436314b5728c9413f9ac2d837e1c19364f31be72
drh [Tue, 24 Mar 2015 16:43:34 +0000 (16:43 +0000)]
Prevent a virtual table from being destroyed while it is in use.
Also: replace Vdbe.inVtabMethod with sqlite3.nVDestroy. Simplify the
EXPLAIN output for P4.pVtab to only show the sqlite3_vtab pointer.
FossilOrigin-Name:
cbeb9a1aed8ce3fb569a7717ad03c7c058b68de6
dan [Tue, 24 Mar 2015 14:57:21 +0000 (14:57 +0000)]
Add tests to check that attempting to DROP a virtual table while it is use does not cause problems.
FossilOrigin-Name:
5ee625b1980f9fab6294d308349dfd9ba960b60b
drh [Tue, 24 Mar 2015 14:57:02 +0000 (14:57 +0000)]
Simplify the EXPLAIN output of virtual table P4 parameters to only show the
pointer to the sqlite3_vtab object and omit the sqlite3_module object.
FossilOrigin-Name:
85610bbbc60cb4a6ec856123447fdb2ba948e52f
drh [Tue, 24 Mar 2015 14:05:50 +0000 (14:05 +0000)]
More defenses against virtual table being deleted out from under a running
statement.
FossilOrigin-Name:
116c99823022c017946b6088878a2d46759deb6e
drh [Tue, 24 Mar 2015 13:32:53 +0000 (13:32 +0000)]
Prevent a virtual table from being destroyed while it is in use.
FossilOrigin-Name:
fba674c083286dabb37fed9357b67593b56ed3a5
drh [Tue, 24 Mar 2015 12:51:52 +0000 (12:51 +0000)]
Replace the Vdbe.inVtabMethod field with the sqlite3.nVDestroy counter.
FossilOrigin-Name:
9faefb96272967e731e83ef516a8c1e1b876391b
drh [Mon, 23 Mar 2015 21:32:50 +0000 (21:32 +0000)]
Disable loadable extensions in the command-line shell on VxWorks user-space.
FossilOrigin-Name:
0ee2d38deb35aefc55395e86984a9a773caf6218
drh [Mon, 23 Mar 2015 19:55:21 +0000 (19:55 +0000)]
Track total memory usage using a 64-bit integer on 64-bit systems. Add
the sqlite3_status64() interface. Make the sqlite3_status() and
sqlite3_status64() interfaces atomic using mutexes and verify correct
mutex operation using assert() statements.
FossilOrigin-Name:
6fc4e79a2350295a15ac464593ad39d904953041
drh [Mon, 23 Mar 2015 19:16:30 +0000 (19:16 +0000)]
Fix a non-C89 variable declaration that causes problems for MSVC.
FossilOrigin-Name:
3de085eab2fbe491f2242b340851e8af8f61ad13
drh [Mon, 23 Mar 2015 19:03:51 +0000 (19:03 +0000)]
Fix datetype size asserts in btree.c.
FossilOrigin-Name:
ff4812d0e8e6322ca8b6992925fd4ef4aee463e6
drh [Mon, 23 Mar 2015 18:52:56 +0000 (18:52 +0000)]
Add the SQLITE_PTRSIZE macro. Use it to help sqlite3_status() run faster
on 32-bit systems.
FossilOrigin-Name:
c742bd6047bc6d0319a5a8c31d97f6b9229507f6
drh [Mon, 23 Mar 2015 17:25:18 +0000 (17:25 +0000)]
Add the sqlite3_status64() interface. Make the new interface and the legacy
sqlite3_status() both atomic and threadsafe. Check threadsafety using
assert()s.
FossilOrigin-Name:
1ce8e8fa4b866aafa12b1da0eb4d02321af9293e
drh [Sun, 22 Mar 2015 10:23:17 +0000 (10:23 +0000)]
Fix a potential NULL pointer dereference following a syntax error.
FossilOrigin-Name:
8d27e3e16a9be79fe227e833f4770ebe09a9d90b
mistachkin [Sat, 21 Mar 2015 23:38:59 +0000 (23:38 +0000)]
Fix harmless compiler warnings with MSVC when assert() and SQLITE_MEMDEBUG are both enabled.
FossilOrigin-Name:
9513dbd4860c8dd391f831982d09aff227d16f5c
mistachkin [Sat, 21 Mar 2015 22:23:46 +0000 (22:23 +0000)]
Add more comments to the MSVC batch build tool.
FossilOrigin-Name:
03522da37821958c647d49bf8189a5affa3f6720
mistachkin [Sat, 21 Mar 2015 22:13:47 +0000 (22:13 +0000)]
Increase the debugging level for the debug configuration in the MSVC batch build tool.
FossilOrigin-Name:
041484ff91fd4615368ccb2257ab50acc2cd4fea
drh [Sat, 21 Mar 2015 20:59:43 +0000 (20:59 +0000)]
Do not invoke a C preprocessor macro with an empty argument, as (reportedly)
some versions of GCC are unable to deal with that.
FossilOrigin-Name:
de9da317d4df3efefe9a1a48f954af8a19e7d098
drh [Sat, 21 Mar 2015 20:50:58 +0000 (20:50 +0000)]
Add a missing "int" on a constant declaration.
FossilOrigin-Name:
235157de5113ac4c750e36a498e2a1f1cf461751
dan [Sat, 21 Mar 2015 19:35:09 +0000 (19:35 +0000)]
Avoid a segfault if NULL is passed as the first argument to SQL scalar function fts3_tokenizer().
FossilOrigin-Name:
6d0989695b486275824c14d5f88357267c1e8104
dan [Sat, 21 Mar 2015 16:40:24 +0000 (16:40 +0000)]
Change walblock.test to block an external process for 10 seconds, not 5. 5 seconds is not long enough to tell the difference between a blocking lock and a series of retries.
FossilOrigin-Name:
717335fcdb15430ed977cbc98d30345b71728b66
drh [Sat, 21 Mar 2015 16:36:03 +0000 (16:36 +0000)]
Fix the blocking WAL lock so that it works and so that it compiles on a Mac.
FossilOrigin-Name:
67d69d21de32816894be53e4b446656d4174eb0d
dan [Sat, 21 Mar 2015 12:25:23 +0000 (12:25 +0000)]
Remove an unreachable branch from the OP_VCreate opcode (merge accidental fork in trunk).
FossilOrigin-Name:
2fbfec62fc03d42ee240dfefaa0aeb59a3f04d88
dan [Sat, 21 Mar 2015 12:22:51 +0000 (12:22 +0000)]
Avoid an integer overflow in fts3 causing gcc 4.7.1 with -O2 to behave counter-intuitively (perhaps because the behaviour is undefined). Add an "ifcapable trace" to a test in shell4.test.
FossilOrigin-Name:
e3e234649616f20610abce9ae9da1c572d3a4377
drh [Sat, 21 Mar 2015 12:22:16 +0000 (12:22 +0000)]
Remove an unreachable branch from the OP_VCreate opcode.
FossilOrigin-Name:
5fca41a3811766b48f5f23d5d49cc4e6e79fa867
dan [Sat, 21 Mar 2015 10:53:01 +0000 (10:53 +0000)]
Add a missing "ifcapable fts3" to a test case in vtab2.test.
FossilOrigin-Name:
d845b0f69093178517d66e1fc5060e8f62c681c7
drh [Sat, 21 Mar 2015 03:18:22 +0000 (03:18 +0000)]
Correctly detect the error of having a "*" wildcard on a SELECT without
a FROM clause on the left-hand side of a recursive CTE.
FossilOrigin-Name:
b11d1793a06a44931edcbf12a615b49794d53a62
drh [Sat, 21 Mar 2015 02:58:20 +0000 (02:58 +0000)]
If a column is both UNIQUE and a PRIMARY KEY, make sure the PRIMARY KEY
designation takes precedence.
FossilOrigin-Name:
d871a7921722bb0fef6d51e1110a9703ddff78c8
mistachkin [Sat, 21 Mar 2015 02:25:29 +0000 (02:25 +0000)]
Remove superfluous define from the MSVC makefile.
FossilOrigin-Name:
880d2513a0fb084fae82080401b108fb13e61478
mistachkin [Sat, 21 Mar 2015 02:22:37 +0000 (02:22 +0000)]
Improvements to the MSVC build. Fix harmless compiler warnings. Enable use of 'stdcall'.
FossilOrigin-Name:
737630b87314283b2c38790ace9d25ec05f81f4a
drh [Fri, 20 Mar 2015 16:54:29 +0000 (16:54 +0000)]
Provide the BTREE_SEEK_EQ hint to the b-tree layer.
FossilOrigin-Name:
3c367004dab0a1a24d955482c97b0f2d84129ab6
drh [Fri, 20 Mar 2015 16:34:49 +0000 (16:34 +0000)]
Fix to get SQLITE_SMALL_STACK working correctly again after the previous change.
FossilOrigin-Name:
78df0ce13d4f35226f2571bd7de78484ccbee4bb
drh [Fri, 20 Mar 2015 14:57:50 +0000 (14:57 +0000)]
Provide the BTREE_SEEK_EQ hint to the b-tree layer.
FossilOrigin-Name:
e750830f1e61160c0c67e35b13e50b35a95b50e1
dan [Fri, 20 Mar 2015 08:43:59 +0000 (08:43 +0000)]
Fix a problem causing collation sequence names to be dequoted multiple times under some circumstances.
FossilOrigin-Name:
eddc05e7bb31fae74daa86e0504a3478b99fa0f2
drh [Thu, 19 Mar 2015 20:09:16 +0000 (20:09 +0000)]
If a virtual table is created with a malformed UTF8 name in a UTF16 database,
make sure that does not cause problems.
FossilOrigin-Name:
b74cb0a92bba69f8ea705adf4695d03ea4470984
dan [Thu, 19 Mar 2015 19:59:30 +0000 (19:59 +0000)]
Fix a crash that can occur following an OOM condition within a CREATE VIRTUAL TABLE statement on a utf-16 database.
FossilOrigin-Name:
9453e7da046c55715631f10f018e97a336197969
dan [Thu, 19 Mar 2015 18:56:17 +0000 (18:56 +0000)]
Fix a problem with creating virtual table with names specified using malformed utf-8 within utf-16 databases.
FossilOrigin-Name:
9969cff2d0553c9bfa88a437e1bb0cc4200d49d7
dan [Thu, 19 Mar 2015 16:25:42 +0000 (16:25 +0000)]
Fix an FTS3/4 problem with handling empty tokenizer declarations (e.g. "CREATE VIRTUAL TABLE t(tokenize=);").
FossilOrigin-Name:
26d2def8a53094356008861636d66f9ae8f2448a
dan [Thu, 19 Mar 2015 15:52:07 +0000 (15:52 +0000)]
Silently ignore any attempt to add a prefix index for prefixes zero bytes in size to an fts3/4 table. Or any prefix index size so large that it overflows a 32-bit signed integer.
FossilOrigin-Name:
ad4b19d2ac0889a23fe3b0fd844286efc10cdd82
dan [Thu, 19 Mar 2015 15:04:23 +0000 (15:04 +0000)]
Add an assert() to check that the database mutex is held in sqlite3BtreeLeave().
FossilOrigin-Name:
31f54d7b0798e70da6a60b8ea3c5d9e35dce164c
mistachkin [Thu, 19 Mar 2015 14:48:38 +0000 (14:48 +0000)]
Fix typo in shell error message.
FossilOrigin-Name:
775a02d597549567a0634483525664643064b3fd
drh [Thu, 19 Mar 2015 13:30:41 +0000 (13:30 +0000)]
Fix a bug in error handling in the ".trace" command of the command-line shell.
FossilOrigin-Name:
6a48b5d794e891fdd167547c76835d677eb5e31d
drh [Wed, 18 Mar 2015 16:00:44 +0000 (16:00 +0000)]
Add another sqlite3FaultSim() to the multi-threaded sorter logic to
improve testability.
FossilOrigin-Name:
49ea2cded4a76596f85419c820cdaf4a1751d7ac
drh [Tue, 17 Mar 2015 20:39:11 +0000 (20:39 +0000)]
Clarify the documentation on sqlite3_errcode(). No changes to code.
FossilOrigin-Name:
2c0e0d87fb418d684fba1c83d9fd8e4e96588c54
drh [Tue, 17 Mar 2015 18:54:10 +0000 (18:54 +0000)]
Merge all recent trunk enhancements into the sessions branch.
FossilOrigin-Name:
1d1c57c3566d86cd44f146688b620131b3b57e52
drh [Tue, 17 Mar 2015 17:08:35 +0000 (17:08 +0000)]
Also merge the WAL blocking lock tests that were somehow missed on the
previous check-in.
FossilOrigin-Name:
7214dab7443d35c105904dd69635c1f8b45b2fc8
drh [Tue, 17 Mar 2015 16:59:57 +0000 (16:59 +0000)]
Transient locks in WAL mode can now block in order to resolve priority
inversions.
FossilOrigin-Name:
ec2f46de531ec8ef91981b19b48ab64db7727264
dan [Tue, 17 Mar 2015 16:01:29 +0000 (16:01 +0000)]
Add a test for the change on this branch.
FossilOrigin-Name:
e22dde187eb0b389d6d93e2e39a26fd0f4e6196e
dan [Mon, 16 Mar 2015 20:40:00 +0000 (20:40 +0000)]
Make SQLite slightly more likely to use an auto-index within a sub-query.
FossilOrigin-Name:
ab832336f4a28193c4d2b61e833564822a7b86a8
mistachkin [Mon, 16 Mar 2015 18:08:56 +0000 (18:08 +0000)]
Fix typo of test prefix in the new WHERE test file.
FossilOrigin-Name:
34779c528f1817d6ec34216b58fb4277956b5167
drh [Mon, 16 Mar 2015 17:48:12 +0000 (17:48 +0000)]
When the WHERE clause contains two OR-connected terms with identical
operands but different operators, try to combine them into a single term.
Example: (X=A OR X>A) becomes (X>=A).
FossilOrigin-Name:
8bdda827a3d268009297a0216e3d94bf0eceeb2e