Fix qc compare.cc build error
This commit is contained in:
@ -20,7 +20,6 @@
|
|||||||
#include <set>
|
#include <set>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <my_config.h>
|
|
||||||
#include <maxscale/paths.h>
|
#include <maxscale/paths.h>
|
||||||
#include <maxscale/log.hh>
|
#include <maxscale/log.hh>
|
||||||
#include <maxscale/protocol/mysql.hh>
|
#include <maxscale/protocol/mysql.hh>
|
||||||
@ -38,11 +37,15 @@ using std::ostream;
|
|||||||
using std::string;
|
using std::string;
|
||||||
using std::stringstream;
|
using std::stringstream;
|
||||||
|
|
||||||
|
#if !defined(MYSQL_VERSION_MAJOR)
|
||||||
|
#define USING_MARIADB_103
|
||||||
|
#else
|
||||||
#if MYSQL_VERSION_MAJOR == 10 && MYSQL_VERSION_MINOR == 3
|
#if MYSQL_VERSION_MAJOR == 10 && MYSQL_VERSION_MINOR == 3
|
||||||
#define USING_MARIADB_103
|
#define USING_MARIADB_103
|
||||||
#else
|
#else
|
||||||
#undef USING_MARIADB_103
|
#undef USING_MARIADB_103
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user