Navigation Menu

Skip to content

Commit

Permalink
mariadb10.1: follow the field type change
Browse files Browse the repository at this point in the history
Since MariaDB 10.1.36, the following field in FOREIGN_KEY_INFO is
changed.

LEX_STRING *update_method ->
enum_fk_option update_method
  • Loading branch information
kenhys committed Sep 26, 2018
1 parent 2d85456 commit e32fbf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ha_mroonga.hpp
Expand Up @@ -233,7 +233,8 @@ extern "C" {
# define MRN_HAVE_HTON_ALTER_TABLE_FLAGS
#endif

#if MYSQL_VERSION_ID >= 100203 && defined(MRN_MARIADB_P)
#if ((MYSQL_VERSION_ID >= 100203 && defined(MRN_MARIADB_P)) || \
(MYSQL_VERSION_ID >= 100136 && defined(MRN_MARIADB_P)))
# define MRN_FOREIGN_KEY_USE_METHOD_ENUM
#endif

Expand Down

0 comments on commit e32fbf8

Please sign in to comment.