drh
e5c66e42db
Update test case for opening SHM files read/write on a read-only connection
...
so that they are only attempted on Darwin with SQLITE_ENABLE_PRESIST_WAL.
FossilOrigin-Name: d6a7bf80cfb0cdca2bd684adfaba2c3e8053f8a4
2016-11-26 20:12:40 +00:00
dan
cf178fc37e
When opening the *-shm file for a readonly database, try to open it in read-write mode before falling back to readonly. This is in case some other read/write connection within the same process uses the same file descriptor.
...
FossilOrigin-Name: a07c581e88aa4d9835f6144c0fd5e58ef42f14ac
2016-11-17 14:02:50 +00:00
drh
2a73755f4e
Merge updates from trunk - FTS5 fixes and enhancemenets to the tests scripts
...
so that they work with SEE.
FossilOrigin-Name: f41a7361a1c59d0d681f2a81c2f70c1a9bbf7aee
2016-03-15 12:45:43 +00:00
drh
7da56b4f65
Many more test cases fixed. Only a few remain.
...
FossilOrigin-Name: 99b9d7eef68fd6d5c9eecb5fbe3dfe002c1ca4a8
2016-03-14 18:34:42 +00:00
drh
b9f41b4fd1
Initial attempt to merge in all trunk changes over the previous 1.5 years.
...
This check-in compiles but there are compiler warnings and "make test"
segfaults after only running a few test modules.
FossilOrigin-Name: 9411d7dc6fbee689730c6f74736341bccd333d9e
2014-05-08 23:01:59 +00:00
dan
98c91905c9
Close some stray connections in walro.test.
...
FossilOrigin-Name: d6746cabaa22429644c956a4b5fd91896376de2d
2014-02-24 19:49:36 +00:00
drh
5822d6feb2
Fix test cases for the new EXPLAIN QUERY PLAN format. Add the
...
wherecosttest tool. Other fixes to logarithm cost.
FossilOrigin-Name: aa580e368e3c398b8377b80342dfdd906324c248
2013-06-10 23:30:09 +00:00
drh
78fffbf2c2
Merge all the latest trunk changes into the apple-osx branch.
...
FossilOrigin-Name: 6723add4f492c30b20db8de6ed818c191dedea40
2012-08-25 01:38:39 +00:00
dan
81f0740e59
Do not run test script spellfix.test if SQLITE_OMIT_VIRTUAL_TABLE is defined. Fix walro.test so that it works if DEFAULT_AUTOVACUUM is defined.
...
FossilOrigin-Name: 26428b459b45d0fa9fcad7eb5e58bd60b04a0f83
2012-08-07 14:18:18 +00:00
drh
3314d12e03
Cherrypick [8c9ee1d78f] and [e416359633] from trunk:
...
Ensure that there is always at least one aReadMark slot usable by an unprivileged reader while a checkpoint is running. Also, if one or more transactions are recovered from a log file, initialize one of the aReadMark slots to contain mxFrame as part of the recovery process.
FossilOrigin-Name: 65035912264e3acbced5a3e16793327f0a2f17bb
2012-07-17 17:46:21 +00:00
dan
5373b76bdc
Ensure that there is always at least one aReadMark slot usable by an unprivileged reader while a checkpoint is running. Also, if one or more transactions are recovered from a log file, initialize one of the aReadMark slots to contain mxFrame as part of the recovery process.
...
FossilOrigin-Name: e4163596339c2166f9c4356ab824fff8bda8d0b0
2012-07-17 14:37:12 +00:00
adam
02d2493753
Added support for SQLITE_ENABLE_PERSIST_WAL compile time macro, retrieving lastErrno from WAL file and setting last errno when writes fail due to space constraints
...
FossilOrigin-Name: 654792941011c96db879f6b779e99b1c65c587af
2012-05-09 22:36:25 +00:00
adam
0cb33b650c
Merge in latest changes, autologging options, read only file system wal support, test config conditionalization, WAL frame write prebuffering
...
FossilOrigin-Name: d51c086e5c006821e2ab932f229649a729d914b2
2012-04-02 23:35:45 +00:00
drh
aa09d0503d
Simplify the readonly_shm implementation so that it conforms to the
...
implementation on trunk. Update the test cases to agree with the new
behavior.
FossilOrigin-Name: 9efb74cefb2b7444112e16f3da48d5645746fdfa
2011-10-11 18:38:13 +00:00
drh
3ec4a0c1a5
Change the behavior of the readonly_shm=1 query parameter so that it never
...
attempts to open the -shm file read/write.
FossilOrigin-Name: f1364004836078378e4005ab3eb9c0a04e3d4ce7
2011-10-11 18:18:54 +00:00
drh
0d92f761ed
Merge the latest trunk changes into the apple-osx branch.
...
FossilOrigin-Name: 7e2c4898224f9fabf724a6d4e1ac597845a66f73
2011-10-11 14:19:38 +00:00
dan
5209132a48
Fix some test files so that they work with SQLITE_OMIT_WAL builds.
...
FossilOrigin-Name: a38668dcff0a4d241d959ea19330ad43295d757d
2011-09-24 05:55:36 +00:00
adam
2e4491d4b1
Merging local changes to apple-osx
...
FossilOrigin-Name: 34f0efa2b12e8eb09331768b1524a076baeb34ea
2011-06-24 20:47:06 +00:00
shaneh
05fd9aab10
Update walro.test script for Windows.
...
FossilOrigin-Name: d6443f8eb30fc3e91e1ad92e2adb595ccf121880
2011-06-17 15:55:32 +00:00
dan
3640db58d0
Merge latest trunk changes. Add a couple of readonly shm tests.
...
FossilOrigin-Name: cde45a033ee6834900f5f5c272c383408883a74c
2011-05-11 15:53:16 +00:00
dan
b6d2f9c5ef
Only open a read-only connection to shared-memory if the "readonly_shm=1" option is specified as part of the database file URI (and if a read-write connection fails).
...
FossilOrigin-Name: 671ba5fc59f7a958e5a4138d2425b1173a442ad7
2011-05-11 14:57:33 +00:00
dan
4edc6bf3ee
Add experimental support for read-only connections to WAL databases.
...
FossilOrigin-Name: bb59f9862da45d25fb51d7821130854828c91c98
2011-05-10 17:31:29 +00:00