summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Nierlein <sven@nierlein.org>2018-10-22 14:21:05 (GMT)
committerGitHub <noreply@github.com>2018-10-22 14:21:05 (GMT)
commit1c0a48bc6bef8e69566bb4e272649c5a37a67f3a (patch)
tree8923894e17b40130c9e161793b5aa6c349ba8fac
parent26d84632b86649912334c4f7d1c35df81abc0542 (diff)
parent399cc141526ee77e1befce469f1fab40645f299d (diff)
downloadmonitoring-plugins-1c0a48bc6bef8e69566bb4e272649c5a37a67f3a.tar.gz
Merge pull request #1522 from Sp1l/fix-MariaDB10.2
Fix build issue with MariaDB 10.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 8719b50..6bf4fca 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