drh
b1c6995c58
Fix a test case in temptable2.test so that it works on systems that
...
lack a coherient cache (ex: OpenBSD) and thus do not support the
"PRAGMA mmap_size" command.
FossilOrigin-Name: 088cf83872f6477c3b297c58d6f8a5def7025daf
2016-05-02 16:59:49 +00:00
drh
57a07ba9a9
Disable the multi-row one-pass DELETE optimization when the WHERE clause
...
contains a subquery. Fix for ticket [dc6ebeda9396087].
FossilOrigin-Name: 3f221f592a9a19009076e568566c59801cd3fc32
2016-05-02 12:18:56 +00:00
dan
40cf36ff17
Change the way tester.tcl handes $argv so that in "permutations.test <permutation> <filename>" <filename> may be the name of any file in the test/ directory.
...
FossilOrigin-Name: 820c57bb24ad3d8663ca512e4022268b940bb2ee
2016-04-30 19:23:10 +00:00
dan
4a030c6430
Fix test script temptable2.test so that it works with the "inmemory_journal" and "journaltest" permutations.
...
FossilOrigin-Name: b7bec7f2d3d08d0c14f77654be2c5cedf1619e58
2016-04-29 14:12:48 +00:00
dan
20ae3264b8
Merge latest trunk changes, including test case fixes, with this branch.
...
FossilOrigin-Name: 99794aca7b6cb40f08ce4db9889a989fc597eac9
2016-04-29 11:35:28 +00:00
dan
14cee38be8
Avoid running sessionfault.test and sessionfault2.test as part of the "inmemory_journal" permutation.
...
FossilOrigin-Name: 5973d3bf2e5aa979ccc9a4a3a0eb08b67098b499
2016-04-28 14:54:54 +00:00
dan
3104c4d6f4
Ensure that quota.test deletes the directory named "test.db" that it creates.
...
FossilOrigin-Name: 045edd4b17c6b76079ac90773c035d8c1f8d525d
2016-04-28 09:53:14 +00:00
dan
05accd2216
Modify the permutations.test script so as to set any permutation specific configuration values before running each individual test script.
...
FossilOrigin-Name: 2662d8fef791f7b8b3b14f9c27dfedec84620dee
2016-04-27 18:54:49 +00:00
dan
9bf0136384
Fix a couple of test script problems on this branch. Both related to the fact that temp database page sizes can no longer be changed by VACUUM or the backup API after the temp db is populated.
...
FossilOrigin-Name: 6bb5aa2be2a6c5ca66a98a9387b2845507a6bdd2
2016-04-27 11:24:42 +00:00
dan
45164826b7
Fix an issue in temptable2.test preventing it from working with SQLITE_DEFAULT_AUTOVACUUM=1 builds.
...
FossilOrigin-Name: e790aac02e4b427b4891b514a050699d159b03b1
2016-04-26 17:10:03 +00:00
drh
dc7adf20bb
Merge bug fix from trunk.
...
FossilOrigin-Name: a905d5e08de3f3c60b667d840b5995911372647d
2016-04-25 15:03:49 +00:00
drh
b1ec87afdb
When checking for the WHERE-clause push-down optimization, verify that
...
all terms of the compound inner SELECT are non-aggregate, not just the
last term. Fix for ticket [f7f8c97e97597].
FossilOrigin-Name: ec215f94ac9748c0acd82af0cc9e7a92249462f9
2016-04-25 02:20:10 +00:00
dan
2d36f065e2
Fix a problem with mixing temp-files and mmap-mode.
...
FossilOrigin-Name: c80c5c62b2e2c5e47e0839f8e2d5b6341ca4a249
2016-04-23 17:24:16 +00:00
dan
6572c16ae1
Fix some problems to do with temp-file databases and recovering from IO and SQLITE_FULL errors.
...
FossilOrigin-Name: 3d61da4a76af8c9c2a293df085f3ed5a7bb447df
2016-04-23 14:55:28 +00:00
drh
518aca114f
Merge updates from trunk.
...
FossilOrigin-Name: cc28106e5c196c0a9678fbbd06f6afd49271a8e8
2016-04-21 15:03:37 +00:00
drh
f602a16123
Test cases for SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION.
...
FossilOrigin-Name: debafa5efd37ac60e030d0963ce8e7c4f51a0f10
2016-04-21 01:58:21 +00:00
drh
a6dddd9bde
Remove quotes from identifiers used as datatype names in a CREATE TABLE
...
statement. Fix for ticket [7d7525cb01b68]
FossilOrigin-Name: eba27d4d17a76884292667d570d542e580ee3e77
2016-04-18 15:46:14 +00:00
drh
2c03652b45
Merge recent trunk changes.
...
FossilOrigin-Name: d9768de502e34da42f3ad955947c23da50f57bce
2016-04-18 13:36:17 +00:00
dan
fc26f7cfed
Correctly interpret negative "PRAGMA cache_size" values when determining the cache-size used for sorting large amounts of data (i.e. the functionality in vdbesort.c).
...
FossilOrigin-Name: 79147dca87cfd7eb62d57baa3b70fa2a8542232a
2016-04-14 15:44:37 +00:00
drh
8ca7b177bb
Merge enhancements from trunk.
...
FossilOrigin-Name: e2edd34e79af906e7069e3e837730b12de0b73fe
2016-04-13 16:02:28 +00:00
drh
4926fec967
Add the --indent option to the .schema and .fullschema commands in the shell,
...
to enable simple but effective pretty-printing.
FossilOrigin-Name: 83cfe82cd6d31ec0a6193525fd92e63a2a43b142
2016-04-13 15:33:42 +00:00
drh
741c2772db
Fix speedtest1 so that it automatically unlinks its test database prior
...
to startup.
FossilOrigin-Name: b65b69f6b686c6555876b6fc701da95cc49120b5
2016-04-12 17:13:33 +00:00
drh
2160ca5f8d
Add the --temp option to the speedtest1.c performance test program.
...
FossilOrigin-Name: 8053a6e2bf616fc9326f0323962176e318d7d2a5
2016-04-12 16:59:39 +00:00
drh
8a878f239c
Merge enhancements from trunk.
...
FossilOrigin-Name: 9682c0433c04713c28bd9105a7e20af7372f873e
2016-04-12 16:10:10 +00:00
dan
745be369c7
Update the documentation for sqlite3_snapshot_cmp() to make the circumstances under which the comparison is valid clearer. Add tests for the same.
...
FossilOrigin-Name: 8fc834741bf6c8a832a180795c3d6f5c3dcfcd62
2016-04-12 15:14:25 +00:00
dan
ad2d5baf1f
Add the sqlite3_snapshot_cmp() API.
...
FossilOrigin-Name: c698a21af740ca1019c3a771fb83e569cd6bf23e
2016-04-11 19:59:52 +00:00
dan
0e55da2ef8
Fix a typo in temptable2.test.
...
FossilOrigin-Name: 04b1890fbc19eb3fa935083c1664fbbfb67dad93
2016-04-11 19:24:56 +00:00
dan
b5a2592a9e
Add tests for wal mode to temptable2.test.
...
FossilOrigin-Name: c6d0d441a1ab4873caedf2f23543444cea5d7f5a
2016-04-11 19:23:36 +00:00
dan
b9f11f932d
Add extra tests to temptable2.test.
...
FossilOrigin-Name: 7dd9d4c15bb6b6ef9127dc7c80a189c55e714dc9
2016-04-11 18:49:37 +00:00
dan
67330a1224
Fixes for OOM and IO error handling with temp file databases.
...
FossilOrigin-Name: 4eb06e843af60d5e533793618c6e0e9b7ef7a1a6
2016-04-11 18:07:47 +00:00
dan
7082371de7
Update this branch with the latest changes from the trunk.
...
FossilOrigin-Name: 982b753d0b6a3ed9fba33ed41523b2cd42280276
2016-04-11 09:39:25 +00:00
drh
ba26faa33f
Fix a problem in the code generator for joins on virtual tables where the
...
outer loop of the join uses the IN operator.
FossilOrigin-Name: 6c56b3a04778bc62ca50307ad838dd301cd91ac2
2016-04-09 18:04:28 +00:00
drh
bfc7a8bb01
Fix the sqlite3BtreeDelete() routine so that it preserves the correct
...
key even when the row being deleted is not on a leaf page.
Fix for ticket [a306e56ff68b8fa56]
FossilOrigin-Name: ca2ef8a86cf806cbbcc64db03251b1df5b2c5501
2016-04-09 17:04:05 +00:00
drh
dca595c4a3
Add test cases for ticket [7f7f8026eda387d544].
...
FossilOrigin-Name: 87aa9357fbe6749bae60e30af54ca16e48678802
2016-04-07 21:14:35 +00:00
dan
9131ab9386
For a pager backed by a temp file, store the main journal in memory until it is at least sqlite3_config.nStmtSpill bytes in size. Prevent the backup API from being used to change the page-size of a temp file.
...
FossilOrigin-Name: 84c557010c211595d2ec80b62c63af1c7f4714bd
2016-04-06 18:20:51 +00:00
dan
7f8def285e
Fix a problem in test script lock.test. Fix minor issues in pager.c.
...
FossilOrigin-Name: 84de8813c3b4007e3c7c3a286ce13020f2065c7b
2016-04-06 16:27:50 +00:00
dan
d87efd7221
Add tests to this branch. Fix a problem with temporary databases in auto-vacuum mode.
...
FossilOrigin-Name: afe9bd9b4b5dc98dccf1bced80567515ab5c0117
2016-04-06 15:39:03 +00:00
dan
41113b6429
Defer opening the file used for the temp database (where CREATE TEMP TABLE tables are stored) until the database is too large to reside entirely within the cache. There are likely still problems on this branch.
...
FossilOrigin-Name: be5a549eba6cf8e29cb6b9824fd6d0db9d03ca7f
2016-04-05 21:07:58 +00:00
drh
ed06a131da
Carry table column types through into VIEW definitions, where possible.
...
FossilOrigin-Name: fb555c3c2af7f5e62ff839658f4fba7b645d3a68
2016-04-05 20:59:12 +00:00
mistachkin
48dcf2b60b
Improve error messages from the 'shell1-5.0' test.
...
FossilOrigin-Name: cefd36ff7b7f142bcebdb16b4d24ae274cdf2709
2016-04-04 17:59:37 +00:00
drh
bdeb125741
Improved handling of UTF8 by the command-line shell.
...
FossilOrigin-Name: 4534ebf15fbcd6fe2028957b7aa591b6cd5da95f
2016-04-04 17:34:54 +00:00
dan
455684a036
Test that the view name is passed to the authorization callback when a SELECT statement is run on a view.
...
FossilOrigin-Name: 8627a4cd6d64bd076b56c1e8ccc3b1dfc1b4c07d
2016-04-04 16:40:44 +00:00
mistachkin
49e1125b69
Add and enhance the new tests.
...
FossilOrigin-Name: f4cbd18db47af4af990d7891dcc831e92b3f17e0
2016-04-04 15:47:46 +00:00
mistachkin
1810f22809
Refinements to the previous check-in.
...
FossilOrigin-Name: b36dfdff787dc4a107b2c3fcbb98bfc4922872d8
2016-04-04 02:33:34 +00:00
mistachkin
1fe36bb8a8
Experimental changes to the command line shell to make it work better with Unicode on Windows.
...
FossilOrigin-Name: 74183a5f803999e1d4e288851c72519c3c53f6b5
2016-04-04 02:16:44 +00:00
drh
838083975a
Incorporate the sessions extension and the
...
SQLITE_ENABLE_PREUPDATE_HOOK compile-time option.
FossilOrigin-Name: 4af7a90f980ade3566fc5da2f0db2669ac7d8256
2016-03-30 13:43:09 +00:00
drh
fbcd3130f6
Improvements to the performance testing program "speedtest1.c" and the
...
shell script that invokes it.
FossilOrigin-Name: e4bee561fdead5d35c24da3fe8a11bf6548550c6
2016-03-30 12:20:24 +00:00
drh
799b8372d1
Merge changes for 3.12.0.
...
FossilOrigin-Name: ed22eb653f2809446ace6a27e7ea3926ac6db30c
2016-03-29 10:19:29 +00:00
drh
60c4249fcc
More changes to the shellN.test scripts to get them working on all variations
...
of Windows.
FossilOrigin-Name: 8213c2f58167243411d29cc58e303b4be656f756
2016-03-26 15:36:36 +00:00
drh
eaa544d44d
Remove the catchcmd_collapse_space procedure in tester.tcl - no longer needed.
...
FossilOrigin-Name: 3bd499d3bdf4e80f83513966c2ee9dd11e67cbd1
2016-03-26 14:41:13 +00:00