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

Fix compilation errors when OMIT_FOREIGN_KEY is defined.

FossilOrigin-Name: c447cb37d6439090eb08028d54a91d7d06043744
This commit is contained in:
dan
2009-09-22 07:13:42 +00:00
parent 3606264bc9
commit ba9108b84a
5 changed files with 12 additions and 12 deletions

View File

@@ -241,6 +241,7 @@ static int flagPragma(Parse *pParse, const char *zLeft, const char *zRight){
/*
** Return a human-readable name for a constraint resolution action.
*/
#ifndef SQLITE_OMIT_FOREIGN_KEY
static const char *actionName(u8 action){
const char *zName;
switch( action ){
@@ -253,6 +254,7 @@ static const char *actionName(u8 action){
}
return zName;
}
#endif
/*
** Process a pragma statement.