• unknown's avatar
    BUG#11567 Fixed binlog tests on windows. · 481ce989
    unknown authored
    
    sql/log_event.cc:
      BUG#11567 - mysqlbinlog tests failing on Windows.
      Cast was not working as intended with Windows compiler,
      the value of option was being printed instead. Reason
      is that config-win.h has '#define bool BOOL', and on
      Windows BOOL is a typedef for int, which means
      that all casts to bool are really a cast to int. Changed
      to explicitly print a 1 or 0 instead of using cast.
    481ce989
log_event.cc 146 KB