Commit efaa28ab authored by Alexander Nozdrin's avatar Alexander Nozdrin

Post-merge fix.

parent 83aa3cf4
...@@ -1183,12 +1183,10 @@ end: ...@@ -1183,12 +1183,10 @@ end:
{ {
/* In RBR, the statement is not binlogged if the table is temporary. */ /* In RBR, the statement is not binlogged if the table is temporary. */
if (!is_temporary_table || !thd->current_stmt_binlog_row_based) if (!is_temporary_table || !thd->current_stmt_binlog_row_based)
{
error= write_bin_log(thd, TRUE, thd->query(), thd->query_length()); error= write_bin_log(thd, TRUE, thd->query(), thd->query_length());
if (!error) if (!error)
my_ok(thd); // This should return record count my_ok(thd); // This should return record count
} }
}
pthread_mutex_lock(&LOCK_open); pthread_mutex_lock(&LOCK_open);
unlock_table_name(thd, table_list); unlock_table_name(thd, table_list);
pthread_mutex_unlock(&LOCK_open); pthread_mutex_unlock(&LOCK_open);
......
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