Navigation Menu

Skip to content

Commit

Permalink
mysql57: follow handlerton::flush_logs API change
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 14, 2015
1 parent ae5f62a commit 767675f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ha_mroonga.cpp
Expand Up @@ -1145,7 +1145,11 @@ static int mrn_close_connection(handlerton *hton, THD *thd)
DBUG_RETURN(0);
}

#ifdef MRN_FLUSH_LOGS_HAVE_BINLOG_GROUP_FLUSH
static bool mrn_flush_logs(handlerton *hton, bool binlog_group_flush)
#else
static bool mrn_flush_logs(handlerton *hton)
#endif
{
MRN_DBUG_ENTER_FUNCTION();
bool result = 0;
Expand Down
4 changes: 4 additions & 0 deletions ha_mroonga.hpp
Expand Up @@ -205,6 +205,10 @@ extern "C" {
# define MRN_SUPPORT_PARTITION
#endif

#if MYSQL_VERSION_ID >= 50706 && !defined(MRN_MARIADB_P)
# define MRN_FLUSH_LOGS_HAVE_BINLOG_GROUP_FLUSH
#endif

class ha_mroonga;

/* structs */
Expand Down

0 comments on commit 767675f

Please sign in to comment.