• unknown's avatar
    Fixed the floating point number tests on Windows. · 1f22720c
    unknown authored
    
    mysql-test/r/insert.result:
      Fixed the test cases.
    mysql-test/t/cast.test:
      We need to do replace_result because warnings are printed by another procedure.
    mysql-test/t/insert.test:
      Windows implements a different rounding rules in printf("%g"), thus we still need to do replace_result.
    sql/field.cc:
      Limit the precision to avoid garbage past the significant digits.
    1f22720c
insert.test 12.6 KB