dan
|
30c8629e67
|
Reapply commits [837d82a929] and [c05e7dca17] that were accidentally overwritten.
FossilOrigin-Name: 598de52700ba13e3228289220a74fc62073c62d4
|
2010-04-30 16:24:46 +00:00 |
|
drh
|
49156b2b5e
|
Correctly record the fact that the SHM lock reached PENDING if it did so
but failed to reach CHECKPOINT.
FossilOrigin-Name: d9250e84ac1fc6590f8670e1d801630650c7846a
|
2010-04-30 16:12:04 +00:00 |
|
dan
|
a7ad518ef0
|
When closing a WAL connection, attempt an exclusive lock on the database file. If the lock is obtained, checkpoint the database and delete the wal and wal-index files.
FossilOrigin-Name: c05e7dca172719f33e245c08d0c0e8ab47e5a537
|
2010-04-30 15:49:27 +00:00 |
|
dan
|
6045461eee
|
If a reader attempts to upgrade to a writer, but is not reading the most recent database snapshot, return SQLITE_BUSY.
FossilOrigin-Name: 837d82a92977cbfa0963411daf8160d286a7ed32
|
2010-04-30 15:24:43 +00:00 |
|
drh
|
5530b764a8
|
Separate the concepts of underlying storage size and mapped size in the
VFS shared-memory implementation.
FossilOrigin-Name: 4cbe49f13fed288f94ff305bcfd99df907bf7baf
|
2010-04-30 14:39:50 +00:00 |
|
dan
|
87bfb51ef8
|
Add a missing walIndexUnmap() call to the checkpoint code. Change a couple of SQLITE_CANTOPEN constants to SQLITE_CANTOPEN_BKPT.
FossilOrigin-Name: 1f9e8c5c27ae2c68bc01d8e2bb2c662be7b3f161
|
2010-04-30 11:43:28 +00:00 |
|
dan
|
1bc6171c23
|
Fix an assert() in sqlite3WalRead().
FossilOrigin-Name: 2e7a0050e192dd197d4db92393ab120897c14836
|
2010-04-30 10:24:54 +00:00 |
|
dan
|
4c97b53425
|
Fix a couple of assert() statements in os_unix.c and wal.c. Combine sqlite3WalIsDirty() with sqlite3WalUndo().
FossilOrigin-Name: a8f958be804ee05c4137b3cd110db344713af5f2
|
2010-04-30 09:52:17 +00:00 |
|
dan
|
ba51590bcd
|
Add a missing walIndexUnmap() to sqlite3WalSnapshotOpen().
FossilOrigin-Name: 72b95fde15dae56390dc8d4168fb2757447e289e
|
2010-04-30 09:32:06 +00:00 |
|
drh
|
79e6c78ccc
|
The first 6 WAL tests now work. It's a start.
FossilOrigin-Name: a92c1851da10acf51e7f6f086b8a23bd731940b3
|
2010-04-30 02:13:26 +00:00 |
|
drh
|
7ed91f2344
|
Refactor wal.c to use the VFS. This check-in compiles and links and works
ok as long as you leave WAL turned off, but WAL does not work.
FossilOrigin-Name: 62db5fa3b61be885b2d94e9b9ce3877b2c588350
|
2010-04-29 22:34:07 +00:00 |
|
dan
|
31c03907fd
|
Fix a but in the WAL checkpoint code causing SQLite to use an inconsistent cache in a subsequent transaction.
FossilOrigin-Name: d1cadeed4eea20d8892726cc8c69f4f3f57d0cd4
|
2010-04-29 14:51:33 +00:00 |
|
dan
|
5e0ce87a3f
|
Change walthread.test so that tests can be run with either multiple threads or multiple processes.
FossilOrigin-Name: 25f85f68723e56c18e44b094d85f67b99912dc86
|
2010-04-28 17:48:44 +00:00 |
|
dan
|
4b64c1e365
|
Merge two "wal" leaves.
FossilOrigin-Name: 8c2d43babd61fe2225d5c402174253f412604092
|
2010-04-27 18:49:54 +00:00 |
|
dan
|
31f98fc8e4
|
Fix a problem that occurs when one process causes the log-summary file to grow and then a second process attempts to read the database.
FossilOrigin-Name: b51a5f8bc660616aa264025dd7ad4bdab458814b
|
2010-04-27 05:42:32 +00:00 |
|
dan
|
4cd78b4d89
|
Fixes for problems with small caches and SAVEPOINT rollback in WAL mode.
FossilOrigin-Name: 6a944f028d4a070bef29e1fbc6fbef481ebcd34c
|
2010-04-26 16:57:10 +00:00 |
|
dan
|
cd11fb28c3
|
Add mutexes to fix a race condition in wal.c. This isn't a very good fix.
FossilOrigin-Name: 3d159939cc2beb18c4ca0c8e9a99a75d4107e6e4
|
2010-04-26 10:40:52 +00:00 |
|
drh
|
c438efd68a
|
Change the names of the log.c and log.h source files to wal.c and wal.h.
FossilOrigin-Name: 56fe5d7624f840417152bcc63efbe21a5f557920
|
2010-04-26 00:19:45 +00:00 |
|