diff options
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index f1ec7ea7e09..8987bed4157 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -543,9 +543,14 @@ void handler::print_error(int error, myf errflag) textno=ER_CHECKREAD; break; case HA_ERR_CRASHED: - case HA_ERR_CRASHED_ON_REPAIR: textno=ER_NOT_KEYFILE; break; + case HA_ERR_CRASHED_ON_USAGE: + textno=ER_CRASHED_ON_USAGE; + break; + case HA_ERR_CRASHED_ON_REPAIR: + textno=ER_CRASHED_ON_REPAIR; + break; case HA_ERR_OUT_OF_MEM: my_error(ER_OUT_OF_RESOURCES,errflag); DBUG_VOID_RETURN; |