From 0621e33cb0ac00364d56cbea80e1ef3d24af748e Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Wed, 1 Jul 2015 19:38:45 +0300 Subject: [PATCH] Updated documentation and set C99 mode as the default. --- Documentation/monitors/MySQL-Monitor.md | 8 ++++++++ cmake/macros.cmake | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/monitors/MySQL-Monitor.md b/Documentation/monitors/MySQL-Monitor.md index 7228c1b10..6c7e70500 100644 --- a/Documentation/monitors/MySQL-Monitor.md +++ b/Documentation/monitors/MySQL-Monitor.md @@ -98,6 +98,14 @@ A list of event names which cause the script to be executed. If this option is n events=master_down,slave_down ``` +### `mysql51_only` + +Enable support for MySQL 5.1 replication monitoring. This is needed if a MySQL server older than 5.5 is used as a slave in replication. + +``` +mysql51_only=true +``` + ## Script events Here is a table of all possible event types and their descriptions. diff --git a/cmake/macros.cmake b/cmake/macros.cmake index d7921f1c4..3c9d16cc0 100644 --- a/cmake/macros.cmake +++ b/cmake/macros.cmake @@ -21,7 +21,7 @@ endmacro() macro(set_variables) # Use C99 - set(USE_C99 FALSE CACHE BOOL "Use C99 standard") + set(USE_C99 TRUE CACHE BOOL "Use C99 standard") # hostname or IP address of MaxScale's host set(TEST_HOST "127.0.0.1" CACHE STRING "hostname or IP address of MaxScale's host")