summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2019-01-20 21:42:15 +0100
committerJan Wagner <waja@cyconet.org>2019-01-20 21:42:15 +0100
commit351a38f1948a4d1a6d40c6ff7f9415a46fa6a16e (patch)
tree4d2efc17e0f21d01f9559542ff691d17673a77b7
parentc4c0abcae41d172f0d94064106beba1d210d6d8f (diff)
parentac0437ff896ba9ce2549b2d2ec3de146a886f08a (diff)
downloadmonitoring-plugins-refs/heads/maint-2.2.tar.gz
Merge branch 'fix_mariadb' into maint-2.2maint-2.2
-rw-r--r--plugins/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/common.h b/plugins/common.h
index 8719b502..6bf4fca4 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -174,6 +174,11 @@
174 * 174 *
175 */ 175 */
176 176
177/* MariaDB 10.2 client does not set MYSQL_PORT */
178#ifndef MYSQL_PORT
179# define MYSQL_PORT 3306
180#endif
181
177enum { 182enum {
178 OK = 0, 183 OK = 0,
179 ERROR = -1 184 ERROR = -1