mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Post-merge fix.
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user