1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

correct server side error messages

This commit is contained in:
Daniel Black
2015-04-12 21:40:07 +10:00
parent 9b067a3e9f
commit 4409e04d89
5 changed files with 4 additions and 29 deletions

View File

@ -879,22 +879,6 @@ send_result_message:
fatal_error=1;
break;
}
case HA_ADMIN_VIEW_REPAIR_IS_DONE:
{
protocol->store(STRING_WITH_LEN("status"), system_charset_info);
protocol->store(ER(ER_VIEW_REPAIR_IS_DONE),
strlen(ER(ER_VIEW_REPAIR_IS_DONE)),
system_charset_info);
break;
}
case HA_ADMIN_NEEDS_REPAIR:
{
protocol->store(STRING_WITH_LEN("status"), system_charset_info);
protocol->store(ER(ER_NEEDS_REPAIR),
strlen(ER(ER_NEEDS_REPAIR)),
system_charset_info);
break;
}
default: // Probably HA_ADMIN_INTERNAL_ERROR
{