Navigation Menu

Skip to content

Commit

Permalink
Remove needless unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 11, 2013
1 parent 01071d6 commit 17ec55f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mrn_table.cpp
Expand Up @@ -1051,7 +1051,6 @@ st_mrn_slot_data *mrn_get_slot_data(THD *thd, bool can_create)
mrn::Lock lock(&mrn_allocated_thds_mutex);
if (my_hash_insert(&mrn_allocated_thds, (uchar*) thd))
{
pthread_mutex_unlock(&mrn_allocated_thds_mutex);
free(slot_data);
DBUG_RETURN(NULL);
}
Expand Down

0 comments on commit 17ec55f

Please sign in to comment.