MXS-1596 Rename mysqlbackend to mariadbbackend

This commit is contained in:
Johan Wikman 2018-01-04 20:56:04 +02:00
parent f129dd56be
commit afaf890840
4 changed files with 11 additions and 10 deletions

View File

@ -62,8 +62,9 @@ struct NAME_MAPPING
static NAME_MAPPING name_mappings[] =
{
{ MODULE_MONITOR, "mysqlmon", "mariadbmon", false },
{ MODULE_PROTOCOL, "mysqlclient", "mariadbclient", false }
{ MODULE_MONITOR, "mysqlmon", "mariadbmon", false },
{ MODULE_PROTOCOL, "mysqlclient", "mariadbclient", false },
{ MODULE_PROTOCOL, "mysqlbackend", "mariadbbackend", false }
};
static const size_t N_NAME_MAPPINGS = sizeof(name_mappings) / sizeof(name_mappings[0]);

View File

@ -1,7 +0,0 @@
add_library(mysqlbackend SHARED mysql_backend.c)
# TODO: Refactor MySQLBackend so that COM_CHANGE_USER processing is
# transparent to the protocol module. After this change, we don't need to
# link against MySQLAuth.
target_link_libraries(mysqlbackend maxscale-common mysqlcommon mysqlauth)
set_target_properties(mysqlbackend PROPERTIES VERSION "2.0.0")
install_module(mysqlbackend core)

View File

@ -0,0 +1,7 @@
add_library(mariadbbackend SHARED mysql_backend.c)
# TODO: Refactor mariadbbackend so that COM_CHANGE_USER processing is
# transparent to the protocol module. After this change, we don't need to
# link against mysqlauth.
target_link_libraries(mariadbbackend maxscale-common mysqlcommon mysqlauth)
set_target_properties(mariadbbackend PROPERTIES VERSION "2.0.0")
install_module(mariadbbackend core)

View File

@ -11,7 +11,7 @@
* Public License.
*/
#define MXS_MODULE_NAME "MySQLBackend"
#define MXS_MODULE_NAME "mariadbbackend"
#include <maxscale/alloc.h>
#include <maxscale/limits.h>