diff options
author | unknown <cmiller@zippy.cornsilk.net> | 2007-07-03 12:20:19 -0400 |
---|---|---|
committer | unknown <cmiller@zippy.cornsilk.net> | 2007-07-03 12:20:19 -0400 |
commit | fd70537309701acc51a0f92ac46e495363221e07 (patch) | |
tree | 0047088e444a1d70a42c9b5ef897efb4af7ee8df /libmysql/manager.c | |
parent | 83e4f46e4bb0f304878f4a87bf20d5f595bc30e3 (diff) | |
download | mariadb-git-fd70537309701acc51a0f92ac46e495363221e07.tar.gz |
In 5.0, Field_double::val_str uses "%g" to render floating point
numbers, which uses "X.YeZ" notation when the exponent Z would be
less than -4. That behavior at -4 is not exactly what we want, and
our Decimal type offers smarter number representation. By changing
profiling to use Decimal types, we get more readable output.
sql/sql_profile.cc:
Change the DOUBLE I_S types to DECIMAL, so we get a smarter
floating-point number renderer.
sql/sql_show.cc:
Add MYSQL_TYPE_DECIMAL as a string-ish type that INFORMATION_SCHEMA
tables may use.
Diffstat (limited to 'libmysql/manager.c')
0 files changed, 0 insertions, 0 deletions