Skip to content

Commit

Permalink
post-merge fixes for ec47bea
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed Sep 12, 2016
1 parent 025c4ec commit ec59220
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion sql/mysqld.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10301,7 +10301,8 @@ PSI_stage_info *all_server_stages[]=
& stage_master_gtid_wait,
& stage_gtid_wait_other_connection,
& stage_slave_background_process_request,
& stage_slave_background_wait_request
& stage_slave_background_wait_request,
& stage_waiting_for_deadlock_kill
};

PSI_socket_key key_socket_tcpip, key_socket_unix, key_socket_client_connection;
Expand Down
1 change: 1 addition & 0 deletions sql/slave.cc
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ handle_slave_background(void *arg __attribute__((unused)))

delete thd;
thread_safe_decrement32(&service_thread_count);
signal_thd_deleted();

my_thread_end();
return 0;
Expand Down
5 changes: 2 additions & 3 deletions sql/sql_class.h
Original file line number Diff line number Diff line change
Expand Up @@ -1529,8 +1529,7 @@ enum enum_thread_type
SYSTEM_THREAD_EVENT_SCHEDULER= 8,
SYSTEM_THREAD_EVENT_WORKER= 16,
SYSTEM_THREAD_BINLOG_BACKGROUND= 32,
SYSTEM_THREAD_SLAVE_INIT= 64,
SYSTEM_THREAD_SLAVE_BACKGROUND= 128
SYSTEM_THREAD_SLAVE_BACKGROUND= 64
};

inline char const *
Expand All @@ -1545,7 +1544,7 @@ show_system_thread(enum_thread_type thread)
RETURN_NAME_AS_STRING(SYSTEM_THREAD_SLAVE_SQL);
RETURN_NAME_AS_STRING(SYSTEM_THREAD_EVENT_SCHEDULER);
RETURN_NAME_AS_STRING(SYSTEM_THREAD_EVENT_WORKER);
RETURN_NAME_AS_STRING(SYSTEM_THREAD_SLAVE_INIT);
RETURN_NAME_AS_STRING(SYSTEM_THREAD_SLAVE_BACKGROUND);
default:
sprintf(buf, "<UNKNOWN SYSTEM THREAD: %d>", thread);
return buf;
Expand Down

0 comments on commit ec59220

Please sign in to comment.