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:
Johan Wikman
2017-06-05 10:27:33 +03:00
parent 25314b6662
commit 12a291919a
6 changed files with 11 additions and 13 deletions

View File

@ -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