summaryrefslogtreecommitdiff
path: root/sql/sp_head.cc
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2009-11-23 17:57:21 +0100
committerMikael Ronstrom <mikael@mysql.com>2009-11-23 17:57:21 +0100
commit39703a1b933779436cbb2b0d2fcdd99a0864855b (patch)
tree7d0f1fe51118f6b5bff98f8af1bc2d11647e0fde /sql/sp_head.cc
parent0e613ab88486f275f2fed06dea3f85109d90e248 (diff)
downloadmariadb-git-39703a1b933779436cbb2b0d2fcdd99a0864855b.tar.gz
WL#5138, fixed review comments
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r--sql/sp_head.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index d0453c08a00..705fd2f702b 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -2736,9 +2736,7 @@ sp_lex_keeper::reset_lex_and_exec_core(THD *thd, uint *nextp,
*/
thd->lex= m_lex;
- my_atomic_rwlock_wrlock(&global_query_id_lock);
thd->query_id= next_query_id();
- my_atomic_rwlock_wrunlock(&global_query_id_lock);
if (thd->prelocked_mode == NON_PRELOCKED)
{