Kouhei Sutou
null+****@clear*****
Sun Dec 24 13:53:59 JST 2017
Kouhei Sutou 2017-12-24 13:53:59 +0900 (Sun, 24 Dec 2017) New Revision: 0ac67acd199d5496d101f9933d979a680f38b1ce https://github.com/mroonga/mroonga/commit/0ac67acd199d5496d101f9933d979a680f38b1ce Message: mariadb10.3: support new HA_EXTRA_PREPARE_FOR_ALTER_TABLE Modified files: ha_mroonga.cpp ha_mroonga.hpp Modified: ha_mroonga.cpp (+5 -0) =================================================================== --- ha_mroonga.cpp 2017-12-24 13:37:49 +0900 (d4d813e9) +++ ha_mroonga.cpp 2017-12-24 13:53:59 +0900 (d1ed579e) @@ -578,6 +578,11 @@ static const char *mrn_inspect_extra_function(enum ha_extra_function operation) inspected = "HA_EXTRA_NO_AUTOINC_LOCKING"; break; #endif +#ifdef MRN_HAVE_HA_EXTRA_PREPARE_FOR_ALTER_TABLE + case HA_EXTRA_PREPARE_FOR_ALTER_TABLE: + inspected = "HA_EXTRA_PREPARE_FOR_ALTER_TABLE"; + break; +#endif } return inspected; } Modified: ha_mroonga.hpp (+4 -0) =================================================================== --- ha_mroonga.hpp 2017-12-24 13:37:49 +0900 (3cbf4265) +++ ha_mroonga.hpp 2017-12-24 13:53:59 +0900 (128c7233) @@ -126,6 +126,10 @@ extern "C" { # define MRN_HAVE_HA_EXTRA_SECONDARY_SORT_ROWID #endif +#if MYSQL_VERSION_ID >= 100302 && defined(MRN_MARIADB_P) +# define MRN_HAVE_HA_EXTRA_PREPARE_FOR_ALTER_TABLE +#endif + #if MYSQL_VERSION_ID >= 50604 && !defined(MRN_MARIADB_P) # define MRN_TIMESTAMP_USE_TIMEVAL #elif defined(MRN_MARIADB_P) -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20171224/b3d6285e/attachment-0001.htm