[Groonga-mysql-commit] mroonga/mroonga at 17ec55f [master] Remove needless unlock

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jun 11 16:31:53 JST 2013


Kouhei Sutou	2013-06-11 16:31:53 +0900 (Tue, 11 Jun 2013)

  New Revision: 17ec55f9977711e9c4a4e8d3d9d07de28a1a8006
  https://github.com/mroonga/mroonga/commit/17ec55f9977711e9c4a4e8d3d9d07de28a1a8006

  Message:
    Remove needless unlock

  Modified files:
    mrn_table.cpp

  Modified: mrn_table.cpp (+0 -1)
===================================================================
--- mrn_table.cpp    2013-06-11 16:30:46 +0900 (23829d3)
+++ mrn_table.cpp    2013-06-11 16:31:53 +0900 (51b51c9)
@@ -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);
     }
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-mysql-commit mailing list
Back to archive index