Fix qc compare.cc build error

This commit is contained in:
Johan Wikman 2019-05-15 11:02:53 +03:00
parent f4e9f68615
commit 2472911aac

View File

@ -20,7 +20,6 @@
#include <set>
#include <string>
#include <sstream>
#include <my_config.h>
#include <maxscale/paths.h>
#include <maxscale/log.hh>
#include <maxscale/protocol/mysql.hh>
@ -38,11 +37,15 @@ using std::ostream;
using std::string;
using std::stringstream;
#if !defined(MYSQL_VERSION_MAJOR)
#define USING_MARIADB_103
#else
#if MYSQL_VERSION_MAJOR == 10 && MYSQL_VERSION_MINOR == 3
#define USING_MARIADB_103
#else
#undef USING_MARIADB_103
#endif
#endif
namespace
{