Kouhei Sutou
null+****@clear*****
Mon Jul 9 15:41:09 JST 2018
Kouhei Sutou 2018-07-09 15:41:09 +0900 (Mon, 09 Jul 2018) New Revision: a11bb9d9e70f09c7b45319792944d9def237b8d6 https://github.com/mroonga/mroonga/commit/a11bb9d9e70f09c7b45319792944d9def237b8d6 Message: mysql8: ORDER_ASC is top level Modified files: ha_mroonga.cpp Modified: ha_mroonga.cpp (+3 -1) =================================================================== --- ha_mroonga.cpp 2018-07-09 15:38:40 +0900 (1b27c77b) +++ ha_mroonga.cpp 2018-07-09 15:41:09 +0900 (341b4d72) @@ -172,7 +172,9 @@ static mysql_mutex_t *mrn_LOCK_open; # define MRN_ORDER_IS_ASC(order) ((order)->asc) # endif #else -# if MYSQL_VERSION_ID >= 50603 +# if MYSQL_VERSION_ID >= 80011 +# define MRN_ORDER_IS_ASC(order) ((order)->direction == ORDER_ASC) +# elif MYSQL_VERSION_ID >= 50603 # define MRN_ORDER_IS_ASC(order) ((order)->direction == ORDER::ORDER_ASC) # else # define MRN_ORDER_IS_ASC(order) ((order)->asc) -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180709/8737fb1d/attachment-0001.htm