Commit 0e648ff4 authored by Michael Widenius's avatar Michael Widenius

Fixed usage of wrong variable in case of errors

parent 3a50e4ad
......@@ -2072,8 +2072,8 @@ int multi_update::do_updates()
err:
{
thd->fatal_error();
prepare_record_for_error_message(local_error, table);
table->file->print_error(local_error,MYF(0));
prepare_record_for_error_message(local_error, err_table);
err_table->file->print_error(local_error,MYF(0));
}
err2:
......
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