1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Start all transactions and verify all schema cookies near the beginning of

of each vdbe program. (CVS 1543)

FossilOrigin-Name: 1086196460e261718e78512d77e25dde021a117d
This commit is contained in:
drh
2004-06-09 00:48:12 +00:00
parent b3e043463d
commit 80242055e5
11 changed files with 149 additions and 72 deletions

View File

@@ -710,7 +710,6 @@ int sqlite3CodeRowTrigger(
){
Trigger * pTrigger;
TriggerStack * pTriggerStack;
u64 cookieMask = pParse->cookieMask;
assert(op == TK_UPDATE || op == TK_INSERT || op == TK_DELETE);
assert(tr_tm == TK_BEFORE || tr_tm == TK_AFTER );
@@ -781,10 +780,5 @@ int sqlite3CodeRowTrigger(
}
pTrigger = pTrigger->pNext;
}
pParse->cookieMask = cookieMask;
return 0;
}