• unknown's avatar
    Correctly truncate integers inserted into field and double columns · e129f2c5
    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
    e129f2c5
field.cc 151 KB