MXS-1595 Rename mysqlclient to mariadbclient
Documentation update will follow.
This commit is contained in:
@ -25,7 +25,7 @@
|
|||||||
#include <maxscale/log_manager.h>
|
#include <maxscale/log_manager.h>
|
||||||
#include <maxscale/protocol/mysql.h>
|
#include <maxscale/protocol/mysql.h>
|
||||||
#include <maxscale/query_classifier.h>
|
#include <maxscale/query_classifier.h>
|
||||||
#include "../../server/modules/protocol/MySQL/MySQLClient/setsqlmodeparser.hh"
|
#include "../../server/modules/protocol/MySQL/mariadbclient/setsqlmodeparser.hh"
|
||||||
#include "testreader.hh"
|
#include "testreader.hh"
|
||||||
using std::cerr;
|
using std::cerr;
|
||||||
using std::cin;
|
using std::cin;
|
||||||
|
@ -62,7 +62,8 @@ struct NAME_MAPPING
|
|||||||
|
|
||||||
static NAME_MAPPING name_mappings[] =
|
static NAME_MAPPING name_mappings[] =
|
||||||
{
|
{
|
||||||
{ MODULE_MONITOR, "mysqlmon", "mariadbmon", false }
|
{ MODULE_MONITOR, "mysqlmon", "mariadbmon", false },
|
||||||
|
{ MODULE_PROTOCOL, "mysqlclient", "mariadbclient", false }
|
||||||
};
|
};
|
||||||
|
|
||||||
static const size_t N_NAME_MAPPINGS = sizeof(name_mappings) / sizeof(name_mappings[0]);
|
static const size_t N_NAME_MAPPINGS = sizeof(name_mappings) / sizeof(name_mappings[0]);
|
||||||
|
@ -3,6 +3,6 @@ target_link_libraries(mysqlcommon maxscale-common)
|
|||||||
set_target_properties(mysqlcommon PROPERTIES VERSION "2.0.0")
|
set_target_properties(mysqlcommon PROPERTIES VERSION "2.0.0")
|
||||||
install_module(mysqlcommon core)
|
install_module(mysqlcommon core)
|
||||||
|
|
||||||
add_subdirectory(MySQLBackend)
|
add_subdirectory(mariadbbackend)
|
||||||
add_subdirectory(MySQLClient)
|
add_subdirectory(mariadbclient)
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
add_library(mysqlclient SHARED mysql_client.cc)
|
|
||||||
target_link_libraries(mysqlclient maxscale-common mysqlcommon)
|
|
||||||
set_target_properties(mysqlclient PROPERTIES VERSION "1.0.0")
|
|
||||||
install_module(mysqlclient core)
|
|
||||||
|
|
||||||
if(BUILD_TESTS)
|
|
||||||
add_subdirectory(test)
|
|
||||||
endif()
|
|
@ -0,0 +1,8 @@
|
|||||||
|
add_library(mariadbclient SHARED mysql_client.cc)
|
||||||
|
target_link_libraries(mariadbclient maxscale-common mysqlcommon)
|
||||||
|
set_target_properties(mariadbclient PROPERTIES VERSION "1.0.0")
|
||||||
|
install_module(mariadbclient core)
|
||||||
|
|
||||||
|
if(BUILD_TESTS)
|
||||||
|
add_subdirectory(test)
|
||||||
|
endif()
|
@ -12,7 +12,7 @@
|
|||||||
* Public License.
|
* Public License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define MXS_MODULE_NAME "MySQLClient"
|
#define MXS_MODULE_NAME "mariadbclient"
|
||||||
|
|
||||||
#include <maxscale/cppdefs.hh>
|
#include <maxscale/cppdefs.hh>
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
#include <maxscale/cdefs.h>
|
#include <maxscale/cdefs.h>
|
||||||
|
|
||||||
#include "../MySQLClient/mysql_client.cc"
|
#include "../mariadbclient/mysql_client.cc"
|
||||||
|
|
||||||
#define NO_THREAD_ID 0
|
#define NO_THREAD_ID 0
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user