• unknown's avatar
    Fix for BUG#7793 "mysqlbinlog produces incorrect queries": · 5f4d717d
    unknown authored
    when printing SET @var in mysqlbinlog, backtick the collation (as BINARY is a reserved word)
    
    
    mysql-test/r/ctype_ucs.result:
      backticks added
    mysql-test/r/user_var.result:
      backticks added
    mysql-test/t/user_var.test:
      testing a variable with BINARY collation, which needs the backticks
    sql/log_event.cc:
      when printing SET @var in mysqlbinlog, backtick the collation (as BINARY is a reserved word)
    5f4d717d
user_var.result 5.65 KB