Navigation Menu

Skip to content

Commit

Permalink
mariadb: follow auto_repair() signature change in 5.3.6
Browse files Browse the repository at this point in the history
fixes #1339
  • Loading branch information
fdiary committed Apr 27, 2012
1 parent 8e3f251 commit 1c3e9a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ha_mroonga.hpp
Expand Up @@ -129,7 +129,9 @@ extern "C" {
# define MRN_HAVE_TL_WRITE_ALLOW_READ
#endif

#if (defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 50523)
#if (defined(MRN_MARIADB_P) && \
((MYSQL_VERSION_ID >= 50306 && MYSQL_VERSION_ID < 50500) || \
MYSQL_VERSION_ID >= 50523))
# define MRN_HANDLER_AUTO_REPAIR_HAVE_ERROR
#endif

Expand Down

0 comments on commit 1c3e9a4

Please sign in to comment.