List:Commits« Previous MessageNext Message »
From:Alexander Nozdrin Date:May 14 2010 3:02pm
Subject:bzr commit into mysql-6.0-codebase-bugfixing branch (alik:3878)
Bug#21818
View as plain text  
#At file:///mnt/raid/alik/MySQL/bzr/00.builds/mysql-6.0-codebase-bugfixing/ based on revid:alik@stripped

 3878 Alexander Nozdrin	2010-05-14
      Post-fix for Bug#21818.

    modified:
      sql/sql_insert.cc
=== modified file 'sql/sql_insert.cc'
--- a/sql/sql_insert.cc	2010-05-14 05:38:52 +0000
+++ b/sql/sql_insert.cc	2010-05-14 15:02:05 +0000
@@ -1040,7 +1040,7 @@ bool mysql_insert(THD *thd,TABLE_LIST *t
     ::my_ok(thd, info.copied + info.deleted + updated, id, buff);
   }
   thd->abort_on_warning= 0;
-  MYSQL_INSERT_DONE(0, (ulong) thd->row_count_func);
+  MYSQL_INSERT_DONE(0, (ulong) thd->get_row_count_func());
   DBUG_RETURN(FALSE);
 
 abort:
@@ -3426,7 +3426,7 @@ bool select_insert::send_eof()
      thd->first_successful_insert_id_in_prev_stmt :
      (info.copied ? autoinc_value_of_last_inserted_row : 0));
   ::my_ok(thd, row_count, id, buff);
-  MYSQL_INSERT_SELECT_DONE(0, (ulong) thd->row_count_func);
+  MYSQL_INSERT_SELECT_DONE(0, (ulong) thd->get_row_count_func());
   DBUG_RETURN(0);
 }
 


Attachment: [text/bzr-bundle] bzr/alik@sun.com-20100514150205-eg4qnre6quc8pk70.bundle
Thread
bzr commit into mysql-6.0-codebase-bugfixing branch (alik:3878)Bug#21818Alexander Nozdrin14 May