mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
After throwing an error to say that one cannot change into WAL mode within
a tranactions, do not then go and change into WAL mode. FossilOrigin-Name: 56a17dae91600a3863903f8d654ed52a0f720caf
This commit is contained in:
@@ -5257,6 +5257,7 @@ case OP_JournalMode: { /* out2-prerelease */
|
||||
"cannot change %s wal mode from within a transaction",
|
||||
(eNew==PAGER_JOURNALMODE_WAL ? "into" : "out of")
|
||||
);
|
||||
break;
|
||||
}else{
|
||||
|
||||
if( eOld==PAGER_JOURNALMODE_WAL ){
|
||||
|
Reference in New Issue
Block a user