mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
DB-732 map TOKUDB_OUT_OF_LOCKS tokudb error to HA_ERR_LOCK_TABLE_FULL handler error
This commit is contained in:
parent
02fb9a88ed
commit
d24fd98e99
1 changed files with 3 additions and 0 deletions
|
@ -7925,6 +7925,9 @@ int ha_tokudb::map_to_handler_error(int error) {
|
|||
case TOKUDB_INTERRUPTED:
|
||||
error = ER_QUERY_INTERRUPTED;
|
||||
break;
|
||||
case TOKUDB_OUT_OF_LOCKS:
|
||||
error = HA_ERR_LOCK_TABLE_FULL;
|
||||
break;
|
||||
}
|
||||
return error;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue