dan
11da002c02
Fix a problem in the shell tools readfile() command causing blobs to be
...
truncated at the first embedded 0x00 byte in release builds, or an assert() to
fail in a debug build.
FossilOrigin-Name: 8dedd6ad44bd1d103dced9d1350188cb2327128d
2016-12-17 08:18:05 +00:00
drh
d47c6c495d
Add the ".lint fkey-indexes" command to the command-line shell.
...
FossilOrigin-Name: 94689e3bdac2eabbcf1a51d741c2604ed4bd8a40
2016-12-16 18:43:49 +00:00
dan
3c7ebeb548
Change ".fkey_missing_indexes" to ".lint fkey-indexes".
...
FossilOrigin-Name: ee621ade38c11806e1df57c459da5f018a6d0670
2016-12-16 17:28:56 +00:00
dan
c17f6255a4
Merge the pragma-as-vtab change into this branch.
...
FossilOrigin-Name: 4ba45e722371ca4343e3563e7e1c2896b48c9a87
2016-12-16 16:13:45 +00:00
dan
69b9383edf
Fix a problem causing the planner to generate sub-optimal plans for some queries
...
that use recursive WITH sub-queries with LIMIT clauses.
FossilOrigin-Name: 053a149cc8244a7f85137129cfcb8622efe90306
2016-12-16 15:05:40 +00:00
drh
e0a04a36a6
All temp.sqlite_master to be used as an alias for sqlite_temp_master.
...
FossilOrigin-Name: 8d646905b830d5bb29092e103ac5cb499b3c7e5a
2016-12-16 01:00:21 +00:00
dan
35ac58eabc
Add the experimental ".fkey_missing_indexes" command to the shell tool. To
...
identify indexes that should be created on child keys if FK processing is to
be enabled.
FossilOrigin-Name: 7df23aca1f7c7b769d614d740b3fda3073f46ba9
2016-12-14 19:28:27 +00:00
dan
68a494c06f
Fix a problem causing SQLite to return false "foreign key violation" errors
...
when there is a partial (i.e. WHERE constrained) UNIQUE index on the parent
key columns. This bug did not cause SQLite to allow illegal data to be
inserted into the database, only to reject legal operations.
FossilOrigin-Name: 850877d1ea43104cc215353414b870c340acced2
2016-12-13 16:57:49 +00:00
drh
26f419800a
Add the --mmap option to the speedtest1 program and to the speed-check.sh
...
script that is frequently used to run speedtest1.
FossilOrigin-Name: 1a636d5e0eec0a4d968519d1dfd35a983e512c78
2016-12-12 23:24:08 +00:00
drh
e0568d6fb8
Fix an obscure problem in range estimation with STAT4.
...
FossilOrigin-Name: 1f16c9a76bc48331799f33b30d143c632fe0e7db
2016-12-09 00:15:17 +00:00
dan
44c5604ced
Prevent the flattening or where-term push-down optimizations from obscuring
...
misuses of SQL row values that can lead to crashes or assert() failures.
FossilOrigin-Name: 433d16ff3adfede3be53d5b0e0512f37e225591b
2016-12-07 15:38:37 +00:00
drh
634133183c
In the LEMON parser-generator, fix the stack overflow processing so that it
...
correct invokes the destructor on the top-level of the parse stack.
FossilOrigin-Name: e8247065cf1d929f42d13864f8a1886ed4d329cd
2016-12-06 17:59:05 +00:00
drh
7a40707b1f
Test cases for the improved LIKE/GLOB matcher.
...
FossilOrigin-Name: 0bdb7ae126d3909344640813489ee68ecad041c4
2016-12-02 02:19:24 +00:00
dan
92ddb3bd02
Avoid clearing the EP_FromJoin flag from terms in ON clauses when flattening
...
sub-selects. Possible fix for [2df0107b].
FossilOrigin-Name: 8bed4cd549759a93c4a087d8d8c08c0068ba8d59
2016-12-01 19:38:05 +00:00
drh
c9c81dc6d7
Add the remember(V,PTR) extension function which copies an SQL value into
...
an application variable.
FossilOrigin-Name: d2d30914d81022d7d4e1670caf9326524520deaf
2016-11-30 16:54:52 +00:00
drh
77320ea48d
Fix then handling of the (oversized) integer literal -0x8000000000000000.
...
FossilOrigin-Name: 3816bb415ecfd4f36430d0fcbc878e382975de60
2016-11-30 14:47:37 +00:00
drh
d76a902c87
Further changes to the date/time functions to suppress harmless signed
...
integer overflow warnings that could have occurred when doing out-of-range
date calculations which, according to the docs, give undefined results.
FossilOrigin-Name: dc453b3403450b1d8cc53daf0721fed025b9053c
2016-11-30 00:48:28 +00:00
drh
3edb157e23
The documentation says that the built-in date-time functions give undefined
...
results for dates before 0000-01-01 and after 9999-12-31. Change the
actually implementation so that the answer given is really NULL. This also
avoids unnecessary hand-wringing over an signed integer overflow that might
otherwise occur when processing out-of-bound dates.
FossilOrigin-Name: d410a839752153c6d8be08f758abfbc16475745a
2016-11-29 20:39:48 +00:00
drh
dd5fa17d3c
Add the sqlite3_snapshot_recover() interface and related functionality.
...
FossilOrigin-Name: b70c85ce6d07b08e13f4ea99edb8f4855a6d7580
2016-11-26 19:44:40 +00:00
drh
36f49d0565
Fix the error message for invalid ".mode" arguments in the command-line shell,
...
so that it mentions the new "quote" mode.
FossilOrigin-Name: 9a603a18ef626b7d7a24b82eb961d6d8b4926195
2016-11-23 23:18:45 +00:00
dan
4b72524072
Code constant vector components outside of any loops in CASE and BETWEEN
...
expressions. Fix for [1a684656].
FossilOrigin-Name: c08aff13ead3e6a8b92c0f031b08f7e556922e70
2016-11-23 19:31:18 +00:00
drh
4b4ffadb43
Merge bug fixes and enhancements from trunk.
...
FossilOrigin-Name: e2c4bdf54fc1b9605226c7d6c79ef4f8302d6213
2016-11-22 22:23:56 +00:00
drh
e74cc5c9bc
Add a new requirement mark for CAST expressions.
...
FossilOrigin-Name: bee2859b953c935c413de2917588159d03c672d9
2016-11-22 20:29:05 +00:00
drh
50da663516
Update requirement marks to reflect changes in wording in the documentation.
...
No changes to code.
FossilOrigin-Name: f5ac98efb5d5f7751c5c560bed9c7885e60ac4bc
2016-11-22 19:15:05 +00:00
drh
89500dcd0b
Enhance speedtest1.c so that is works on older versions of SQLite, before
...
the introduction of the group_concat() aggregate function.
FossilOrigin-Name: 9979ba80a649ee61d9d174dc9d9fcab7e9fc1332
2016-11-21 18:15:35 +00:00
dan
93f5113290
Remove the requirement to open the wal file before sqlite3_snapshot_recover()
...
is called. Also add some comments to new functions.
FossilOrigin-Name: 28393c413cc4505b94411730e728583c5d4baaae
2016-11-19 18:31:37 +00:00
dan
4d4757fcc8
Test some extra error conditions in sqlite3_recover_snapshot().
...
FossilOrigin-Name: db314213c08f27dd0ff5ede3c6a8eda36560809a
2016-11-19 17:30:57 +00:00
dan
20ba3d7fcb
Add another fault-injection test for sqlite3_snapshot_recover().
...
FossilOrigin-Name: 7e040406138669bd67dd6ecae016b3e50dbfaaf8
2016-11-19 17:20:28 +00:00
dan
6a9e7f16eb
Fix a problem causing sqlite3_snapshot_recover() to return
...
SQLITE_IOERR_SHORT_READ.
FossilOrigin-Name: 525f75fa9fd4a95acc3fb3b0a01dabe2be39b383
2016-11-19 16:35:53 +00:00
dan
5b4009f637
Fix a bug in sqlite3_snapshot_recover() that could cause subsequent read
...
transactions to use out-of-data cache entries.
FossilOrigin-Name: 9abeb7980a34cec11a3420e14ad98a4ec0d9c599
2016-11-19 14:53:22 +00:00
dan
1158498dce
Add experimental sqlite3_snapshot_recover() API.
...
FossilOrigin-Name: 174a6076a8d7bebe5efebf55f3fdc5d87c589cc7
2016-11-18 20:49:43 +00:00
dan
edace5d4f1
Require that the database handle be in autocommit mode for
...
sqlite3_snapshot_get() to succeed. This is because it may open a read
transaction on the database file.
FossilOrigin-Name: 83b658dad091211ade3594d1e8d00ce525882506
2016-11-18 18:43:39 +00:00
dan
93006cdd85
Add tests for snapshot interfaces.
...
FossilOrigin-Name: 1f7ee7af7b620262ae663d65889b6a87415d4a34
2016-11-18 18:22:05 +00:00
dan
25accbca72
Enhance existing snapshot tests to serialize/deserialize snapshots. No new
...
tests.
FossilOrigin-Name: 16b9bf92741e4c62874cffd7c6a61763c5054c7a
2016-11-18 14:38:41 +00:00
drh
54cda4edbe
Disable the query flattener optimization for SELECT statements that are on
...
the RHS of vector IN operators. This is a hack that fixes the bug
described in ticket [da7841375186386c]. A better solution that does not
disable the query flattener is needed, but this will server for the time
being.
FossilOrigin-Name: 005d5b870625d175fdf3c0e87d974006c569d9e1
2016-11-17 13:13:25 +00:00
drh
d2d69cc1fa
Add a needed #include to speedtest1.c.
...
FossilOrigin-Name: 77aeb705c37b1bf61a05b5e4a09f5b5cd67d07bc
2016-11-15 21:17:13 +00:00
drh
5413ba4b17
Add 8794 new test cases received from the OSS-FUZZ project.
...
FossilOrigin-Name: 03f75a67c320f21192d721a8c34d49dea48ffdbb
2016-11-14 20:47:18 +00:00
drh
588429a87d
Fix a potential use-after-free error during parsing of malformed
...
CREATE TABLE statement.
FossilOrigin-Name: c5dbc599b910c02a961675b12b273b8df6d29450
2016-11-14 20:08:00 +00:00
drh
362b66f051
Enhance fuzzcheck.c to accept database-specific configuration parameters in
...
the option CONFIG table. Add the fuzzdata5.db fuzz database containing
test cases from OSS-FUZZ.
FossilOrigin-Name: a71fad4538311ede111815d221d9eb8d9018092b
2016-11-14 18:27:41 +00:00
drh
55377b4717
Fix the ossfuzz.c test module so that it does not segfault after a
...
"PRAGMA empty_result_callbacks=1;". Add the ossshell.c program for
simple command-line testing of ossfuzz.c.
FossilOrigin-Name: 6f2d43eca68175ed28abae3afa792095af906af2
2016-11-14 17:25:57 +00:00
dan
4a5bad572a
Fix a problem with switching from wal to rollback mode when
...
SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE is configured.
FossilOrigin-Name: 46e0016207b8e7df2ae6c7491fd0f3c2926eed21
2016-11-11 17:08:51 +00:00
drh
ea432ba2df
Add the test/ossfuzz.c interface adaptor for OSS-FUZZ. Make previsions for
...
testing the adaptor using fuzzcheck.c.
FossilOrigin-Name: 119d6ef8478ea6ab07dfd0e974d2f5a8dcfce87e
2016-11-11 16:33:47 +00:00
dan
3bafdede8a
Handle some obscure "row value misused" cases that could cause segfaults or
...
assertion failures.
FossilOrigin-Name: fba5fddb1c40af75634b01c1f06d2610df697e01
2016-11-11 15:49:01 +00:00
drh
4e8142c726
Back out the "--raw" option on ".read" in the command-line shell. Instead,
...
fix the command-line shell so that if EOF is reached without seeing a
final semicolon, it goes ahead and passes the accumulated SQL text to
SQLite.
FossilOrigin-Name: f98c8ac8c485098f163400d3a92d6afb4008adbe
2016-11-11 14:54:22 +00:00
dan
b47ebe6128
Add extra tests for the xBestIndex() virtual table method.
...
FossilOrigin-Name: 642a8fba91d2bf61b494b845cb499714363209b1
2016-11-11 09:51:46 +00:00
drh
4360fcea6d
Take care not to try to generate code for the ATTACH and DETACH commands
...
if there were syntax errors during parsing.
Fix for ticket [2f1b168ab4d4844]
FossilOrigin-Name: b0ff183b8ffdbebece06cfea1c6781fc0e8e8547
2016-11-11 03:37:24 +00:00
drh
088c086b14
Add a DISTINCT query to speedtest1.c. Also change INSERT OR REPLACE into
...
just REPLACE.
FossilOrigin-Name: 754ee844958bdc3b96acfd1f5395da5796e54a82
2016-11-09 01:07:10 +00:00
drh
0a22c865e4
Fix the speedtest1.c test program so that it gives closing "%" wildcards
...
on LIKE searches.
FossilOrigin-Name: c2f84f637f994c3b4522b48161185a4a2c5bca23
2016-11-08 16:27:59 +00:00
drh
662389b265
Tweaks to speedtest1.c to better reflect mobile usage based on findings in
...
the "Pocket Data" paper by Kennedy, Ajay, Challen, and Ziarek.
FossilOrigin-Name: b5733cae3c519482cf6bc642bd63814afb113d35
2016-11-08 00:30:11 +00:00
drh
ad875e7416
Fix the JSON1 extension so that the JSON validator correctly rejects malformed
...
backslash escapes within string literals.
FossilOrigin-Name: 7a63539169a384960e30a63e0c8e9b0f07fa431e
2016-11-07 13:37:28 +00:00
dan
a2bfa046ea
Avoid a crash that can occur after an obscure OOM in the built-in INSTR()
...
function.
FossilOrigin-Name: b86b79c442a58d10aa005ba4f34095375a88d242
2016-11-04 12:05:29 +00:00
drh
b1c9633493
Mark the ICU extension functions as deterministic.
...
FossilOrigin-Name: afbbb6c66a85ff3f4c8dce677e0892a2a51d2b8e
2016-11-04 12:03:26 +00:00
dan
792557ac67
Fix a test case in vacuum5.test so that it works with the in-memory journal
...
permutation.
FossilOrigin-Name: 81c86401463df6be4ac21987b3b1703e38ab933b
2016-11-04 07:25:43 +00:00
dan
af58068550
Fix a test case in vacuum5.test sot aht it works with
...
-DSQLITE_ENABLE_ATOMIC_WRITE.
FossilOrigin-Name: 3ca80010397676eca57c8a4c9b3a9c2c40629663
2016-11-03 19:24:14 +00:00
dan
7df9b8e6e4
Fix a test case in vacuum5.test so that it works with -DSQLITE_TEMP_STORE=2.
...
FossilOrigin-Name: f5dd95e25c703a825ad7af9a4b3886bd3ef8c2e8
2016-11-03 19:01:20 +00:00
drh
506a1400a3
Adjust the MSVC makefile to use Tcl8.6 by default.
...
FossilOrigin-Name: def8f598b8e33b5bab3a024cc57f4c5e300cd8cd
2016-11-02 19:49:22 +00:00
dan
75ba676790
Fix an issue that was causing the new database image to be assembled entirely
...
in heap memory when VACUUMing a database, even if it should use a temp file.
This could cause SQLITE_NOMEM errors when vacuuming very large databases on
32-bit systems.
FossilOrigin-Name: 3028845329c9b7acdec2ec8b01d00d782347454c
2016-11-02 14:50:19 +00:00
dan
298af02308
Add the SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE sqlite3_dbconfig() option - for
...
disabling SQLite's default checkpoint-on-close behaviour.
FossilOrigin-Name: 093d2fc2288b75c15ccf877bfa0e622d3918a562
2016-10-31 16:16:49 +00:00
dan
dadafa881f
Remove the mutex from test_multiplex.c.
...
FossilOrigin-Name: 6374978e8f1ac091394a9f5a1896be92af658bcd
2016-10-27 14:51:02 +00:00
drh
c52496f57f
Make sure left-join markings are transferred to the virtual scalar
...
subexpressions when decomposing a vector comparison in the ON clause of
a LEFT JOIN.
Fix for ticket [fef4bb4bd9185ec8f].
FossilOrigin-Name: 619f5cc71774a37648e185c8502d7af14eb09b7f
2016-10-27 01:02:20 +00:00
dan
b40897ab5e
If all branches of an OR optimize scan that is the rhs of a LEFT JOIN use the
...
same index, set the index cursor to return NULL values if there are no matches
for a row on the lhs.
FossilOrigin-Name: e7b9bc678ecb75c594d9d3ade12a99a8d551cdc9
2016-10-26 15:46:09 +00:00
dan
635f83c062
Add extra tests to check the result of including a %00 escape in a URI
...
when ENABLE_URI_00_ERROR is defined.
FossilOrigin-Name: 1aaa06e37f44309c62335d8eda59ca6890d4be9d
2016-10-26 13:44:07 +00:00
dan
5c35e90377
Add compile time option SQLITE_ENABLE_URI_00_ERROR. If defined, any "%00"
...
escape found in a URI is treated as an error.
FossilOrigin-Name: e8a9bfece27e2af178a206ad6bce3f24d64e7ee4
2016-10-26 12:15:41 +00:00
dan
01e697b4ec
Add test case to demonstrate a "BEGIN EXCLUSIVE" command returning
...
SQLITE_BUSY_SNAPSHOT.
FossilOrigin-Name: b115856408b6aa5538be67beb619d7aff0630bea
2016-10-25 15:06:11 +00:00
dan
ceb97c1107
If SQLITE_DIRECT_OVERFLOW_READ is defined at compile time, add "DIRECT_OVERFLOW_READ" to the list of symbols returned by "PRAGMA compile_options".
...
FossilOrigin-Name: b7d9727bff2e840af4b090872c991693e78e6076
2016-10-21 10:09:22 +00:00
dan
86873baa58
Add test case to incrblob4.test. No changes to code.
...
FossilOrigin-Name: fd9c6ff05f2052810549a1a6a384f4b40f4ba4ac
2016-10-20 11:48:48 +00:00
drh
ba69061ebc
Fix harmless uninitialized variable warnings in speedtest1.c.
...
FossilOrigin-Name: 2aa7a03b8632dbfd9741018b5b19c372dcfd3647
2016-10-18 15:29:57 +00:00
drh
f8a89ca5dd
Add the --repeat option to speedtest1.c and speed-check.sh.
...
FossilOrigin-Name: 6ca0e06b21b0d5f7ae5bcb7839a11a45da0d2cea
2016-10-18 14:35:55 +00:00
mistachkin
5f0b8a0e30
Corrections to a couple recently added 'filectrl.test' results.
...
FossilOrigin-Name: 3d89dc4544bc51f8c9fa63a6ecf0458f6d10fc9f
2016-10-17 18:33:36 +00:00
dan
1480095ff5
Changes to support interrupting a checkpoint using sqlite3_interrupt().
...
FossilOrigin-Name: c88d36e251abec24aa7e37cf550e148904b9fd2d
2016-10-17 15:28:39 +00:00
dan
1cb3c7c415
Add test case to hook.test. No changes to non-test code.
...
FossilOrigin-Name: 2674d779f5453ea6b709a39618d4b8017ab2e3fb
2016-10-15 08:56:18 +00:00
mistachkin
8705f868e0
Add the SQLITE_FCNTL_WIN32_GET_HANDLE file control.
...
FossilOrigin-Name: 16039be3739b8d3b34a1e6093eaebb09e07f984b
2016-10-14 21:27:50 +00:00
dan
83465a662f
Fix a problem affecting queries that match the pattern (... WHERE ipk IN (....) ORDER BY ? LIMIT ?). Fix for [96c1454c].
...
FossilOrigin-Name: 8e2b25f9b8a7ed087d3cece74239814bee19429e
2016-10-12 14:48:00 +00:00
dan
90b2fe6b1e
When handling ORDER BY expressions, do not assume all values of an indexed expressions are distinct. Fix for [4766f444].
...
FossilOrigin-Name: aebe429e52ffef026cb0803fb164339d61bd2e88
2016-10-10 14:34:00 +00:00
drh
48590fcb37
Make sure indexes on expressions skip over initial NULL values in the
...
index. Fix for ticket [4baa464912129477f3c9]
FossilOrigin-Name: 71797ba431085f9ae381ed5ea6471967926f4043
2016-10-10 13:29:15 +00:00
dan
e5ec01c481
Update test/trace3.test to account for the fact that casting a pointer to a 64-bit signed integer might produce a negative value.
...
FossilOrigin-Name: 010ec22541a4c37f2d3b01b6a531b4b4264102b7
2016-10-08 16:10:29 +00:00
dan
4e59344a4c
Add a test case for the fix in [a596b7c6cc].
...
FossilOrigin-Name: b2ef39b11f7c46e69e53439680c32adbb18903bd
2016-10-05 15:04:35 +00:00
drh
e0251d44fa
Fix the backup_malloc.test script so that it works on Windows.
...
FossilOrigin-Name: d080012daaaa399663a0f767c792a2fff3e1037a
2016-10-05 01:33:57 +00:00
drh
a71c743aae
Allow deterministic functions in the WHERE clause of a partial index.
...
FossilOrigin-Name: c6e9b9421805c904b20900b711fa0e51773aef3e
2016-10-03 18:13:23 +00:00
drh
1dd518cfcd
Make sure the sqlite_sequence table is updated when an optional xfer
...
optimization is used. Fix for ticket [7b3328086a5c1].
FossilOrigin-Name: 81e4d4f897553f6fee540a38c3e83ceac5ba9b78
2016-10-03 02:59:33 +00:00
drh
2e34326555
Fix FTS3 test cases due to the flattener change of the previous check-in.
...
FossilOrigin-Name: 0c8b9b211f4285e2ab77cf5e0820088ef10e05c4
2016-09-27 00:03:25 +00:00
drh
8dd099bbaa
New test case for the ORDER BY LIMIT optimization.
...
FossilOrigin-Name: 9a5a489d0d344274d0fc9fb9303503a454f42844
2016-09-23 18:13:01 +00:00
drh
98ef26b0d4
Fix speedtest1.c so that it works with SQLITE_OMIT_DEPRECATED.
...
Add the --lean and --cachesize options to speed-check.sh.
FossilOrigin-Name: 7785b3a25778cc19861c01f4148f72e0f724f55d
2016-09-21 23:58:49 +00:00
dan
30f8c23657
Do not run vacuummem.test if ENABLE_MEMORY_MANAGEMENT is defined.
...
FossilOrigin-Name: 4a613d856433ac48e8ee0cd7f0e774e484e8acf6
2016-09-21 19:00:37 +00:00
drh
fb04a36c20
Fix obsolete requirements marks. Add new tests for VACUUM of attached
...
databases.
FossilOrigin-Name: 2b44f9aa7d4e2089dacd6bfcf526dae9309b7af3
2016-09-21 18:18:57 +00:00
dan
b6ea12cc05
Avoid running vacuum5.test in auto-vacuum mode.
...
FossilOrigin-Name: be184befa09ef0a670a2a6d9c037b9a27bcf16d8
2016-09-21 17:53:47 +00:00
dan
b390681622
Do not run test "delete_db.test" with either the journaltest or inmemoryjournal permutations. Ensure that the multiplexor tests in delete_db.test are performed in non-autovacuum mode.
...
FossilOrigin-Name: 46b7d19e0282ecd7622344aafad8c2feb83c9658
2016-09-21 17:47:59 +00:00
drh
09952c6490
Improved implementation of 64-bit signed integer multiply that correctly
...
detects overflow (and promotes to floating-point) in some corner cases.
Fix for ticket [1ec41379c9c1e400]
FossilOrigin-Name: db3ebd7c52cfc5fcc7be00f52e9d7c84719f7b93
2016-09-20 22:04:05 +00:00
drh
9a2e5169a4
Fix a segfault introduced by the row-value enhancement that comes up on
...
a skip-scan where the first term of the index is unconstrained and the
second term is of the form "columm IN (SELECT...)".
FossilOrigin-Name: 2401ea5acfeee8042489d1db38036ff86e8a6916
2016-09-19 11:00:42 +00:00
dan
edc3537c61
Fix a problem causing incorrect code to be generated for IN constraints like "a IN (1, 2, 3)" where column "a" is a rowid column with an extra UNIQUE index created on it. Ticket [0eab1ac759].
...
FossilOrigin-Name: a92aee5520cfaf85ae896365a7e42bdd981f828d
2016-09-16 16:30:57 +00:00
dan
ff02e200c0
Add missing "finish_test" command to vacuum5.test.
...
FossilOrigin-Name: 02f40c3b934ba79f2d45eae3781f2bea0c69c95f
2016-09-12 13:32:37 +00:00
dan
d562ec277c
Have releasetest.tcl delete all test files except for "testfixture", "testfixture.exe", "sqlite3", "sqlite3.exe", "test.log" and "test-out.txt" after each test run is finished. Passing the "--keep" option restores the old behaviour.
...
FossilOrigin-Name: e0e042dca98f29c060f76db079afecb3200ffae5
2016-09-12 09:28:21 +00:00
dan
9871664ed6
Add test code to delete an SQLite database and its auxiliary files.
...
FossilOrigin-Name: 8a9d128119fde36c175735be56876d30e5c8586f
2016-09-10 14:43:07 +00:00
dan
000f95b1ba
Add new file test_delete.c, containing test code for deleting an sqlite database.
...
FossilOrigin-Name: fb0b95e9405a3180d13c6318409af361e9df7632
2016-09-09 20:00:40 +00:00
drh
fe3765828a
In releasetest.tcl, the --srcdir option is automatic, so no need to mention
...
it in the --help output.
FossilOrigin-Name: 2bdd838e2c434f1d26b1836ef39fa938ef93131d
2016-09-09 13:23:36 +00:00
drh
2c33183d11
Fix an obsolete comment in the releasetest.tcl source code.
...
FossilOrigin-Name: afaaa276b256f56adf63cb568e486cb3315c3ec2
2016-09-09 13:17:26 +00:00
drh
eedeb92caa
In releasetest.tcl:
...
Improved testing for uncommitted changes. If uncommitted changes are seen,
exit immediately unless the --force option is used.
FossilOrigin-Name: 9a14e6c46cdda9f10151ee96a0540798573edcf2
2016-09-09 12:29:57 +00:00
drh
1fbd008cf4
Issue a warning and prompt the user to continue if the releasetest.tcl script
...
is run in a checkout with uncommitted changes.
FossilOrigin-Name: 30e917fff05b02ce2cb1f1c871d638200fbe5716
2016-09-08 23:12:08 +00:00
dan
26c8d0ca21
Fix a problem handling expressions like "(a, b) IN (SELECT ... ORDER BY 1, 2)" when there is an index on "a" but not "b".
...
FossilOrigin-Name: 7f2c5c9ee3628c968306a5ab2e5a9a761f1b8055
2016-09-07 19:37:20 +00:00
drh
af6f65fb26
Merge fixes from trunk.
...
FossilOrigin-Name: 193f036c87857bd77577ceb462af5034c7cc77da
2016-09-07 13:12:13 +00:00