Navigation Menu

Skip to content

Commit

Permalink
mysql57: follow LONGLONG_MAX name change
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 14, 2015
1 parent d5daa79 commit ae5f62a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cpp
Expand Up @@ -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,
Expand Down
4 changes: 4 additions & 0 deletions mrn_mysql_compat.h
Expand Up @@ -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_ */

0 comments on commit ae5f62a

Please sign in to comment.