diff options
author | hf@genie.(none) <> | 2003-03-31 13:39:46 +0500 |
---|---|---|
committer | hf@genie.(none) <> | 2003-03-31 13:39:46 +0500 |
commit | f8f0b703808f19b788b57c8c35c9aa0147b48b7f (patch) | |
tree | f4464e6b282d974ae15bcac10865fa2b4d457ae4 /sql/sql_repl.h | |
parent | d00b3ba511bd49341dd3bbcc846c9ddad11a8c2d (diff) | |
download | mariadb-git-f8f0b703808f19b788b57c8c35c9aa0147b48b7f.tar.gz |
SCRUM
two KILL commands implementation (version 2)
Diffstat (limited to 'sql/sql_repl.h')
-rw-r--r-- | sql/sql_repl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_repl.h b/sql/sql_repl.h index e3d600b9798..cf5d2387ca5 100644 --- a/sql/sql_repl.h +++ b/sql/sql_repl.h @@ -20,7 +20,7 @@ extern I_List<i_string> binlog_do_db, binlog_ignore_db; extern int max_binlog_dump_events; extern my_bool opt_sporadic_binlog_dump_fail; -#define KICK_SLAVE(thd) { pthread_mutex_lock(&(thd)->LOCK_delete); (thd)->awake(0 /* do not prepare to die*/); pthread_mutex_unlock(&(thd)->LOCK_delete); } +#define KICK_SLAVE(thd) { pthread_mutex_lock(&(thd)->LOCK_delete); (thd)->awake(THD::NOT_KILLED); pthread_mutex_unlock(&(thd)->LOCK_delete); } File open_binlog(IO_CACHE *log, const char *log_file_name, const char **errmsg); |