summaryrefslogtreecommitdiff
path: root/BitKeeper
diff options
context:
space:
mode:
authorunknown <tnurnberg@sin.intern.azundris.com>2007-10-05 09:38:57 +0200
committerunknown <tnurnberg@sin.intern.azundris.com>2007-10-05 09:38:57 +0200
commit1b3d25d561555c355a87b946463790dea246f76b (patch)
tree7a312420d77345a0090fb1f296f743b999f48eca /BitKeeper
parentba0cd51eb19f1f8868901d4b2327e1c8f4745c19 (diff)
downloadmariadb-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