Kouhei Sutou
null+****@clear*****
Tue Aug 15 09:49:17 JST 2017
Kouhei Sutou 2017-08-15 09:49:17 +0900 (Tue, 15 Aug 2017) New Revision: 955b8a6ebccb9d58220e1f94c8d31616eee9e56a https://github.com/mroonga/mroonga/commit/955b8a6ebccb9d58220e1f94c8d31616eee9e56a Message: Simplify Modified files: mrn_mysql_compat.h Modified: mrn_mysql_compat.h (+2 -2) =================================================================== --- mrn_mysql_compat.h 2017-08-15 09:22:37 +0900 (7faa11d9) +++ mrn_mysql_compat.h 2017-08-15 09:49:17 +0900 (80ceaa68) @@ -436,7 +436,7 @@ # define MRN_SUPPORT_GENERATED_COLUMNS #endif -#if defined(HA_CAN_VIRTUAL_COLUMNS) +#ifdef MRN_MARIADB_P # if (MYSQL_VERSION_ID >= 100200) # define MRN_GENERATED_COLUMNS_FIELD_IS_VIRTUAL(field) \ (!field->stored_in_db()) @@ -446,7 +446,7 @@ # else # define MRN_GENERATED_COLUMNS_FIELD_IS_VIRTUAL(field) false # endif -#elif defined(HA_GENERATED_COLUMNS) +#else # if (MYSQL_VERSION_ID >= 50708) # define MRN_GENERATED_COLUMNS_FIELD_IS_VIRTUAL(field) \ (field->is_virtual_gcol()) -------------- next part -------------- HTML����������������������������...下载