Allow non-GTID replication without rewrite_src
The filter allowed only GTID replication when file-and-position based replication should be allowed as well.
This commit is contained in:
@ -139,7 +139,7 @@ int BinlogFilterSession::routeQuery(GWBUF* pPacket)
|
|||||||
m_state = BINLOG_MODE;
|
m_state = BINLOG_MODE;
|
||||||
MXS_INFO("Slave server %u is waiting for binlog events.", m_serverid);
|
MXS_INFO("Slave server %u is waiting for binlog events.", m_serverid);
|
||||||
|
|
||||||
if (!m_is_gtid)
|
if (!m_is_gtid && m_filter.getConfig().rewrite_src)
|
||||||
{
|
{
|
||||||
gwbuf_free(pPacket);
|
gwbuf_free(pPacket);
|
||||||
std::ostringstream ss;
|
std::ostringstream ss;
|
||||||
|
|||||||
Reference in New Issue
Block a user