dan
25c1218e73
Add the ".ar x" command to the shell. For extracting the contents of sqlar
...
archives.
FossilOrigin-Name: 0cc699d14adfe8c7b7be50c180186562861806c47425c80c935bce43ee5c5c12
2017-12-07 21:03:33 +00:00
drh
70fedc584d
Fix harmless compiler warnings in the rot13 extension.
...
FossilOrigin-Name: 113470772b04210b9300803124c06af2c0b33278313b311fefe6f80594b24e4a
2017-12-07 16:51:25 +00:00
dan
fd0245d771
Begin adding support for the sqlar archive format to shell.c. There is no
...
"extract" command so far, only "create".
FossilOrigin-Name: c9827a01a6e107f38f85c2b2c1c7a599e443067b106217e965b6936441ca619d
2017-12-07 15:44:29 +00:00
drh
b5008252b3
Updates to the main README.md file.
...
FossilOrigin-Name: 6bfafc35d1fa0415dcc85edbbd1b273f84b7a6ab75f979b01d90b18ce6aa5703
2017-12-07 13:15:48 +00:00
drh
01f6b2dc2d
Fix an unreachable branch in cases when SQLITE_ENABLE_STAT4 is not defined.
...
FossilOrigin-Name: 6a55bd67720451cdf316155cf348103bfce1056a78bcddf0029b45ff0fdbcc71
2017-12-06 20:50:08 +00:00
mistachkin
a0fcafe762
For MSVC, simplify default locations for Tcl and ICU by using directories inside 'compat'.
...
FossilOrigin-Name: 8155b5ac850327ea76aba2adf624132f3e05024c973afd218b12f186fc7630e8
2017-12-05 19:07:30 +00:00
mistachkin
cb6acda902
Add support for including zlib in the shell when compiling with MSVC.
...
FossilOrigin-Name: e1838cee3847301ef491467dc75d9c4e1e3b12599596c058bdb14319a52fd8a0
2017-12-05 18:54:12 +00:00
dan
72afc3c5de
If SQLITE_HAVE_ZLIB is defined at build-time, include the functions in
...
ext/misc/compress.c in the shell.
FossilOrigin-Name: 0296286a9963bbaab60ee30d8700703f5ccb382380c9bfc0eb12c4bcb6f2accd
2017-12-05 18:32:40 +00:00
dan
8adb25ab63
Fix a compilation problem when both SQLITE_ENABLE_MULTITHREADED_CHECKS and
...
SQLITE_ENABLE_API_ARMOUR are defined.
FossilOrigin-Name: 0342ce510d2063a63839399a2cfa25b7fc02f4fde17764082676b332d6136241
2017-12-05 14:58:59 +00:00
dan
f9679318f2
Fix the ".lint fkey-indexes" shell command so that it works with WITHOUT ROWID
...
tables.
FossilOrigin-Name: 5771b1d611b3562ea6c040f3f893073c4d0ee58c35b37ae211520d9aee8ed547
2017-12-01 18:40:18 +00:00
dan
92b67025d4
Fix some minor problems in test scripts.
...
FossilOrigin-Name: 4c551fdebc7feda3dcfeec719387d879cd5e2cbe213c0c1aac0a965b3f9e882d
2017-11-30 11:21:59 +00:00
dan
6302590677
Update test file walprotocol.test to account for the changes in the wal
...
locking protocol.
FossilOrigin-Name: 64e567009dd56ef595850fe460925bc15fa875163541527638b654aa2b2cf785
2017-11-30 07:55:15 +00:00
dan
3d9c7c3a4f
Merge latest trunk changes into this branch.
...
FossilOrigin-Name: 373fa21bffd37053bb1a741d3ace2f003a5639bf373c20ea7bb24a31080888b3
2017-11-29 16:16:29 +00:00
dan
0895117512
Fix an assertion fault found by OSSFuzz.
...
FossilOrigin-Name: 75d699877fa7d06d30285ecf008fbedfdf68cc7965bb328c96f5a931d1f13f04
2017-11-28 20:43:40 +00:00
dan
05573e41a8
Lock the wal file for all snapshot transactions, even if they would not
...
otherwise require this, preventing checkpointers and writers from wrapping the
wal file. This means that if one connection has an open snapshot transaction
it is guaranteed that a second connection can open a transaction on the same
snapshot.
FossilOrigin-Name: b81a31495bd27c1d96f7df653da3502054240cb5acf66b860da7f0f9b422a524
2017-11-28 13:39:41 +00:00
dan
66a1520c73
Add experimental feature to detect threading bugs in apps that use
...
SQLITE_CONFIG_MULTITHREADED. Enabled at compile time using
SQLITE_ENABLE_MULTITHREADED_CHECKS.
FossilOrigin-Name: 40b598c8392f030f6ed8c63ce81cb0426bb3984397c19c756215f6a569a40164
2017-11-28 07:52:00 +00:00
dan
a90a2d58a4
Use a symbolic constant instead of a literal (-1) to identify a
...
warn-on-contention mutex.
FossilOrigin-Name: 12a23c0a66fac5c9674120b390f6abaeaba3f7ff04693b281af1eefb93d6f47c
2017-11-28 07:47:57 +00:00
drh
cb45eef4d1
Update tests to deal with SQLITE_FAST_SECURE_DELETE.
...
FossilOrigin-Name: e6b89304695be371978e65dddd710c8bd563c66b9c94d23165142b6c235c82e1
2017-11-28 00:52:14 +00:00
dan
7ac2d48eba
Fix a faulty NEVER assert() that could fail for SQLITE_ENABLE_STAT4 builds
...
that use foreign keys.
FossilOrigin-Name: 465350e55ddaf30cfba7874653301de7238a9dc2bc5e1f800fc95de9360679f6
2017-11-27 17:56:14 +00:00
drh
9b7affc451
Fix an CSV output quoting problem in the command-line shell on Windows.
...
FossilOrigin-Name: 6500cdbd36b0169f37fe363c49182b3e30477a51bb521c2a964555cd086a5589
2017-11-26 02:14:18 +00:00
dan
61f8e86f93
Fix builds with both SQLITE_ENABLE_MULTITHREADED_CHECKS and
...
SQLITE_THREADSAFE=0 defined.
FossilOrigin-Name: 7d0b12fcb58353b883ffce77df824a5cc8b1e913a21ec3f22fb73481a398c916
2017-11-25 21:09:29 +00:00
dan
8385becfe1
Add experimental feature to detect threading bugs in apps that use
...
SQLITE_CONFIG_MULTITHREADED. Enabled at compile time using
SQLITE_ENABLE_MULTITHREADED_CHECKS.
FossilOrigin-Name: a66886ac13aa6d8ccbb6d673ddd00267c93e3ee1fbc158236fce3157d150868d
2017-11-25 17:51:01 +00:00
dan
d37ce8396a
Add the "^" syntax from fts3/4 to fts5.
...
FossilOrigin-Name: 24d7058e2799133dd681d2fef341025ca50554861bb4cd39e93ee87ae1d8a605
2017-11-24 19:24:44 +00:00
drh
56c9311c63
Enhance the configure script to detect zLib.
...
FossilOrigin-Name: e3b6e22049caf78bc4153ded8dc295fe30ad320323d921f16bd794ef30f1b115
2017-11-24 16:55:48 +00:00
drh
53bf7175af
Fix a problem in the omit-table-from-left-join optimization
...
from check-in [0cd82ee9a8413cf] that was discovered by OSSFuzz.
FossilOrigin-Name: b016c28fa5617a20ad34c005372e738d28f7fc4388d19ee0cb7add4ed19d74aa
2017-11-23 04:45:35 +00:00
drh
fa337cc115
Completely disable the skip-ahead-distinct optimization for all but the
...
inner-most loop of a DISTINCT join. Fix for ticket [ef9318757b152e3a26e9592]
FossilOrigin-Name: b7595cf2cadcba486e60b3c230ccc412a7cf449c1d56cbe65869e6d5d9f1374d
2017-11-23 00:45:21 +00:00
drh
065b34f6e5
Fix the skip-ahead-distinct optimization on joins for cases there the table
...
in the inner loop of the join does not contribute any columns to the
result set. Proposed fix for ticket [ef9318757b152e3a2]
FossilOrigin-Name: 2dcef5a9ae7f347da65207bf6bf612fb12e18e1a6704799322f0cf2a86154cfd
2017-11-21 23:38:48 +00:00
mistachkin
041343dea1
Fix typo in the Makefiles for MSVC.
...
FossilOrigin-Name: 17dd2f7314e7eb124e0a2a7a6cf475850e87fe3041e6ce1e1fd71b38d54852a8
2017-11-21 21:15:17 +00:00
mistachkin
c6bc15a804
Fix compilation issue (C99-ism) in the shell seen with MSVC.
...
FossilOrigin-Name: 9cb47430553f00216e9b06e3d8226b903da536152fac80a5b6f615508c933252
2017-11-21 21:14:32 +00:00
dan
1671a4141b
Update the omit-table-from-left-join optimization so that it can omit tables
...
from the middle of the join as well as the end.
FossilOrigin-Name: 0cd82ee9a8413cf127b5ca65770e3f363bd579941cd592298d3b0c27715583f3
2017-11-21 20:53:14 +00:00
dan
41203c6cf1
Update the omit-table-from-left-join optimization so that it can omit tables
...
from the middle of the join as well as the end.
FossilOrigin-Name: 618ca9fe53d8d2d7b4f368e6ee404d5fceeecac0d689f32ab62af8a6cbb37401
2017-11-21 19:22:45 +00:00
dan
62a83d262a
Fix a problem preventing the planner from identifying scans that visit at most
...
one row in cases where that property is guaranteed by a unique, not-null,
non-IPK column that is the leftmost in its table.
FossilOrigin-Name: 7fdb1e2ac2040dc47800a224d33a5c95d55200c480d46fedec1e97fb4f089ef7
2017-11-20 15:46:10 +00:00
dan
17f188e3cf
Fix a typo in a test script on this branch.
...
FossilOrigin-Name: bff5dcfd2b29ee4834258914410a5dee69ec2727dd254053e3ebaf5090937694
2017-11-20 15:45:03 +00:00
dan
75dbf68b5b
Fix a problem preventing the planner from identifying scans that visit at most
...
one row in cases where that property is guaranteed by a unique, not-null,
non-IPK column that is the leftmost in its table.
FossilOrigin-Name: 299d7ca52fec32f04ffd2b8561dd4b839e891792162f8b00259368683436b02d
2017-11-20 14:40:03 +00:00
dan
de7c4ec72c
Enhance the log messages produced in some cases if database corruption is
...
encountered by an SQLITE_DEBUG build.
FossilOrigin-Name: ee840a7669dd462af072625232ea4238198c9b94e1873f361c45f3b0985456f3
2017-11-18 18:07:17 +00:00
dan
eebf2f5747
Enhance the log messages produced in some cases if database corruption is
...
encountered by an SQLITE_DEBUG build.
FossilOrigin-Name: 23a3128083834b5fc80adf45448f7dc65587c52761fb3c9483b80313b369406f
2017-11-18 17:30:08 +00:00
drh
2410243e9d
Improved fix for ticket [da78413751863] that does not require disabling the
...
query flattener as was done in [005d5b870625]. This also makes the code
generator for vector IN operators a little easier to understand.
FossilOrigin-Name: 723f1be3d4a905a6a16333f8ef3e1067dcd4944497b303033c49946fc37c780f
2017-11-17 21:01:04 +00:00
dan
6bcabfe1a3
Add some missing "finish_test" lines to the end of test scripts.
...
FossilOrigin-Name: c21406ab3281480d3eddca0cdf5aea3abc224425ee52c10eed3ff702a0ae5c26
2017-11-17 20:07:19 +00:00
drh
9b1ecb67c3
New assert() statements in the rowvalue IN expression processing.
...
FossilOrigin-Name: 00c328317473cee8fd7bd92c58409a356337b727cfa562bd8de59350d978769c
2017-11-17 17:32:40 +00:00
drh
7fc0ba0f4c
Clarification of comments on sqlite3FindInIndex(). No changes to code.
...
FossilOrigin-Name: 071cabd23cd010180711a138f891a0e358031dd128532def4f62c5764651bace
2017-11-17 15:02:00 +00:00
dan
7775e4a2b4
Do not count temporary databases that have been attached using ATTACH when
...
figuring out if a master-journal file is required by a transaction.
FossilOrigin-Name: 93e012a317c8a4bfb84327616a597acabfcb24417197eefdccb8031bcf64e0c0
2017-11-17 13:21:12 +00:00
dan
6cbc5074e8
Avoid creating a master journal if all or all but one of the databases in the
...
transaction is a temp file.
FossilOrigin-Name: 355d1232fd7314723afaa8d6b8b73506b09cbba1113a88b10204ba89be993508
2017-11-17 08:20:10 +00:00
dan
cda185d3a2
Ensure that empty space on pages is zeroed before they are written to disk.
...
This helps with compressed databases, and stops valgrind complaining about
uninitialized bytes and write().
FossilOrigin-Name: 5ffec5db33137251090d45e2ca7e3e7823e3215ae89822d905923424ceba2ac2
2017-11-16 20:48:47 +00:00
drh
3dbb4acf07
Add a missing "finish_test" to the end of the stmtvtab1.test script.
...
FossilOrigin-Name: e0b5c0585e8530bd516b340093a46d8e358a731facb78da22d3208633c852804
2017-11-16 19:04:33 +00:00
drh
ef302e8a67
Futher improvements to the .testctrl interface in the shell.
...
FossilOrigin-Name: 1ca3b8cce93e83fabe35c22cb726b8ce0883e0448afa3301ad0b53073055fa8d
2017-11-15 19:14:08 +00:00
drh
35f51a4460
UI improvements on the .testctrl dot-command in the shell.
...
FossilOrigin-Name: 5d66219c4706e11a9c2a1290224e7c17b19f74657e8239accfb4c6f6be6af9b5
2017-11-15 17:07:22 +00:00
drh
8c0833fb21
In the parse tree, combine LIMIT and OFFSET into a single expression rooted
...
on a TK_LIMIT node, for a small code size reduction and performance increase,
and a reduction in code complexity.
FossilOrigin-Name: 3925facd942c9df663f9b29b1e6f94f6be14af8c2b99eb691bfc836b4c220826
2017-11-14 23:48:23 +00:00
drh
65efeaca83
Add the ability to read from read-only WAL-mode database files as long as
...
the -wal and -shm files are present on disk.
FossilOrigin-Name: 00ec95fcd02bb415dabd7f25fee24856d45d6916c18b2728e97e9bb9b8322ba3
2017-11-14 19:34:22 +00:00
dan
219a3e0b32
Fix the SQLITE_ENABLE_UPDATE_DELETE_LIMIT functionality so that it works with views and WITHOUT ROWID tables.
...
FossilOrigin-Name: dae4a97a483bee1e6ac0271ddd28a0dffcebf7522edaf12eb5e0eba5fc62516a
2017-11-14 17:06:37 +00:00
drh
8b17ac1919
Improvement to a comment. No changes to code.
...
FossilOrigin-Name: 486949fc03706e0056439b52ce60931ea4ce0a65e391da7f6287fe13862de251
2017-11-14 03:42:52 +00:00