aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordan <Dan Kennedy>2023-10-20 17:06:39 +0000
committerdan <Dan Kennedy>2023-10-20 17:06:39 +0000
commit17c3408e0eb1fd8cac354af525a24edda47ffe2c (patch)
treeaedfd4bdce93d47acb8113d5117db18ab1d69527 /src/sqliteInt.h
parent90e4a3b7fcdf63035d6f35eb44d11ff58ff4b068 (diff)
downloadsqlite-17c3408e0eb1fd8cac354af525a24edda47ffe2c.tar.gz
sqlite-17c3408e0eb1fd8cac354af525a24edda47ffe2c.zip
Add the SQLITE_CHANGESETAPPLY_FKNOACTION flag to sqlite3session.h, for passing to sqlite3changeset_apply_v2() to cause all foreign key constraints to behave as if they were declared NO ACTION.
FossilOrigin-Name: fc9f82ea084159eaf3dd1757b96d17d1201b00c4e06455a7dcd8067172b25f28
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 85492fbec..b6cc81fba 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -1845,6 +1845,7 @@ struct sqlite3 {
/* the count using a callback. */
#define SQLITE_CorruptRdOnly HI(0x00002) /* Prohibit writes due to error */
#define SQLITE_ReadUncommit HI(0x00004) /* READ UNCOMMITTED in shared-cache */
+#define SQLITE_FkNoAction HI(0x00008) /* Treat all FK as NO ACTION */
/* Flags used only if debugging */
#ifdef SQLITE_DEBUG