aboutsummaryrefslogtreecommitdiff
path: root/src/attach.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/attach.c')
-rw-r--r--src/attach.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/attach.c b/src/attach.c
index 2b57793f9..0299cbfb3 100644
--- a/src/attach.c
+++ b/src/attach.c
@@ -348,6 +348,7 @@ static void codeAttach(
*/
sqlite3VdbeAddOp3(v, OP_JournalMode, db->nDb, regArgs+3,
db->dfltJournalMode);
+ sqlite3VdbeChangeP5(v, 1);
}
/* Code an OP_Expire. For an ATTACH statement, set P1 to true (expire this