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