• unknown's avatar
    Correctly truncate integers inserted into field and double columns · 0c57a67c
    unknown authored
    with a number of decimals specified. (Bug #7361)
    
    
    mysql-test/t/type_float.test:
      Add test for maximum values of float and double columns with number of decimals
    mysql-test/r/type_float.result:
      Add results for new test
    mysql-test/r/type_float.result.es:
      Add results for new test
    sql/field.cc:
      Use ::store(double nr) from ::store(longlong nr) so we get the same range checking
    0c57a67c
field.cc 151 KB