diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-10-07 20:28:33 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-10-10 22:27:36 +0200 |
commit | 8596b70f96fc543c2e1cac4bc8cbe58dcc4004e5 (patch) | |
tree | 97cbad5b3a374450947696f6d635a80878b9c321 /include/wsrep.h | |
parent | d103e359f875e53b7e34fe0c0d58ba9f36b9af50 (diff) | |
download | mariadb-git-8596b70f96fc543c2e1cac4bc8cbe58dcc4004e5.tar.gz |
cleanup: simplify the usage of WSREP_FORMAT macro
Diffstat (limited to 'include/wsrep.h')
-rw-r--r-- | include/wsrep.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/wsrep.h b/include/wsrep.h index 443806e4c64..a91f312d0a6 100644 --- a/include/wsrep.h +++ b/include/wsrep.h @@ -22,14 +22,6 @@ #define IF_WSREP(A,B) A #define DBUG_ASSERT_IF_WSREP(A) DBUG_ASSERT(A) -#if !defined(EMBEDDED_LIBRARY) -#define WSREP_FORMAT(my_format) \ - ((wsrep_forced_binlog_format != BINLOG_FORMAT_UNSPEC) ? \ - ((enum enum_binlog_format)wsrep_forced_binlog_format) : my_format) -#else -#define WSREP_FORMAT(my_format) my_format -#endif /* && !EMBEDDED_LIBRARY */ - #define WSREP_MYSQL_DB (char *)"mysql" #define WSREP_TO_ISOLATION_BEGIN(db_, table_, table_list_) \ if (WSREP_ON && WSREP(thd) && wsrep_to_isolation_begin(thd, db_, table_, table_list_)) \ @@ -52,7 +44,6 @@ #define WSREP_INFO(...) #define WSREP_WARN(...) #define WSREP_ERROR(...) -#define WSREP_FORMAT(my_format) my_format #define WSREP_TO_ISOLATION_BEGIN(db_, table_, table_list_) #define WSREP_TO_ISOLATION_END #endif |