]>
git.ipfire.org Git - thirdparty/sqlite.git/log
dan [Fri, 30 Apr 2010 16:24:46 +0000 (16:24 +0000)]
Reapply commits [
837d82a929 ] and [
c05e7dca17 ] that were accidentally overwritten.
FossilOrigin-Name:
598de52700ba13e3228289220a74fc62073c62d4
dan [Fri, 30 Apr 2010 16:19:39 +0000 (16:19 +0000)]
Add xShmXXX() methods to the test VFS in test_devsym.test.
FossilOrigin-Name:
1d20342424b452ea96aaf161de1f98f26a9155a0
drh [Fri, 30 Apr 2010 16:12:04 +0000 (16:12 +0000)]
Correctly record the fact that the SHM lock reached PENDING if it did so
but failed to reach CHECKPOINT.
FossilOrigin-Name:
d9250e84ac1fc6590f8670e1d801630650c7846a
drh [Fri, 30 Apr 2010 15:54:46 +0000 (15:54 +0000)]
Fix a couple uninitialized variables in the xShmLock method of the unix VFS.
Improved debugging logic for xShmLock.
FossilOrigin-Name:
69567c5fca9e30b7660e6f56350be929c3890d7e
dan [Fri, 30 Apr 2010 15:49:27 +0000 (15:49 +0000)]
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
dan [Fri, 30 Apr 2010 15:24:43 +0000 (15:24 +0000)]
If a reader attempts to upgrade to a writer, but is not reading the most recent database snapshot, return SQLITE_BUSY.
FossilOrigin-Name:
837d82a92977cbfa0963411daf8160d286a7ed32
drh [Fri, 30 Apr 2010 14:39:50 +0000 (14:39 +0000)]
Separate the concepts of underlying storage size and mapped size in the
VFS shared-memory implementation.
FossilOrigin-Name:
4cbe49f13fed288f94ff305bcfd99df907bf7baf
dan [Fri, 30 Apr 2010 11:43:28 +0000 (11:43 +0000)]
Add a missing walIndexUnmap() call to the checkpoint code. Change a couple of SQLITE_CANTOPEN constants to SQLITE_CANTOPEN_BKPT.
FossilOrigin-Name:
1f9e8c5c27ae2c68bc01d8e2bb2c662be7b3f161
dan [Fri, 30 Apr 2010 10:24:54 +0000 (10:24 +0000)]
Fix an assert() in sqlite3WalRead().
FossilOrigin-Name:
2e7a0050e192dd197d4db92393ab120897c14836
dan [Fri, 30 Apr 2010 10:06:09 +0000 (10:06 +0000)]
Add missing mutexes to unixShmClose().
FossilOrigin-Name:
a4741cb54dd5e753d48fd05ac9dbe27ee4aa1ec0
dan [Fri, 30 Apr 2010 09:52:17 +0000 (09:52 +0000)]
Fix a couple of assert() statements in os_unix.c and wal.c. Combine sqlite3WalIsDirty() with sqlite3WalUndo().
FossilOrigin-Name:
a8f958be804ee05c4137b3cd110db344713af5f2
dan [Fri, 30 Apr 2010 09:32:06 +0000 (09:32 +0000)]
Add a missing walIndexUnmap() to sqlite3WalSnapshotOpen().
FossilOrigin-Name:
72b95fde15dae56390dc8d4168fb2757447e289e
dan [Fri, 30 Apr 2010 06:02:30 +0000 (06:02 +0000)]
Merge latest bugfix into wal branch.
FossilOrigin-Name:
265e66e6984c32999bf93981e3b1d19887dfe599
drh [Fri, 30 Apr 2010 02:13:26 +0000 (02:13 +0000)]
The first 6 WAL tests now work. It's a start.
FossilOrigin-Name:
a92c1851da10acf51e7f6f086b8a23bd731940b3
dan [Thu, 29 Apr 2010 22:57:56 +0000 (22:57 +0000)]
Zero the "immediate FK constraint counter" associated with a statement object when sqlite3_reset() is called. Fix for [
c39ff61c43 ].
FossilOrigin-Name:
f660be615a0c1f4641782a83744533f5d3119218
drh [Thu, 29 Apr 2010 22:34:07 +0000 (22:34 +0000)]
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
drh [Thu, 29 Apr 2010 16:40:51 +0000 (16:40 +0000)]
Untested implementation of the shared-memory dead-man-switch.
FossilOrigin-Name:
706611283ea2575c2942543391026b36061cfc1c
drh [Thu, 29 Apr 2010 15:17:48 +0000 (15:17 +0000)]
Progress towards a VFS that will support WAL. Locking code is in place
but is untested. Still no support for the DMS.
FossilOrigin-Name:
1bde41cf081570ad257f927b641e752dff4ed014
dan [Thu, 29 Apr 2010 14:58:53 +0000 (14:58 +0000)]
Close all open database connections at the end of wal.test.
FossilOrigin-Name:
3cc55a7568daa3796483f632e33478969e381cf5
dan [Thu, 29 Apr 2010 14:51:33 +0000 (14:51 +0000)]
Fix a but in the WAL checkpoint code causing SQLite to use an inconsistent cache in a subsequent transaction.
FossilOrigin-Name:
d1cadeed4eea20d8892726cc8c69f4f3f57d0cd4
dan [Thu, 29 Apr 2010 08:47:28 +0000 (08:47 +0000)]
Add tests to walthread.test.
FossilOrigin-Name:
9e891e7543ea4d7dee76deb2456af940f4cac49b
dan [Wed, 28 Apr 2010 18:17:23 +0000 (18:17 +0000)]
Add a test to walthread.test for changing between WAL and rollback modes.
FossilOrigin-Name:
da229e44bd4a5d512261da05958d560808c9889f
dan [Wed, 28 Apr 2010 17:49:57 +0000 (17:49 +0000)]
Merge two "wal"
leaves.
FossilOrigin-Name:
13d2d5a66e9eaa81aa6314354201ee1fbd2b3824
dan [Wed, 28 Apr 2010 17:48:44 +0000 (17:48 +0000)]
Change walthread.test so that tests can be run with either multiple threads or multiple processes.
FossilOrigin-Name:
25f85f68723e56c18e44b094d85f67b99912dc86
drh [Wed, 28 Apr 2010 17:21:33 +0000 (17:21 +0000)]
Changes to the interface design for the xShmLock method of the VFS.
FossilOrigin-Name:
348409de26eafe12f5cb1236e8e167a4183d4051
drh [Wed, 28 Apr 2010 14:42:19 +0000 (14:42 +0000)]
Rename the sqlite3_log_hook() to sqlite3_wal_hook(). Added comments to
wal.h.
FossilOrigin-Name:
bbc385111b19071e20fe963fab814262c815b3e9
dan [Tue, 27 Apr 2010 18:49:54 +0000 (18:49 +0000)]
Merge two "wal" leaves.
FossilOrigin-Name:
8c2d43babd61fe2225d5c402174253f412604092
dan [Tue, 27 Apr 2010 18:43:16 +0000 (18:43 +0000)]
Add a test to check that a checkpointer releases its locks before returning, even if it has been prevented by a conflicting lock from checkpointing the database.
Add a test to check that a checkpointer releases its locks before returning, even if it has been prevented by a conflicting lock from checkpointing the database.
FossilOrigin-Name:
be44349d2b790fb470fcc9fb6a12e8b1076dc645
dan [Tue, 27 Apr 2010 14:37:47 +0000 (14:37 +0000)]
Fix a problem with identifying a corrupt database in WAL mode.
FossilOrigin-Name:
c8658da44671e9c43c90ee4857bbe82c55d40f25
drh [Tue, 27 Apr 2010 11:49:27 +0000 (11:49 +0000)]
Add the xShmRelease() method to the VFS. The os_unix.c implementation of
the shared memory logic is still non-functional.
FossilOrigin-Name:
ed715b47c5f7657fbf901805981867898054b14d
dan [Tue, 27 Apr 2010 06:49:34 +0000 (06:49 +0000)]
Run trans.test and avtrans.test as part of the "wal" permutation.
FossilOrigin-Name:
c8893310510148f7e71ede5691606b6fc1c3df4d
dan [Tue, 27 Apr 2010 05:42:32 +0000 (05:42 +0000)]
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
drh [Tue, 27 Apr 2010 01:56:21 +0000 (01:56 +0000)]
Merge in recent changes from the trunk
FossilOrigin-Name:
7a0ac682c3bffcb345321fe97434563350ac90f9
drh [Mon, 26 Apr 2010 19:17:26 +0000 (19:17 +0000)]
Optimization: Convert an ORDER BY clause into a no-op if the query also
contains a GROUP BY clause that will force the same output order.
FossilOrigin-Name:
ca9d86baf70f210d331ce93102177c8005c494cb
dan [Mon, 26 Apr 2010 17:42:56 +0000 (17:42 +0000)]
Do not attempt to set journal_mode=wal on :memory: or temp file databases.
FossilOrigin-Name:
30d0134454734fd9335896372c30a903e9adcc64
drh [Mon, 26 Apr 2010 17:36:35 +0000 (17:36 +0000)]
Change the default_cache_size pragma to always store a positive value.
FossilOrigin-Name:
36fb2cae75b5dfe1fe818895f03c0b4f4190a722
drh [Mon, 26 Apr 2010 17:30:52 +0000 (17:30 +0000)]
Identify the SQLite version meta-value entry in the db-header output of
showdb.
FossilOrigin-Name:
245d934b72cbc6e897193e7892195b6561995939
dan [Mon, 26 Apr 2010 16:57:10 +0000 (16:57 +0000)]
Fixes for problems with small caches and SAVEPOINT rollback in WAL mode.
FossilOrigin-Name:
6a944f028d4a070bef29e1fbc6fbef481ebcd34c
drh [Mon, 26 Apr 2010 16:47:12 +0000 (16:47 +0000)]
Further enhancements to the showdb utility: A page number followed by "b"
causes a btree decoding to occur on the page.
FossilOrigin-Name:
2ff824e58ce8b8f605c809ac960dcbfc51c30e30
drh [Mon, 26 Apr 2010 15:44:07 +0000 (15:44 +0000)]
Enhancements to the showdb.c utility program. Automatically detect the
page size and adjust the display accordingly. Add the "dbheader" display
option.
FossilOrigin-Name:
23eb408b5d08b89b41aaf245a7be8e235f30af8a
dan [Mon, 26 Apr 2010 12:39:03 +0000 (12:39 +0000)]
Add the "wal" permutation to run existing test files savepoint.test and savepoint2.test in WAL mode.
FossilOrigin-Name:
205e5d8ac08f7d7853427b4cd235fca125155d2d
dan [Mon, 26 Apr 2010 10:40:52 +0000 (10:40 +0000)]
Add mutexes to fix a race condition in wal.c. This isn't a very good fix.
FossilOrigin-Name:
3d159939cc2beb18c4ca0c8e9a99a75d4107e6e4
drh [Mon, 26 Apr 2010 00:19:45 +0000 (00:19 +0000)]
Change the names of the log.c and log.h source files to wal.c and wal.h.
FossilOrigin-Name:
56fe5d7624f840417152bcc63efbe21a5f557920
drh [Mon, 26 Apr 2010 00:04:55 +0000 (00:04 +0000)]
Begin moving WAL-specific I/O into the VFS. This checkin contains VFS
infrastructure but it is untested and is not yet hooked up to the WAL.
The version number is bumped to 3.7.0 because of the VFS extension.
FossilOrigin-Name:
f5e615c28c7035a7e6d896790b51cf9bc7371d5f
drh [Sun, 25 Apr 2010 20:58:37 +0000 (20:58 +0000)]
Remove an unreachable branch from the function initialization logic.
FossilOrigin-Name:
064d3ddd6199b7b049b1706974e4295f78fb5ab9
dan [Sat, 24 Apr 2010 19:07:29 +0000 (19:07 +0000)]
Add comment explaining checksum mechanism.
FossilOrigin-Name:
3e9ef5153ebf0543ad0f75a7561f73d22171da53
dan [Sat, 24 Apr 2010 18:44:05 +0000 (18:44 +0000)]
Fix bugs in WAL mode rollback.
FossilOrigin-Name:
31215969f59be536fe87431bb9fbfa7d13027e35
dan [Sat, 24 Apr 2010 14:33:08 +0000 (14:33 +0000)]
drh [Sat, 24 Apr 2010 14:02:59 +0000 (14:02 +0000)]
When commands such as ALTER TABLE and VACUUM use SQL internally, make sure
they use only the built-in functions and not application-defined overrides
for those functions.
FossilOrigin-Name:
0291ed974d5bf1e344e2c38422530cc961b897da
dan [Sat, 24 Apr 2010 04:53:15 +0000 (04:53 +0000)]
dan [Sat, 24 Apr 2010 04:49:15 +0000 (04:49 +0000)]
Reserve some space at the start of the log-summary file to apply locks to.
FossilOrigin-Name:
a031aa1fa01f062b087154833738f011f7bc4eb5
dan [Fri, 23 Apr 2010 19:15:00 +0000 (19:15 +0000)]
Fixes and tests for backup of a WAL database.
FossilOrigin-Name:
480d12db4c0ebcc37598f7620d39193875eab15b
shaneh [Fri, 23 Apr 2010 14:29:04 +0000 (14:29 +0000)]
Merge of notify.c changes from experimental.
Reset stored blocking connection when registered unlock_notify callback is cleared.
FossilOrigin-Name:
e79dac3c2f723ed7cc62fcef468f53952711f242
dan [Fri, 23 Apr 2010 11:44:40 +0000 (11:44 +0000)]
Add very simple test cases for backup and VACUUM of WAL databases. More to come.
FossilOrigin-Name:
1077d8130b8ed5716ad73f78382270909d347963
dan [Thu, 22 Apr 2010 19:14:13 +0000 (19:14 +0000)]
Create a version of the log checksummer that works on big-endian platforms. Remove the 512KB size limit on the log-summary.
FossilOrigin-Name:
5d6d4423d1def39bd2424703120aa985085c3f8e
dan [Thu, 22 Apr 2010 06:27:04 +0000 (06:27 +0000)]
Further tests and changes related to switching between WAL and rollback modes.
FossilOrigin-Name:
1236318477787a612f02cc98caf2931bd2e99d94
dan [Wed, 21 Apr 2010 18:37:57 +0000 (18:37 +0000)]
Tests for (and changes to) the code to switch between WAL and rollback modes.
FossilOrigin-Name:
9f4f933f2c6596064fcfc7fb5add87e8c5b57448
dan [Wed, 21 Apr 2010 11:43:38 +0000 (11:43 +0000)]
If, after obtaining a SHARED lock, there exists a *-wal file in the file-system, use WAL mode. This is necessary to recover from a crash that damages the first page of the database file.
FossilOrigin-Name:
33cabf271b8f4dda508a610bf59964273fe2cb84
dan [Wed, 21 Apr 2010 06:19:12 +0000 (06:19 +0000)]
Minor changes to test cases to account for the fact that databases with read/write versions of 2 are now understood.
FossilOrigin-Name:
278ed41e1d4bbff9544cb2cf4cf52dbbcf0c17df
dan [Tue, 20 Apr 2010 18:53:15 +0000 (18:53 +0000)]
Use the read and write version fields of the database header to mark a database as operating in wal-mode.
FossilOrigin-Name:
96bef18c1411c3e0348295886f105e1646c46320
dan [Mon, 19 Apr 2010 18:03:51 +0000 (18:03 +0000)]
Add the sqlite3_log_hook() interface for scheduling checkpoints.
FossilOrigin-Name:
9bda601455705475075e33bfa85687bce34b15ff
dan [Sat, 17 Apr 2010 18:50:27 +0000 (18:50 +0000)]
Add some comments regarding file-locks to log.c.
FossilOrigin-Name:
9d51c3b754f0b94fea5ef3d669ad583b93b2b024
dan [Sat, 17 Apr 2010 17:34:41 +0000 (17:34 +0000)]
Do not sync any files in wal mode if "PRAGMA synchronous=off" is set. If files are synced, pass either SQLITE_SYNC_FULL or SQLITE_SYNC_NORMAL to the xSync() callback as configured by "PRAGMA fullfsync".
FossilOrigin-Name:
0ae91b0008b242a47385fc1f295c6b645483ee22
drh [Sat, 17 Apr 2010 16:10:19 +0000 (16:10 +0000)]
It is possible for sqlite3.pUnlockConnection to be non-NULL when
sqlite3.pBlockingConnection is NULL, as the notify1.test script
demonstrates.
FossilOrigin-Name:
95ff76ef67d6189f54375973fa485d6eb464b029
dan [Sat, 17 Apr 2010 15:45:35 +0000 (15:45 +0000)]
dan [Sat, 17 Apr 2010 15:42:43 +0000 (15:42 +0000)]
In synchronous=normal mode, do not sync the log after every transaction. In synchronous=full mode, sync the log and add any extra frames required to avoid blast-radius related problems after each transaction.
FossilOrigin-Name:
9bc9b6847303d0324543a9ded8dd0473490122d8
drh [Sat, 17 Apr 2010 12:53:19 +0000 (12:53 +0000)]
Change sqlite3_step() so that it automatically calls sqlite3_reset() instead
of returning SQLITE_MISUSE when invoked on a prepared statement that
previously returned any value other than SQLITE_ROW.
FossilOrigin-Name:
3e646e3f4cd0ca288e444561e951cecfdaee2ab5
dan [Sat, 17 Apr 2010 12:31:37 +0000 (12:31 +0000)]
Enhancements to wal-mode locking scheme.
FossilOrigin-Name:
8549c286497f3d2cd118be1334fce00d6f8a26c4
shaneh [Fri, 16 Apr 2010 22:05:31 +0000 (22:05 +0000)]
Changes for branch coverage of notify.c. Fixed quirk of
unlock_notify() where it would still think it was blocked
after a callback was cleared (even after the transaction
on the blocking connection was closed).
FossilOrigin-Name:
c54e8dad01b0ecaf8d66b10e64e862dcad8a6746
dan [Fri, 16 Apr 2010 13:59:31 +0000 (13:59 +0000)]
Change the log file format to include a small (12 byte) header at the start of the file.
FossilOrigin-Name:
9865d14d6041874bc1239ce7a061d5c75f2d33c9
dan [Fri, 16 Apr 2010 11:30:18 +0000 (11:30 +0000)]
Fix bug in log recovery (last frame in log was being ignored). Also remove an incorrect assert statement.
FossilOrigin-Name:
67d2a89ec2d593a077eb19a6ea2b06cb1c2e9ba8
drh [Thu, 15 Apr 2010 23:24:29 +0000 (23:24 +0000)]
Disable query flattening when the outer query is a compound SELECT and
the inner query has a LIMIT clause. Ticket [
02a8e81d44 ].
FossilOrigin-Name:
f96782b389b5b97b488dc5814f7082e0393f64cd
dan [Thu, 15 Apr 2010 16:45:34 +0000 (16:45 +0000)]
Allow writers to write dirty pages to the log mid-transaction in order to free memory.
FossilOrigin-Name:
ecd828f96909895535d7dc744e5a8530e234e04d
dan [Thu, 15 Apr 2010 13:33:18 +0000 (13:33 +0000)]
Merge two leaves on the WAL branch.
FossilOrigin-Name:
c9ed66cc3994b3b0d67a6c950b552a1a869f2ed2
drh [Thu, 15 Apr 2010 13:29:37 +0000 (13:29 +0000)]
The query planner fix of check-in [
33b1f584ef ] should have been on the trunk.
FossilOrigin-Name:
f538d759beda67e042b66181b65bd432488f7650
drh [Thu, 15 Apr 2010 12:36:06 +0000 (12:36 +0000)]
Fix a problem in the result set size estimation logic of the query planner -
a problem introduced by the two previous changes.
FossilOrigin-Name:
33b1f584ef712625c4df8e2aefe895fa89f6a795
dan [Thu, 15 Apr 2010 10:58:51 +0000 (10:58 +0000)]
Change the way checksums are calculated.
FossilOrigin-Name:
84955c2e9ce526c5a3ed479aa09f093a7e37c7d0
drh [Thu, 15 Apr 2010 02:37:10 +0000 (02:37 +0000)]
Bring over the recent query planner enhancements from the trunk.
FossilOrigin-Name:
82969f27e5ea843cb379666d8a02e4a3fddc03b2
drh [Thu, 15 Apr 2010 01:04:54 +0000 (01:04 +0000)]
Further refinements to table order selection on join query planning.
FossilOrigin-Name:
defaf0d99a807027f8883bf821b6482025f9f54e
drh [Wed, 14 Apr 2010 19:01:44 +0000 (19:01 +0000)]
The query planner uses non-indexable WHERE clause terms to reduce the
estimated number of output rows, then uses the estimated number of output
rows as a tie-breaker when choosing table order.
FossilOrigin-Name:
b87cb0c2bd9c52a938795a974e101879b81210e3
dan [Wed, 14 Apr 2010 18:50:08 +0000 (18:50 +0000)]
Add tests and fix bugs in WAL locking mechanism.
FossilOrigin-Name:
c18077f2465fc34830f11c9832e76be5746eaeea
dan [Wed, 14 Apr 2010 18:06:50 +0000 (18:06 +0000)]
Add tests to check inter-process WAL locking.
FossilOrigin-Name:
9435f3135849e0d38fde1669201db508561a6308
dan [Wed, 14 Apr 2010 15:49:40 +0000 (15:49 +0000)]
Improve the logLockRegion() function in log.c.
FossilOrigin-Name:
5e9dd3bd8e829376408925fb4cfcd5bb1eb1105f
dan [Wed, 14 Apr 2010 11:23:30 +0000 (11:23 +0000)]
Fixes for locking issues in WAL mode.
FossilOrigin-Name:
a9617eff39177250e2f118f25fdd4b3acb8b0478
dan [Tue, 13 Apr 2010 19:27:31 +0000 (19:27 +0000)]
Add experimental locking scheme.
FossilOrigin-Name:
3f958e87c33d667d299b03ffdef58db5dc6363f4
drh [Tue, 13 Apr 2010 15:30:53 +0000 (15:30 +0000)]
Fix an uninitialized variable in readDbPage of pager.c.
FossilOrigin-Name:
f4e1150fed2c520c7c52612cb1019429d78dc32a
dan [Tue, 13 Apr 2010 11:56:03 +0000 (11:56 +0000)]
Remove old code to interpret an argument (no longer used) to "PRAGMA checkpoint".
FossilOrigin-Name:
27dc5977c19e717afd65d3805557e38dec7bedcb
dan [Tue, 13 Apr 2010 11:45:31 +0000 (11:45 +0000)]
Fix other problems in the WAL test scripts.
FossilOrigin-Name:
dcb31181db246dd3f81ce63b144dd0cf95f06ee3
dan [Tue, 13 Apr 2010 11:35:01 +0000 (11:35 +0000)]
Fix test script issues preventing walthread.test from running.
FossilOrigin-Name:
d90b1dde0702ceb0eae2a3da36733a7e5b1a6b3a
dan [Tue, 13 Apr 2010 11:18:40 +0000 (11:18 +0000)]
Fix a pager bug introduced by the wal code.
FossilOrigin-Name:
4a0b29dc5e573a5d696ede17db5d7acf8d23aa98
dan [Tue, 13 Apr 2010 06:20:45 +0000 (06:20 +0000)]
dan [Tue, 13 Apr 2010 06:18:02 +0000 (06:18 +0000)]
Test that the rollback-hook is invoked if a commit-hook implementation returns non-zero (causing a rollback). Remove documentation comment that says otherwise from sqlite.h.in.
FossilOrigin-Name:
012cf101bf8be9e39c138786ea5a5039b8131e55
drh [Mon, 12 Apr 2010 20:54:13 +0000 (20:54 +0000)]
Add e_fts3.test to the set of tests excluded from the inmemory_journal
exclusion list, since it does simulated OOM errors which trigger I/O errors
and SQLite is unable to recover from I/O errors without a persistent journal.
FossilOrigin-Name:
e7e7127f0b0db582274338a9fefc30a0c0be07c3
drh [Mon, 12 Apr 2010 19:44:22 +0000 (19:44 +0000)]
Recent changes cause the xSync method of the memory journal implementation
to be used, so remove the assert(0).
FossilOrigin-Name:
1f2cb9402838373f6370660dfc885013df079895
drh [Mon, 12 Apr 2010 19:43:43 +0000 (19:43 +0000)]
Clear a global variable in e_fts3.test before it is used.
FossilOrigin-Name:
ae89dfd26b65fb1a3633a4338f5cb5e54a7d2035
drh [Mon, 12 Apr 2010 19:31:59 +0000 (19:31 +0000)]
Remove duplicate secure_delete pragma implemention.
FossilOrigin-Name:
c15fda145b621fc86402914aa5b015e53590555a
dan [Mon, 12 Apr 2010 19:05:58 +0000 (19:05 +0000)]
Add "log.h", which should have been part of the previous commit.
FossilOrigin-Name:
8de9f010044fc992b5b45a7bb0da1284b404ecdb
dan [Mon, 12 Apr 2010 19:00:29 +0000 (19:00 +0000)]
Import experimental write-ahead-logging code.
FossilOrigin-Name:
409d61baeb0a19d1700c973f16c8acef7b8506cd
dan [Mon, 12 Apr 2010 17:08:44 +0000 (17:08 +0000)]
Fix a problem where a process in exclusive mode could delete a hot-journal file without rolling it back from within sqlite3_close() or DETACH. This problem was introduced by the previous commit, it is not present in any releases.
FossilOrigin-Name:
51a613950824698687c0db83b7884db33d45f7f5
drh [Mon, 12 Apr 2010 14:51:10 +0000 (14:51 +0000)]
Reset the simulated device in the test harness to its default
configuration whenever it is restarted.
FossilOrigin-Name:
562d20e662da474ea326165730ecfdfcf9b414ee