[Groonga-mysql-commit] mroonga/mroonga at 63ec753 [master] Remove needless check for old MySQL

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jun 21 23:13:42 JST 2015


Kouhei Sutou	2015-06-21 23:13:42 +0900 (Sun, 21 Jun 2015)

  New Revision: 63ec753f34f139bf1104c2b43482f7795e3243cc
  https://github.com/mroonga/mroonga/commit/63ec753f34f139bf1104c2b43482f7795e3243cc

  Message:
    Remove needless check for old MySQL

  Modified files:
    ha_mroonga.cpp
    ha_mroonga.hpp

  Modified: ha_mroonga.cpp (+0 -2)
===================================================================
--- ha_mroonga.cpp    2015-06-21 23:12:48 +0900 (c910aa5)
+++ ha_mroonga.cpp    2015-06-21 23:13:42 +0900 (9a5c3a6)
@@ -346,11 +346,9 @@ static const char *mrn_inspect_thr_lock_type(enum thr_lock_type lock_type)
   case TL_WRITE_ALLOW_WRITE:
     inspected = "TL_WRITE_ALLOW_WRITE";
     break;
-#ifdef MRN_HAVE_TL_WRITE_ALLOW_READ
   case TL_WRITE_ALLOW_READ:
     inspected = "TL_WRITE_ALLOW_READ";
     break;
-#endif
 #ifdef MRN_HAVE_TL_WRITE_CONCURRENT_DEFAULT
   case TL_WRITE_CONCURRENT_DEFAULT:
     inspected = "TL_WRITE_CONCURRENT_DEFAULT";

  Modified: ha_mroonga.hpp (+0 -4)
===================================================================
--- ha_mroonga.hpp    2015-06-21 23:12:48 +0900 (471d2fb)
+++ ha_mroonga.hpp    2015-06-21 23:13:42 +0900 (ca357ee)
@@ -123,10 +123,6 @@ extern "C" {
 #  define MRN_FIELD_STORE_TIME_NEED_TYPE
 #endif
 
-#if MYSQL_VERSION_ID < 50500
-#  define MRN_HAVE_TL_WRITE_ALLOW_READ
-#endif
-
 #if MYSQL_VERSION_ID < 50706 || defined(MRN_MARIADB_P)
 #  define MRN_HAVE_TL_WRITE_DELAYED
 #endif
-------------- next part --------------
HTML����������������������������...
Download 



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