Navigation Menu

Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 19, 2018
1 parent b389ab8 commit 9f1c6c2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ha_mroonga.hpp
Expand Up @@ -234,9 +234,11 @@ extern "C" {
#endif

/* Note that MariaDB 10.2.2 and older MariaDB 10.2 series are not supported since 8.07 */
#if (MYSQL_VERSION_ID >= 100136 && defined(MRN_MARIADB_P)) || \
(MYSQL_VERSION_ID >= 100037 && MYSQL_VERSION_ID < 100100 && defined(MRN_MARIADB_P))
# define MRN_FOREIGN_KEY_USE_METHOD_ENUM
#ifdef MRN_MARIADB_P
# if (MYSQL_VERSION_ID >= 100037 && MYSQL_VERSION_ID < 100100) || \
(MYSQL_VERSION_ID >= 100136)
# define MRN_FOREIGN_KEY_USE_METHOD_ENUM
# endif
#endif

#if MYSQL_VERSION_ID < 50706 || defined(MRN_MARIADB_P)
Expand Down

0 comments on commit 9f1c6c2

Please sign in to comment.