[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] move lock_data_init position

Back to archive index

Kentoku null+****@clear*****
Thu Oct 4 10:33:18 JST 2012


Kentoku	2011-12-08 03:11:04 +0900 (Thu, 08 Dec 2011)

  New Revision: 28308db222c5d197cc0087e9cae40904b878aa74
  https://github.com/mroonga/mroonga/commit/28308db222c5d197cc0087e9cae40904b878aa74

  Log:
    move lock_data_init position

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+1 -1)
===================================================================
--- ha_mroonga.cc    2011-12-07 23:59:24 +0900 (4d9bde9)
+++ ha_mroonga.cc    2011-12-08 03:11:04 +0900 (a99e429)
@@ -2617,10 +2617,10 @@ int ha_mroonga::open(const char *name, int mode, uint test_if_locked)
 {
   int error = 0;
   MRN_DBUG_ENTER_METHOD();
-  thr_lock_data_init(&share->lock,&thr_lock_data,NULL);
 
   if (!(share = mrn_get_share(name, table, &error)))
     DBUG_RETURN(error);
+  thr_lock_data_init(&share->lock,&thr_lock_data,NULL);
 
   if (share->wrapper_mode)
   {
-------------- next part --------------
HTML����������������������������...
다운로드 



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