Move packet_tracker.cc under maxscale

It depends on MaxScale-types. This also removes the maxsql-pcre2-dependency.
This commit is contained in:
Esa Korhonen 2019-09-16 15:15:59 +03:00
parent 1f26189ddd
commit 78cc5b2445
8 changed files with 7 additions and 10 deletions

View File

@ -1,4 +1,2 @@
install_header(mariadb.hh devel)
install_header(ccdefs.hh devel)
install_header(packet_tracker.hh devel)
install_header(mysql_plus.hh devel)

View File

@ -1,6 +1,5 @@
add_library(maxsql STATIC
mariadb.cc
packet_tracker.cc
queryresult.cc
)

View File

@ -29,6 +29,7 @@ add_library(maxscale-common SHARED
monitormanager.cc
mysql_binlog.cc
mysql_utils.cc
packet_tracker.cc
paths.cc
poll.cc
queryclassifier.cc

View File

@ -13,8 +13,8 @@
// LIMITATION: local infile not handled yet.
#include <maxsql/packet_tracker.hh>
#include <maxsql/mysql_plus.hh>
#include <maxscale/packet_tracker.hh>
#include <maxscale/mysql_plus.hh>
#include <maxscale/modutil.hh>
#include <array>

View File

@ -15,7 +15,7 @@
#include "performance.hh"
#include <maxscale/modutil.hh>
#include <maxsql/mysql_plus.hh>
#include <maxscale/mysql_plus.hh>
// COPY-PASTED error-extraction functions from rwsplit. TODO move to lib.
inline void extract_error_state(uint8_t* pBuffer, uint8_t** ppState, uint16_t* pnState)

View File

@ -14,11 +14,10 @@
#include "smartrouter.hh"
#include <maxsql/packet_tracker.hh>
#include <maxscale/queryclassifier.hh>
#include <maxbase/host.hh>
#include <iostream>
#include <maxbase/host.hh>
#include <maxscale/packet_tracker.hh>
#include <maxscale/queryclassifier.hh>
class SmartRouter;