diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-10-05 22:07:19 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-10-05 22:07:19 +0200 |
commit | 3050b290d5123af0bfa7abf94570b3c8e1ca05df (patch) | |
tree | 63a2fc2677d40dd2c763354a8bf64f3e50a97219 /plugin | |
parent | 44f9ddd7a27a8e998726c9808bf003f39c7cb67f (diff) | |
download | mariadb-git-3050b290d5123af0bfa7abf94570b3c8e1ca05df.tar.gz |
fix main.mysqldump test failing after Mroonga merge.
mysqlimport had code for multi-threaded import. By mistake it was disabled for
many years, at least since 5.5 (more likely even in 5.1), but mysqlimport happily
accepted (and ignored) --use-threads option ever since.
After Mroonga merge HAVE_LIBPTHREAD became defined and multi-threaded import
suddenly came to life. As it exit() the program brutally on any error (never mind
that some import threads may be running) mysys rightfully complains. Safemalloc
complains too in debug builds.
Fix: don't try a clean exit on an error, don't shutdown mysys and tell safemalloc
to shut up. Yes, and remove #ifdef HAVE_LIBPTHREAD, since 5.5 the client library
is always multi-threaded.
Diffstat (limited to 'plugin')
0 files changed, 0 insertions, 0 deletions