• Vladislav Vaintroub's avatar
    Fix MYSQL Bug#60057 : sel_arg_range_seq_next loops in optimized compilation/VS2010 · fb47a163
    Vladislav Vaintroub authored
    When mariadb 5.3 is compiler with VS2010, several tests would enter infinite loop in 
    sel_arg_range_seq_next(). The reason is compiler backend bug. This bug is not
    present in either VS2008  or VS2010 SP1 RC.
    
    Workaround is to compile this function without most aggresive optimization flag
     (-Og )  using #pragma optimize ("g", {on|off}) for this version of MSVC compiler.
    fb47a163
opt_range_mrr.cc 10.8 KB