summaryrefslogtreecommitdiff
path: root/plugin/handler_socket/handlersocket
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2011-09-26 23:54:00 +0300
committerMichael Widenius <monty@askmonty.org>2011-09-26 23:54:00 +0300
commitc85d1efc82ef9c946d77424ab58e4e760a392822 (patch)
tree44adbb2ba60761aee046df6fd57109fa79762711 /plugin/handler_socket/handlersocket
parent5c8305651d171fb627adc7907ebfb4db5ea1e57b (diff)
parent7800d93bc3caca0143334941f626dc6aa3ff2b26 (diff)
downloadmariadb-git-c85d1efc82ef9c946d77424ab58e4e760a392822.tar.gz
Automatic merge
Diffstat (limited to 'plugin/handler_socket/handlersocket')
-rw-r--r--plugin/handler_socket/handlersocket/database.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin/handler_socket/handlersocket/database.cpp b/plugin/handler_socket/handlersocket/database.cpp
index f63f011d9b1..311eec55fa8 100644
--- a/plugin/handler_socket/handlersocket/database.cpp
+++ b/plugin/handler_socket/handlersocket/database.cpp
@@ -246,11 +246,11 @@ wait_server_to_start(THD *thd, volatile int& shutdown_flag)
&abstime);
pthread_mutex_unlock(&LOCK_server_started);
pthread_mutex_lock(&thd->mysys_var->mutex);
- THD::killed_state st = thd->killed;
+ killed_state st = thd->killed;
pthread_mutex_unlock(&thd->mysys_var->mutex);
DBG_SHUT(fprintf(stderr, "HNDSOCK wsts kst %d\n", (int)st));
pthread_mutex_lock(&LOCK_server_started);
- if (st != THD::NOT_KILLED) {
+ if (st != NOT_KILLED) {
DBG_SHUT(fprintf(stderr, "HNDSOCK wsts kst %d break\n", (int)st));
r = -1;
break;
@@ -357,11 +357,11 @@ bool
dbcontext::check_alive()
{
pthread_mutex_lock(&thd->mysys_var->mutex);
- THD::killed_state st = thd->killed;
+ killed_state st = thd->killed;
pthread_mutex_unlock(&thd->mysys_var->mutex);
DBG_SHUT(fprintf(stderr, "chk HNDSOCK kst %p %p %d %zu\n", thd, &thd->killed,
(int)st, sizeof(*thd)));
- if (st != THD::NOT_KILLED) {
+ if (st != NOT_KILLED) {
DBG_SHUT(fprintf(stderr, "chk HNDSOCK kst %d break\n", (int)st));
return false;
}