Kouhei Sutou
null+****@clear*****
Fri Jul 21 13:45:06 JST 2017
Kouhei Sutou 2017-07-21 13:45:06 +0900 (Fri, 21 Jul 2017) New Revision: d16cebbcbefff8d1968c47d08a8cb8cf98600e86 https://github.com/mroonga/mroonga/commit/d16cebbcbefff8d1968c47d08a8cb8cf98600e86 Message: Add parenthesis Modified files: mrn_mysql_compat.h Modified: mrn_mysql_compat.h (+6 -6) =================================================================== --- mrn_mysql_compat.h 2017-07-21 13:44:52 +0900 (4e8af65) +++ mrn_mysql_compat.h 2017-07-21 13:45:06 +0900 (83eeef8) @@ -395,13 +395,13 @@ #endif #if (!defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 80002) -# define ITEM_SUM_GET_NEST_LEVEL(sum_item) sum_item->base_select->next_level -# define ITEM_SUM_GET_AGGR_LEVEL(sum_item) sum_item->aggr_select->next_level -# define ITEM_SUM_GET_MAX_AGGR_LEVEL(sum_item) sum_item->max_aggr_level +# define ITEM_SUM_GET_NEST_LEVEL(sum_item) (sum_item)->base_select->next_level +# define ITEM_SUM_GET_AGGR_LEVEL(sum_item) (sum_item)->aggr_select->next_level +# define ITEM_SUM_GET_MAX_AGGR_LEVEL(sum_item) (sum_item)->max_aggr_level #else -# define ITEM_SUM_GET_NEST_LEVEL(sum_item) sum_item->next_level -# define ITEM_SUM_GET_AGGR_LEVEL(sum_item) sum_item->aggr_level -# define ITEM_SUM_GET_MAX_AGGR_LEVEL(sum_item) sum_item->max_arg_level +# define ITEM_SUM_GET_NEST_LEVEL(sum_item) (sum_item)->nest_level +# define ITEM_SUM_GET_AGGR_LEVEL(sum_item) (sum_item)->aggr_level +# define ITEM_SUM_GET_MAX_AGGR_LEVEL(sum_item) (sum_item)->max_arg_level #endif #endif /* MRN_MYSQL_COMPAT_H_ */ -------------- next part -------------- HTML����������������������������...Download