Commit 948804c8 authored by unknown's avatar unknown

BUG#22864 (CREATE-SELECT does not work correctly):

Post-merge fixes.


sql/log.cc:
  Removing HAVE_ROW_BASED_REPLICATION from file.
parent c3315ccc
...@@ -148,7 +148,6 @@ class binlog_trx_data { ...@@ -148,7 +148,6 @@ class binlog_trx_data {
*/ */
void truncate(my_off_t pos) void truncate(my_off_t pos)
{ {
#ifdef HAVE_ROW_BASED_REPLICATION
DBUG_PRINT("info", ("truncating to position %lu", pos)); DBUG_PRINT("info", ("truncating to position %lu", pos));
DBUG_PRINT("info", ("before_stmt_pos=%lu", pos)); DBUG_PRINT("info", ("before_stmt_pos=%lu", pos));
delete pending(); delete pending();
...@@ -156,7 +155,6 @@ class binlog_trx_data { ...@@ -156,7 +155,6 @@ class binlog_trx_data {
reinit_io_cache(&trans_log, WRITE_CACHE, pos, 0, 0); reinit_io_cache(&trans_log, WRITE_CACHE, pos, 0, 0);
if (pos < before_stmt_pos) if (pos < before_stmt_pos)
before_stmt_pos= MY_OFF_T_UNDEF; before_stmt_pos= MY_OFF_T_UNDEF;
#endif
} }
/* /*
......
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