summaryrefslogtreecommitdiff
path: root/plugin/daemon_example
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2014-03-14 16:29:23 +0200
committerMichael Widenius <monty@mariadb.org>2014-03-14 16:29:23 +0200
commitdd13db6f4ae70f45038c1d000cb1439e17170d98 (patch)
tree54f4631095339c004a572909a9909c291e16528d /plugin/daemon_example
parentbde11c1ab59c40be6043e156b0427e1d7105ec85 (diff)
downloadmariadb-git-dd13db6f4ae70f45038c1d000cb1439e17170d98.tar.gz
MDEV-5829: STOP SLAVE resets global status variables
Reason for the bug was an optimization for higher connect speed where we moved when global status was updated, but forgot to update states when slave thread dies. Fixed by adding thd->add_status_to_global() before deleting slave thread's thd. mysys/my_delete.c: Added missing newline sql/mysqld.cc: Use add_status_to_global() sql/slave.cc: Added missing add_status_to_global() sql/sql_class.cc: Use add_status_to_global() sql/sql_class.h: Simplify adding local status to global by adding add_status_to_global()
Diffstat (limited to 'plugin/daemon_example')
0 files changed, 0 insertions, 0 deletions