MXS-2068: Move RWBackend into mysqlcommon

This cleanly allows multiple modules to use it.
This commit is contained in:
Markus Mäkelä
2018-09-24 13:25:11 +03:00
parent 50bec07438
commit 09a64753f1
11 changed files with 23 additions and 13 deletions

View File

@ -13,7 +13,6 @@
#pragma once
#include "readwritesplit.hh"
#include "rwbackend.hh"
#include "trx.hh"
#include <string>
@ -21,6 +20,7 @@
#include <maxscale/buffer.hh>
#include <maxscale/modutil.h>
#include <maxscale/queryclassifier.hh>
#include <maxscale/protocol/rwbackend.hh>
#define TARGET_IS_MASTER(t) maxscale::QueryClassifier::target_is_master(t)
#define TARGET_IS_SLAVE(t) maxscale::QueryClassifier::target_is_slave(t)