Navigation Menu

Skip to content

Commit

Permalink
Move macro related to MySQL version to mrn_mysql_compat.h
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 18, 2015
1 parent 7efb8fc commit 149dc30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mrn_mysql.h
Expand Up @@ -58,12 +58,6 @@
# define MRN_MARIADB_P 1
#endif

#if MYSQL_VERSION_ID >= 50607
# if !defined(MRN_MARIADB_P)
# define MRN_HAVE_SQL_OPTIMIZER_H
# endif
#endif

#define MRN_MESSAGE_BUFFER_SIZE 1024

#define MRN_DBUG_ENTER_FUNCTION() DBUG_ENTER(__FUNCTION__)
Expand Down
6 changes: 6 additions & 0 deletions mrn_mysql_compat.h
Expand Up @@ -200,6 +200,12 @@
# define mrn_my_stpmov(dst, src) strmov(dst, src)
#endif

#if MYSQL_VERSION_ID >= 50607
# if !defined(MRN_MARIADB_P)
# define MRN_HAVE_SQL_OPTIMIZER_H
# endif
#endif

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

0 comments on commit 149dc30

Please sign in to comment.