
'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.
6 lines
222 B
CMake
6 lines
222 B
CMake
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)
|