• Nuno Carvalho's avatar
    BUG#15891524: RLI_FAKE MODE IS NOT UNSET AFTER BINLOG REPLAY · d0f5427c
    Nuno Carvalho authored
    When a binlog is replayed into a server, e.g.:
      $ mysqlbinlog binlog.000001 | mysql
    it sets a pseudo slave mode on the client connection in order to server
    be able to read binlog events, there is, a format description event is
    needed to correctly read following events.
    Also this pseudo slave mode applies to the current connection
    replication rules that are needed to correctly apply binlog events.
    
    If a binlog dump is sourced on a connection, this pseudo slave mode will
    remains after it, what will apply unexpected rules from customer
    perspective to following commands.
    
    Added a new SET statement to binlog dump that will unset pseudo slave
    mode at the end of dump file.
    d0f5427c
mysqlbinlog.result 29.7 KB