BUG#23051 (READ COMMITTED breaks mixed and statement-based replication):

Removing dead code.
parent 7606b0b9
...@@ -6272,8 +6272,6 @@ ha_innobase::external_lock( ...@@ -6272,8 +6272,6 @@ ha_innobase::external_lock(
binlog_format == BINLOG_FORMAT_STMT) binlog_format == BINLOG_FORMAT_STMT)
{ {
char buf[256]; char buf[256];
bool const read_uncommitted =
trx->isolation_level == TRX_ISO_READ_UNCOMMITTED;
my_snprintf(buf, sizeof(buf), my_snprintf(buf, sizeof(buf),
"Transaction level '%s' in" "Transaction level '%s' in"
" InnoDB is not safe for binlog mode '%s'", " InnoDB is not safe for binlog mode '%s'",
......
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