Navigation Menu

Skip to content

Commit

Permalink
mariadb10.3.4: support inspecting newly added operation
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 26, 2018
1 parent b494a85 commit fdc0ec5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ha_mroonga.cpp
Expand Up @@ -581,6 +581,11 @@ static const char *mrn_inspect_extra_function(enum ha_extra_function operation)
case HA_EXTRA_PREPARE_FOR_ALTER_TABLE:
inspected = "HA_EXTRA_PREPARE_FOR_ALTER_TABLE";
break;
#endif
#ifdef MRN_HAVE_HA_EXTRA_STARTING_ORDERED_INDEX_SCAN
case HA_EXTRA_STARTING_ORDERED_INDEX_SCAN:
inspected = "HA_EXTRA_STARTING_ORDERED_INDEX_SCAN";
break;
#endif
}
return inspected;
Expand Down
4 changes: 4 additions & 0 deletions ha_mroonga.hpp
Expand Up @@ -130,6 +130,10 @@ extern "C" {
# define MRN_HAVE_HA_EXTRA_PREPARE_FOR_ALTER_TABLE
#endif

#if MYSQL_VERSION_ID >= 100304 && defined(MRN_MARIADB_P)
# define MRN_HAVE_HA_EXTRA_STARTING_ORDERED_INDEX_SCAN
#endif

#if MYSQL_VERSION_ID >= 50604 && !defined(MRN_MARIADB_P)
# define MRN_TIMESTAMP_USE_TIMEVAL
#elif defined(MRN_MARIADB_P)
Expand Down

0 comments on commit fdc0ec5

Please sign in to comment.