Commit 0bd7011e authored by unknown's avatar unknown

void handler::print_error(): cleanup

parent a851142b
...@@ -1660,7 +1660,7 @@ void handler::print_error(int error, myf errflag) ...@@ -1660,7 +1660,7 @@ void handler::print_error(int error, myf errflag)
} }
case HA_ERR_NULL_IN_SPATIAL: case HA_ERR_NULL_IN_SPATIAL:
textno= ER_UNKNOWN_ERROR; textno= ER_UNKNOWN_ERROR;
DBUG_VOID_RETURN; break;
case HA_ERR_FOUND_DUPP_UNIQUE: case HA_ERR_FOUND_DUPP_UNIQUE:
textno=ER_DUP_UNIQUE; textno=ER_DUP_UNIQUE;
break; break;
...@@ -1683,8 +1683,8 @@ void handler::print_error(int error, myf errflag) ...@@ -1683,8 +1683,8 @@ void handler::print_error(int error, myf errflag)
textno=ER_CRASHED_ON_REPAIR; textno=ER_CRASHED_ON_REPAIR;
break; break;
case HA_ERR_OUT_OF_MEM: case HA_ERR_OUT_OF_MEM:
my_message(ER_OUT_OF_RESOURCES, ER(ER_OUT_OF_RESOURCES), errflag); textno=ER_OUT_OF_RESOURCES;
DBUG_VOID_RETURN; break;
case HA_ERR_WRONG_COMMAND: case HA_ERR_WRONG_COMMAND:
textno=ER_ILLEGAL_HA; textno=ER_ILLEGAL_HA;
break; break;
...@@ -1695,10 +1695,8 @@ void handler::print_error(int error, myf errflag) ...@@ -1695,10 +1695,8 @@ void handler::print_error(int error, myf errflag)
textno=ER_UNSUPPORTED_EXTENSION; textno=ER_UNSUPPORTED_EXTENSION;
break; break;
case HA_ERR_RECORD_FILE_FULL: case HA_ERR_RECORD_FILE_FULL:
textno=ER_RECORD_FILE_FULL;
break;
case HA_ERR_INDEX_FILE_FULL: case HA_ERR_INDEX_FILE_FULL:
textno= errno; textno=ER_RECORD_FILE_FULL;
break; break;
case HA_ERR_LOCK_WAIT_TIMEOUT: case HA_ERR_LOCK_WAIT_TIMEOUT:
textno=ER_LOCK_WAIT_TIMEOUT; textno=ER_LOCK_WAIT_TIMEOUT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment