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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user