Kouhei Sutou
null+****@clear*****
Thu Oct 4 10:46:56 JST 2012
Kouhei Sutou 2012-02-11 21:50:53 +0900 (Sat, 11 Feb 2012) New Revision: ff1b0cd5f7fe0150474df30324dfca1b2522ac45 https://github.com/mroonga/mroonga/commit/ff1b0cd5f7fe0150474df30324dfca1b2522ac45 Log: [mysql51] fix build failure. Modified files: ha_mroonga.cc ha_mroonga.h Modified: ha_mroonga.cc (+5 -0) =================================================================== --- ha_mroonga.cc 2012-02-10 11:21:53 +0900 (68ef215) +++ ha_mroonga.cc 2012-02-11 21:50:53 +0900 (dacf30f) @@ -364,6 +364,11 @@ 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 case TL_WRITE_CONCURRENT_INSERT: inspected = "TL_WRITE_CONCURRENT_INSERT"; break; Modified: ha_mroonga.h (+4 -0) =================================================================== --- ha_mroonga.h 2012-02-10 11:21:53 +0900 (c6d7e9b) +++ ha_mroonga.h 2012-02-11 21:50:53 +0900 (1618737) @@ -118,6 +118,10 @@ extern "C" { # define MRN_FIELD_STORE_TIME_NEED_TYPE #endif +#if MYSQL_VERSION_ID < 50500 +# define MRN_HAVE_TL_WRITE_ALLOW_READ +#endif + class ha_mroonga; /* structs */ -------------- next part -------------- HTML����������������������������...下載