diff options
author | Michael Widenius <monty@askmonty.org> | 2011-09-26 23:54:00 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2011-09-26 23:54:00 +0300 |
commit | c85d1efc82ef9c946d77424ab58e4e760a392822 (patch) | |
tree | 44adbb2ba60761aee046df6fd57109fa79762711 /sql/sql_repl.cc | |
parent | 5c8305651d171fb627adc7907ebfb4db5ea1e57b (diff) | |
parent | 7800d93bc3caca0143334941f626dc6aa3ff2b26 (diff) | |
download | mariadb-git-c85d1efc82ef9c946d77424ab58e4e760a392822.tar.gz |
Automatic merge
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r-- | sql/sql_repl.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc index 02b0fea09a5..e7363bffa9a 100644 --- a/sql/sql_repl.cc +++ b/sql/sql_repl.cc @@ -1277,9 +1277,9 @@ err: idle, then this could last long, and if the slave reconnects, we could have 2 Binlog_dump threads in SHOW PROCESSLIST, until a query is written to the binlog. To avoid this, when the slave reconnects and sends COM_BINLOG_DUMP, - the master kills any existing thread with the slave's server id (if this id is - not zero; it will be true for real slaves, but false for mysqlbinlog when it - sends COM_BINLOG_DUMP to get a remote binlog dump). + the master kills any existing thread with the slave's server id (if this id + is not zero; it will be true for real slaves, but false for mysqlbinlog when + it sends COM_BINLOG_DUMP to get a remote binlog dump). SYNOPSIS kill_zombie_dump_threads() @@ -1311,7 +1311,7 @@ void kill_zombie_dump_threads(uint32 slave_server_id) it will be slow because it will iterate through the list again. We just to do kill the thread ourselves. */ - tmp->awake(THD::KILL_QUERY); + tmp->awake(KILL_QUERY); pthread_mutex_unlock(&tmp->LOCK_thd_data); } } |