1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Enhance the OP_JournalMode opcode with an ignore-errors option and use that

option the ATTACH command.

FossilOrigin-Name: 0bdea4cfbd7832f2a00c01b93c92ba13d20139ef
This commit is contained in:
drh
2010-05-10 11:20:05 +00:00
parent 2905f053ef
commit ab9b74443c
4 changed files with 31 additions and 16 deletions

View File

@@ -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