• unknown's avatar
    Fix for BUG#5064 "SET GLOBAL SYNC_BINLOG does not work on some platforms": · a1523345
    unknown authored
    var->save_result.ulong_value was 0 on Mac OS X probably due to positions
    of members in the union. sys_var::check() only sets ulonglong_value
    
    
    sql/set_var.cc:
      Of the save_result union, sys_var::check() only updates ulonglong_value;
      so other types of the union are garbage. Here we must use ulonglong_value
      in sys_var_sync_binlog_period::update(), not ulong_value (which is )
    a1523345
set_var.cc 96.2 KB