summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael.ronstrom@oracle.com>2011-04-20 15:07:19 +0200
committerMikael Ronstrom <mikael.ronstrom@oracle.com>2011-04-20 15:07:19 +0200
commit8486212a24baaa73a22fffbc01e61c6737443b46 (patch)
treed81501e0ee0d5cb3accc8a86c2257dc0ee66ec18 /sql/sql_class.cc
parent50b5f456c1d473bb06206858a3d1544c4dd25687 (diff)
downloadmariadb-git-8486212a24baaa73a22fffbc01e61c6737443b46.tar.gz
Fixed missing change of thd_unlock_connection_data to thd_unlock_thread_count
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r--sql/sql_class.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index dd245d6ccab..026166726b2 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -359,7 +359,7 @@ void thd_new_connection_setup(THD *thd, char *stack_start)
thd->prior_thr_create_utime= thd->thr_create_utime= thd->start_utime=
my_micro_time();
threads.append(thd);
- thd_unlock_connection_data(thd);
+ thd_unlock_thread_count(thd);
DBUG_PRINT("info", ("init new connection. thd: 0x%lx fd: %d",
(ulong)thd, thd->net.vio->sd));
thd_set_thread_stack(thd, stack_start);