Kouhei Sutou
null+****@clear*****
Mon Jul 9 15:33:03 JST 2018
Kouhei Sutou 2018-07-09 15:33:03 +0900 (Mon, 09 Jul 2018) New Revision: 71210cde85910959e272c6b4168fa495e99e47e0 https://github.com/mroonga/mroonga/commit/71210cde85910959e272c6b4168fa495e99e47e0 Message: mysql8: Field::unireg_check is renamed to auto_flags Modified files: ha_mroonga.cpp mrn_mysql_compat.h Modified: ha_mroonga.cpp (+4 -0) =================================================================== --- ha_mroonga.cpp 2018-07-09 15:26:09 +0900 (02966f94) +++ ha_mroonga.cpp 2018-07-09 15:33:03 +0900 (7a13b7ca) @@ -12635,7 +12635,11 @@ int ha_mroonga::storage_encode_key_set(Field *field, const uchar *key, field->field_length, (uchar *)(key - 1), field->null_bit, +#ifdef MRN_FIELD_HAVE_AUTO_FLAGS + field->auto_flags, +#else field->unireg_check, +#endif #ifdef MRN_FIELD_SET_USE_LEX_STRING &(field->field_name), #else Modified: mrn_mysql_compat.h (+4 -0) =================================================================== --- mrn_mysql_compat.h 2018-07-09 15:26:09 +0900 (bb580d47) +++ mrn_mysql_compat.h 2018-07-09 15:33:03 +0900 (b1891b29) @@ -700,3 +700,7 @@ #else typedef st_select_lex mrn_select_lex; #endif + +#if MYSQL_VERSION_ID >= 80011 && !defined(MRN_MARIADB_P) +# define MRN_FIELD_HAVE_AUTO_FLAGS +#endif -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180709/88d97b78/attachment.htm