Navigation Menu

Skip to content

Commit

Permalink
[mariadb] close() is protected.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 27, 2011
1 parent d6f85db commit 54dac7d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ha_mroonga.h
Expand Up @@ -32,6 +32,10 @@ extern "C" {
#include <groonga.h>
#include "mrn_sys.h"

#ifdef MARIADB_BASE_VERSION
# define MRN_MARIADB_P 1
#endif

#if (MYSQL_VERSION_ID >= 50603) || \
(MYSQL_VERSION_ID >= 50513 && MYSQL_VERSION_ID < 50600) || \
(MYSQL_VERSION_ID >= 50158 && MYSQL_VERSION_ID < 50500)
Expand All @@ -43,7 +47,8 @@ extern "C" {
# define MRN_HANDLER_HAVE_ADD_INDEX 1
#endif

#if MYSQL_VERSION_ID >= 50600
#if (MYSQL_VERSION_ID >= 50600) || \
(defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 50302)
# define MRN_HANDLER_HAVE_HA_CLOSE 1
# define MRN_HANDLER_HAVE_HA_RND_NEXT 1
# define MRN_HANDLER_HAVE_HA_RND_POS 1
Expand Down

0 comments on commit 54dac7d

Please sign in to comment.