mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Silently ignore errors trying to set the default journal_mode while doing
an ATTACH. FossilOrigin-Name: b9af4ad2efadfb2fb9e338dc081a6231f1536700
This commit is contained in:
@@ -5293,7 +5293,8 @@ case OP_JournalMode: { /* out2-prerelease */
|
||||
rc = sqlite3BtreeSetVersion(pBt,
|
||||
(eNew==PAGER_JOURNALMODE_WAL ? 2 : 1));
|
||||
if( rc==SQLITE_BUSY && pOp->p5==0 ) goto abort_due_to_error;
|
||||
}else if( rc==SQLITE_BUSY ){
|
||||
}
|
||||
if( rc==SQLITE_BUSY ){
|
||||
eNew = PAGER_JOURNALMODE_QUERY;
|
||||
rc = SQLITE_OK;
|
||||
}
|
||||
|
Reference in New Issue
Block a user