Fix qc compare.cc build error
This commit is contained in:
parent
f4e9f68615
commit
2472911aac
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user