-
Alexander Barkov authored
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.
a36048d1