Commit d24fd98e authored by Rich Prohaska's avatar Rich Prohaska

DB-732 map TOKUDB_OUT_OF_LOCKS tokudb error to HA_ERR_LOCK_TABLE_FULL handler error

parent 02fb9a88
...@@ -7925,6 +7925,9 @@ int ha_tokudb::map_to_handler_error(int error) { ...@@ -7925,6 +7925,9 @@ int ha_tokudb::map_to_handler_error(int error) {
case TOKUDB_INTERRUPTED: case TOKUDB_INTERRUPTED:
error = ER_QUERY_INTERRUPTED; error = ER_QUERY_INTERRUPTED;
break; break;
case TOKUDB_OUT_OF_LOCKS:
error = HA_ERR_LOCK_TABLE_FULL;
break;
} }
return error; return error;
} }
......
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