summaryrefslogtreecommitdiff
path: root/libmysql/get_password.c
diff options
context:
space:
mode:
authorunknown <cmiller@zippy.cornsilk.net>2007-07-03 12:20:19 -0400
committerunknown <cmiller@zippy.cornsilk.net>2007-07-03 12:20:19 -0400
commitfd70537309701acc51a0f92ac46e495363221e07 (patch)
tree0047088e444a1d70a42c9b5ef897efb4af7ee8df /libmysql/get_password.c
parent83e4f46e4bb0f304878f4a87bf20d5f595bc30e3 (diff)
downloadmariadb-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/get_password.c')
0 files changed, 0 insertions, 0 deletions