Kouhei Sutou
null+****@clear*****
Thu Oct 4 11:04:21 JST 2012
Kouhei Sutou 2011-12-28 10:18:54 +0900 (Wed, 28 Dec 2011) New Revision: b9262b7b03fe1a2371441accc0d45a72d2f75eb0 https://github.com/mroonga/mroonga/commit/b9262b7b03fe1a2371441accc0d45a72d2f75eb0 Log: [mariadb53] add MariaDB specific extra options. Modified files: ha_mroonga.cc ha_mroonga.h Modified: ha_mroonga.cc (+10 -0) =================================================================== --- ha_mroonga.cc 2011-12-28 10:11:28 +0900 (86b72f2) +++ ha_mroonga.cc 2011-12-28 10:18:54 +0900 (1b52c93) @@ -435,6 +435,16 @@ static const char *mrn_inspect_extra_function(enum ha_extra_function operation) case HA_EXTRA_DETACH_CHILDREN: inspected = "HA_EXTRA_DETACH_CHILDREN"; break; +#ifdef MRN_HAVE_HA_EXTRA_DETACH_CHILD + case HA_EXTRA_DETACH_CHILD: + inspected = "HA_EXTRA_DETACH_CHILD"; + break; +#endif +#ifdef MRN_HAVE_HA_EXTRA_PREPARE_FOR_FORCED_CLOSE + case HA_EXTRA_PREPARE_FOR_FORCED_CLOSE: + inspected = "HA_EXTRA_PREPARE_FOR_FORCED_CLOSE"; + break; +#endif } return inspected; } Modified: ha_mroonga.h (+5 -0) =================================================================== --- ha_mroonga.h 2011-12-28 10:11:28 +0900 (f72f163) +++ ha_mroonga.h 2011-12-28 10:18:54 +0900 (354aae5) @@ -101,6 +101,11 @@ extern "C" { # define MRN_HAVE_HA_EXTRA_IS_ATTACHED_CHILDREN #endif +#ifdef MRN_MARIADB_P +# define MRN_HAVE_HA_EXTRA_DETACH_CHILD +# define MRN_HAVE_HA_EXTRA_PREPARE_FOR_FORCED_CLOSE +#endif + class ha_mroonga; /* structs */ -------------- next part -------------- HTML����������������������������...Download