diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2018-06-27 15:34:11 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2018-06-27 17:25:26 +0400 |
commit | 9d41dd2f39f5a0c840d77e5fb7fc8d1396bf1a33 (patch) | |
tree | bbebee9a49db1e76d550ea778637949f653f8263 /dbug/example2.c | |
parent | 937c19318819f63d72a66dac5a60c638386512d6 (diff) | |
download | mariadb-git-9d41dd2f39f5a0c840d77e5fb7fc8d1396bf1a33.tar.gz |
MDEV-8540 - Crash on server shutdown since 10.0.16
For the purpose of reporting an error to error log, shutdown thread was
attempting to access current_thd->variables.lc_messages->errmsgs->errmsgs.
Whereas current_thd was NULL.
We should log errors according to global lc_messages setting instead of
session setting.
Diffstat (limited to 'dbug/example2.c')
0 files changed, 0 insertions, 0 deletions