Bug#6147: Traditional: Assigning a string to a numeric column has unexpected results

The problem was that when converting a string to an exact number,
rounding didn't work, because conversion didn't understand
approximate numbers notation.
Fix: a new function for string-to-number conversion was implemented,
which is aware of approxinate number notation (with decimal point
and exponent, e.g. -19.55e-1)
This commit is contained in:
bar@mysql.com/bar.intranet.mysql.r18.ru 2006-07-20 13:41:12 +05:00
commit 29bc5cc179
31 changed files with 1083 additions and 302 deletions

View file

@ -5492,6 +5492,7 @@ static MY_CHARSET_HANDLER my_charset_handler=
my_strntoull_8bit,
my_strntod_8bit,
my_strtoll10_8bit,
my_strntoull10rnd_8bit,
my_scan_8bit
};