summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index d71788fdb23..f6706e78ae9 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -4152,6 +4152,8 @@ void handler::print_error(int error, myf errflag)
my_error(ER_DROP_INDEX_FK, errflag, ptr);
DBUG_VOID_RETURN;
}
+ case HA_ERR_FK_UPGRADE:
+ /* fall through */
case HA_ERR_TABLE_NEEDS_UPGRADE:
textno= ER_TABLE_NEEDS_UPGRADE;
my_error(ER_TABLE_NEEDS_UPGRADE, errflag,