summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 6c6c8ac7c9f..6798d15cdef 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -840,7 +840,7 @@ end:
delete thd;
#ifndef EMBEDDED_LIBRARY
- thread_safe_decrement32(&thread_count, &thread_count_lock);
+ thread_safe_decrement32(&thread_count);
in_bootstrap= FALSE;
mysql_mutex_lock(&LOCK_thread_count);