• unknown's avatar
    WL#3339 (Issue warnings when statement-based replication may fail): · 975c5570
    unknown authored
    Fixing case where a false warning could be printed in mixed mode.
    Also fixing some test cases that generated different result files as
    a consequence of the patch.
    
    
    mysql-test/r/check.result:
      Result change.
    mysql-test/t/check.test:
      Dropping all views created in the test before trying to execute test.
    mysql-test/t/func_misc.test:
      Disabling warning for unsafe statement since test is not concerned with
      this and there are tests that test this.
    sql/sql_class.cc:
      Moving code to print warning for unsafe statement to look at logging
      *mode* instead of logging *format*. The latter one can print a false
      warning when executing in mixed mode and part of the statement is
      written in statement format (i.e., CREATE-SELECT).
    975c5570
func_misc.test 4.69 KB