diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/btree.c | 1 | ||||
-rw-r--r-- | src/wal.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/btree.c b/src/btree.c index 2fd3fedc1..62a841076 100644 --- a/src/btree.c +++ b/src/btree.c @@ -2285,6 +2285,7 @@ static int lockBtree(BtShared *pBt){ releasePage(pPage1); return SQLITE_OK; } + rc = SQLITE_NOTADB; } /* The maximum embedded fraction must be exactly 25%. And the minimum @@ -4,6 +4,7 @@ ** "journal_mode=wal" mode. */ + /* ** LOG FILE FORMAT ** @@ -157,7 +158,7 @@ struct LogSummary { ** obtains the DMH lock (see below), and while log recovery is ** being run. ** -** DMH: The DMH (Dead Mans Hand mechanism) lock is used to ensure +** DMS: The DMS (Dead Mans Switch mechanism) lock is used to ensure ** that log-recovery is always run following a system restart. ** When it first opens a log-summary file, a process takes a ** SHARED lock on the DMH region. This lock is not released until |