aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2009-10-12 22:30:49 +0000
committerdrh <drh@noemail.net>2009-10-12 22:30:49 +0000
commit4c4298392e109ca67a25626f50f87715356b67b6 (patch)
tree6ec78f5710d3e9a2e00e27b52dfafa7d1e601095 /src/sqliteInt.h
parent9a616f56076022ea8a900e402355b1b6d11786ba (diff)
downloadsqlite-4c4298392e109ca67a25626f50f87715356b67b6.tar.gz
sqlite-4c4298392e109ca67a25626f50f87715356b67b6.zip
Add asserts as evidence that all FK constraints are either immediate or
deferred. FossilOrigin-Name: 634ef4fc9f4051245b38f558bb1c733031548c2f
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 03ff1be11..2675f44fb 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -1289,6 +1289,7 @@ struct FKey {
FKey *pNextTo; /* Next foreign key on table named zTo */
FKey *pPrevTo; /* Previous foreign key on table named zTo */
int nCol; /* Number of columns in this key */
+ /* EV: R-30323-21917 */
u8 isDeferred; /* True if constraint checking is deferred till COMMIT */
u8 aAction[2]; /* ON DELETE and ON UPDATE actions, respectively */
Trigger *apTrigger[2]; /* Triggers for aAction[] actions */