Navigation Menu

Skip to content

Commit

Permalink
Add binlog.h existent check
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 18, 2015
1 parent b2b9795 commit 7efb8fc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ha_mroonga.cpp
Expand Up @@ -36,7 +36,10 @@

#include <sql_select.h>
#include <item_sum.h>
#include <binlog.h>

#ifdef MRN_HAVE_BINLOG_H
# include <binlog.h>
#endif

#ifdef MRN_HAVE_SQL_OPTIMIZER_H
# include <sql_optimizer.h>
Expand Down
4 changes: 4 additions & 0 deletions mrn_mysql_compat.h
Expand Up @@ -200,4 +200,8 @@
# define mrn_my_stpmov(dst, src) strmov(dst, src)
#endif

#if MYSQL_VERSION_ID >= 50600 && !defined(MRN_MARIADB_P)
# define MRN_HAVE_BINGLOG_H
#endif

#endif /* MRN_MYSQL_COMPAT_H_ */

0 comments on commit 7efb8fc

Please sign in to comment.