mirror of
https://github.com/MariaDB/server.git
synced 2026-04-22 16:25:30 +02:00
Fixing problem in injector code making NDB tests fire an assertion.
sql/ha_ndbcluster_binlog.cc: Removing extreneous setting of current_stmt_binlog_row_based. sql/rpl_injector.cc: Since current_stmt_binlog_row_based is reset as the end of a transaction it needs to be set at the beginning of a transaction.
This commit is contained in:
parent
b5d6a629c9
commit
8a7db87e4b
2 changed files with 2 additions and 1 deletions
|
|
@ -39,6 +39,8 @@ injector::transaction::transaction(MYSQL_BIN_LOG *log, THD *thd)
|
|||
m_start_pos.m_file_pos= log_info.pos;
|
||||
|
||||
begin_trans(m_thd);
|
||||
|
||||
thd->set_current_stmt_binlog_row_based();
|
||||
}
|
||||
|
||||
injector::transaction::~transaction()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue