aboutsummaryrefslogtreecommitdiff
path: root/src/attach.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2010-05-10 11:20:05 +0000
committerdrh <drh@noemail.net>2010-05-10 11:20:05 +0000
commitab9b74443c31f3271f39c04f9569d4418cf0049f (patch)
treeb58fda72551da01890a267c45158cf335e0cdc43 /src/attach.c
parent2905f053effc873fffdc4faa1a961f2513d04910 (diff)
downloadsqlite-ab9b74443c31f3271f39c04f9569d4418cf0049f.tar.gz
sqlite-ab9b74443c31f3271f39c04f9569d4418cf0049f.zip
Enhance the OP_JournalMode opcode with an ignore-errors option and use that
option the ATTACH command. FossilOrigin-Name: 0bdea4cfbd7832f2a00c01b93c92ba13d20139ef
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