diff options
author | unknown <tnurnberg@sin.intern.azundris.com> | 2007-10-05 09:38:57 +0200 |
---|---|---|
committer | unknown <tnurnberg@sin.intern.azundris.com> | 2007-10-05 09:38:57 +0200 |
commit | 1b3d25d561555c355a87b946463790dea246f76b (patch) | |
tree | 7a312420d77345a0090fb1f296f743b999f48eca /BitKeeper | |
parent | ba0cd51eb19f1f8868901d4b2327e1c8f4745c19 (diff) | |
download | mariadb-git-1b3d25d561555c355a87b946463790dea246f76b.tar.gz |
Bug#31227: memory overrun with decimal (6,6) and zerofill and group_concat
Reserve the space for the leading 0 (before the decimal point) in DECIMAL(a,a) ZEROFILL.
mysql-test/r/type_decimal.result:
show that we allocate a large enough buffer for output of DECIMAL(a,a) [ZEROFILL].
mysql-test/t/type_decimal.test:
show that we allocate a large enough buffer for output of DECIMAL(a,a) [ZEROFILL].
without patch for bug#31227, valgrind will complain here; so will a
debug build.
sql/my_decimal.cc:
Reserve the space for the leading 0 (before the decimal point) in DECIMAL(a,a) ZEROFILL.
Doxygenise preamble of my_decimal2string().
Diffstat (limited to 'BitKeeper')
0 files changed, 0 insertions, 0 deletions