mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
merge mysql-5.1-rep+3 --> mysql-5.1-rep+2-delivery1
This commit is contained in:
@ -540,8 +540,8 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
|
||||
version for the binary log to mark that table maps are invalid
|
||||
after this point.
|
||||
*/
|
||||
if (thd->current_stmt_binlog_row_based)
|
||||
thd->binlog_flush_pending_rows_event(true);
|
||||
if (thd->is_current_stmt_binlog_format_row())
|
||||
thd->binlog_flush_pending_rows_event(TRUE, transactional_table);
|
||||
else
|
||||
{
|
||||
/*
|
||||
@ -687,7 +687,7 @@ static bool write_execute_load_query_log_event(THD *thd, sql_exchange* ex,
|
||||
(uint) ((char*) fname_end - (char*) thd->query()),
|
||||
(duplicates == DUP_REPLACE) ? LOAD_DUP_REPLACE :
|
||||
(ignore ? LOAD_DUP_IGNORE : LOAD_DUP_ERROR),
|
||||
transactional_table, FALSE, errcode);
|
||||
transactional_table, FALSE, FALSE, errcode);
|
||||
e.flags|= LOG_EVENT_UPDATE_TABLE_MAP_VERSION_F;
|
||||
return mysql_bin_log.write(&e);
|
||||
}
|
||||
|
Reference in New Issue
Block a user