Commit 540b158f authored by unknown's avatar unknown
Browse files

Bug#16837 (Missing #ifdef cause compile problem --without-row-based-replication):

Post-merge fixes.


sql/log.cc:
  Need to set up binlog_trx_data regardless of whether row-based is
  enabled or not.
parent 39b6d186
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2889,10 +2889,8 @@ bool MYSQL_LOG::write(Log_event *event_info)
    */
    if (opt_using_transactions && thd)
    {
#ifdef HAVE_ROW_BASED_REPLICATION
      if (thd->binlog_setup_trx_data())
        goto err;
#endif /*HAVE_ROW_BASED_REPLICATION*/

      binlog_trx_data *const trx_data=
        (binlog_trx_data*) thd->ha_data[binlog_hton.slot];