aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2012-12-20 01:15:20 +0000
committerdrh <drh@noemail.net>2012-12-20 01:15:20 +0000
commitb2bb176b7043dab7a20e2eb535ec2e73e3f583fe (patch)
tree4fa1a54c9acd3138a50ab621b3c67bf7e53533e0 /src/sqliteInt.h
parentb290294c467bc2582c2bb313db95fb4e43356c73 (diff)
parent83e0dba3118798936d45bbf4d00064ac0cefe2aa (diff)
downloadsqlite-b2bb176b7043dab7a20e2eb535ec2e73e3f583fe.tar.gz
sqlite-b2bb176b7043dab7a20e2eb535ec2e73e3f583fe.zip
Add PRAGMA foreign_key_check. Name the child and parent tables as part of
a "foreign key mismatch" error. FossilOrigin-Name: e408dc9080594dc464b8763dece6b365772c6105
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 8a04ab47b..11dd8b451 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -3210,8 +3210,10 @@ const char *sqlite3JournalModename(int);
#endif
#ifndef SQLITE_OMIT_FOREIGN_KEY
void sqlite3FkDelete(sqlite3 *, Table*);
+ int sqlite3FkLocateIndex(Parse*,Table*,FKey*,Index**,int**);
#else
#define sqlite3FkDelete(a,b)
+ #define sqlite3FkLocateIndex(a,b,c,d,e)
#endif