[Groonga-mysql-commit] mroonga/mroonga at 8123914 [master] Add MYSQL50600 macro for set_ha_share_ref() function. refs #1959

Back to archive index

Kenji Maruyama null+****@clear*****
Thu Nov 14 13:35:54 JST 2013


Kenji Maruyama	2013-11-14 13:35:54 +0900 (Thu, 14 Nov 2013)

  New Revision: 81239140a3a14e7bdfcf7e8ce39323a8120ea46b
  https://github.com/mroonga/mroonga/commit/81239140a3a14e7bdfcf7e8ce39323a8120ea46b

  Message:
    Add MYSQL50600 macro for set_ha_share_ref() function. refs #1959
    
    set_ha_share_ref() function is implemented in MySQL 5.6.
    
    Reported by Kimura. Thanks!!!

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+2 -0)
===================================================================
--- ha_mroonga.cpp    2013-11-14 12:48:25 +0900 (2e01a18)
+++ ha_mroonga.cpp    2013-11-14 13:35:54 +0900 (554b1cc)
@@ -3809,7 +3809,9 @@ int ha_mroonga::wrapper_open(const char *name, int mode, uint test_if_locked)
       DBUG_RETURN(HA_ERR_OUT_OF_MEM);
     }
     wrap_handler->init();
+#if MYSQL_VERSION_ID >= 50600
     wrap_handler->set_ha_share_ref(&table->s->ha_share);
+#endif
     error = wrap_handler->ha_open(table, name, mode, test_if_locked);
   } else {
 #ifdef MRN_HANDLER_CLONE_NEED_NAME
-------------- next part --------------
HTML����������������������������...
Download 



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