MXS-1587 Rename mysqlmon to mariadbmon
'mysqlmon' is still accepted but 'mariadbmon' is loaded instead. This is done at runtime instead of e.g. by using a symbolic link, so that a warning can be logged. The warning is logged and the translation of the module name is made by the code that loads the modules so that it's easy to do the same thing for other modules as well. In a subsequent commit the documentation is updated.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
add_subdirectory(galeramon)
|
||||
add_subdirectory(mmmon)
|
||||
add_subdirectory(mysqlmon)
|
||||
add_subdirectory(mariadbmon)
|
||||
add_subdirectory(ndbclustermon)
|
||||
add_subdirectory(auroramon)
|
||||
add_subdirectory(grmon)
|
||||
|
||||
5
server/modules/monitor/mariadbmon/CMakeLists.txt
Normal file
5
server/modules/monitor/mariadbmon/CMakeLists.txt
Normal file
@ -0,0 +1,5 @@
|
||||
add_library(mariadbmon SHARED mysql_mon.cc)
|
||||
target_link_libraries(mariadbmon maxscale-common)
|
||||
add_dependencies(mariadbmon pcre2)
|
||||
set_target_properties(mariadbmon PROPERTIES VERSION "1.4.0")
|
||||
install_module(mariadbmon core)
|
||||
@ -1,5 +0,0 @@
|
||||
add_library(mysqlmon SHARED mysql_mon.cc)
|
||||
target_link_libraries(mysqlmon maxscale-common)
|
||||
add_dependencies(mysqlmon pcre2)
|
||||
set_target_properties(mysqlmon PROPERTIES VERSION "1.4.0")
|
||||
install_module(mysqlmon core)
|
||||
Reference in New Issue
Block a user