summaryrefslogtreecommitdiff
path: root/libmysql/errmsg.c
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-11-06 12:26:03 +0400
committerAlexander Barkov <bar@mariadb.org>2015-11-06 12:26:03 +0400
commita36048d143c2e3cd956009849dc28f4a714d00d0 (patch)
tree861f9f1f9590e2f3729067e8d660dbfdc6966a89 /libmysql/errmsg.c
parent5041de97e15e4af05003a8c6c14bfff106da570b (diff)
downloadmariadb-git-a36048d143c2e3cd956009849dc28f4a714d00d0.tar.gz
MDEV-7550 TokuDB crashes in build tests on Launchpad
When compiled with "-Wl,-Bsymbolic-functions" flags (e.g. when building a .deb package on Ubuntu) with TokuDB and jemalloc, mysqld crashed in toku_get_processor_frequency_cpuinfo() when free()-ing a buffer returned by getline(). getline() uses libc malloc() internally, while free() is aliased to jemalloc's free() in this configuration. Fixing not to use getline(). Using a static buffer instead.
Diffstat (limited to 'libmysql/errmsg.c')
0 files changed, 0 insertions, 0 deletions