DB-732 map TOKUDB_OUT_OF_LOCKS tokudb error to HA_ERR_LOCK_TABLE_FULL handler error

This commit is contained in:
Rich Prohaska 2014-10-01 09:24:21 -04:00
parent 02fb9a88ed
commit d24fd98e99

View file

@ -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;
}