Commit 47337b3e authored by marko's avatar marko

branches/zip: ha_innobase::add_index(): Convert the error code before

goto err_exit.  The error handling should be rewritten.  Many of the
error messages contain parameters, but this code is only returning
the error number to MySQL.
parent 748fa3d6
......@@ -8376,7 +8376,7 @@ ha_innobase::add_index(
if (!indexed_table) {
error = trx->error_state;
error = convert_error_code_to_mysql(trx->error_state);
row_mysql_unlock_data_dictionary(trx);
goto err_exit;
}
......
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