[Commits] bzr commit into Mariadb 5.2, with Maria 2.0:maria/5.2 branch (monty:2843)

Michael Widenius monty at askmonty.org
Fri Nov 5 11:54:45 EET 2010


#At lp:maria/5.2 based on revid:igor at askmonty.org-20101102230802-vg1oaa3smmayb03n

 2843 Michael Widenius	2010-11-05
      Fixed usage of wrong variable in case of errors
      modified:
        sql/sql_update.cc

=== modified file 'sql/sql_update.cc'
--- a/sql/sql_update.cc	2010-10-28 17:04:23 +0000
+++ b/sql/sql_update.cc	2010-11-05 09:54:42 +0000
@@ -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:



More information about the commits mailing list