MXS-1275: SetSqlModeParser moved under MySQLClient
That's where it belongs as it is only the mysql client protocol that will use it. It's a bit unfortunate that the qc test program compare now needs to include a file from a protocol module directory, but the fact is that the query classifier implementation and the test programs should actually be *under* the mysql client protocol module.
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
#include <maxscale/log_manager.h>
|
||||
#include <maxscale/protocol/mysql.h>
|
||||
#include <maxscale/query_classifier.h>
|
||||
#include "../../server/core/maxscale/setsqlmodeparser.hh"
|
||||
#include "../../server/modules/protocol/MySQL/MySQLClient/setsqlmodeparser.hh"
|
||||
#include "testreader.hh"
|
||||
using std::cerr;
|
||||
using std::cin;
|
||||
@ -41,7 +41,6 @@ using std::map;
|
||||
using std::ostream;
|
||||
using std::string;
|
||||
using std::stringstream;
|
||||
using maxscale::SetSqlModeParser;
|
||||
|
||||
#if MYSQL_VERSION_MAJOR == 10 && MYSQL_VERSION_MINOR == 3
|
||||
#define USING_MARIADB_103
|
||||
|
Reference in New Issue
Block a user