• Luis Soares's avatar
    BUG#42851: Spurious "Statement is not safe to log in statement · 99111c6d
    Luis Soares authored
               format." warnings
          
    Despite the fact that a statement would be filtered out from binlog, a
    warning would still be thrown if it was issued with the LIMIT.
          
    This patch addresses this issue by checking the filtering rules before
    printing out the warning.
    
    
    mysql-test/suite/binlog/t/binlog_stm_unsafe_warning-master.opt:
      Parameter to filter out database: "b42851".
    mysql-test/suite/binlog/t/binlog_stm_unsafe_warning.test:
      Added a new test case.
    sql/sql_class.cc:
      Added filtering rules check to condition used to decide whether to
      printout warning or not.
    99111c6d
binlog_stm_unsafe_warning-master.opt 26 Bytes