summaryrefslogtreecommitdiff
path: root/sql/scheduler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/scheduler.cc')
-rw-r--r--sql/scheduler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/scheduler.cc b/sql/scheduler.cc
index 5f24495059f..a4b9dd0c34a 100644
--- a/sql/scheduler.cc
+++ b/sql/scheduler.cc
@@ -112,7 +112,7 @@ void post_kill_notification(THD *thd)
void one_thread_per_connection_scheduler(scheduler_functions *func,
ulong *arg_max_connections,
- uint *arg_connection_count)
+ Atomic_counter<uint> *arg_connection_count)
{
scheduler_init();
func->max_threads= *arg_max_connections + 1;