• Tor Didriksen's avatar
    Bug#13359121 LARGE NUMBERS, /STRINGS/DTOA.C:662 · cc6a6331
    Tor Didriksen authored
    Bug#12985021 SIMPLE QUERY WITH DECIMAL NUMBERS TAKE AN
    
    When parsing the fractional part of a string which
    is to be converted to double, we can stop after a few digits:
    the extra digits will not contribute to the actual result anyways.
    
    
    mysql-test/r/func_str.result:
      New tests.
    mysql-test/t/func_str.test:
      New tests.
    strings/dtoa.c:
      The problem was s2b() multiplying and adding hundreds-of-thousands
      of ever smaller fractions.
    cc6a6331
func_str.test 51.4 KB