Kouhei Sutou
null+****@clear*****
Sat Mar 14 23:58:06 JST 2015
Kouhei Sutou 2015-03-14 23:58:06 +0900 (Sat, 14 Mar 2015) New Revision: ae5f62a4f4e7f8d07c4ccfb0a660d8e922878b85 https://github.com/mroonga/mroonga/commit/ae5f62a4f4e7f8d07c4ccfb0a660d8e922878b85 Message: mysql57: follow LONGLONG_MAX name change Modified files: ha_mroonga.cpp mrn_mysql_compat.h Modified: ha_mroonga.cpp (+1 -1) =================================================================== --- ha_mroonga.cpp 2015-03-14 23:54:41 +0900 (450fce6) +++ ha_mroonga.cpp 2015-03-14 23:58:06 +0900 (54eb219) @@ -836,7 +836,7 @@ static MYSQL_THDVAR_LONGLONG(match_escalation_threshold, NULL, grn_get_default_match_escalation_threshold(), -1, - LONGLONG_MAX, + INT_MAX64, 0); static void mrn_vector_column_delimiter_update(THD *thd, struct st_mysql_sys_var *var, Modified: mrn_mysql_compat.h (+4 -0) =================================================================== --- mrn_mysql_compat.h 2015-03-14 23:54:41 +0900 (9ae6b9a) +++ mrn_mysql_compat.h 2015-03-14 23:58:06 +0900 (464e0ea) @@ -167,4 +167,8 @@ # define MRN_THD_DB_PATH(thd) ((thd)->db) #endif +#ifndef INT_MAX64 +# define INT_MAX64 LONGLONG_MAX +#endif + #endif /* MRN_MYSQL_COMPAT_H_ */ -------------- next part -------------- HTML����������������������������... Download