• unknown's avatar
    BUG#34541: mysqlbinlog prints 'set;' in stm mode after changing autocommit mode · edb7733c
    unknown authored
    Problem: a typo in the code. When autocommit, foreign_key_checks,
    sql_auto_is_null, or unique_checks changes, it prints "SET", and then a
    comma-separated list of assignments. However, it does not print the
    assignment to the @@autocommit variable.
    Fix: print the @@autocommit variable.
    
    
    mysql-test/r/mysqlbinlog.result:
      Updated result file since output of mysqlbinlog changed.
    mysql-test/r/mysqlbinlog2.result:
      Updated result file since output of mysqlbinlog changed.
    mysql-test/r/user_var-binlog.result:
      Updated result file since output of mysqlbinlog changed.
    mysql-test/suite/binlog/r/binlog_base64_flag.result:
      Updated result file since output of mysqlbinlog changed.
    mysql-test/suite/binlog/r/binlog_stm_ctype_ucs.result:
      Updated result file since output of mysqlbinlog changed.
    mysql-test/suite/rpl/r/rpl_row_mysqlbinlog.result:
      Updated result file since output of mysqlbinlog changed.
    sql/log_event.cc:
      Just a typo: mysqlbinlog should print the autocommit flag
      when the value of the flag changes.
      Also fixed nearby indentation.
    edb7733c
binlog_base64_flag.result 2.05 KB