Explorar o código

Merge pull request #340 from Sp1l/master

plugins/common.h: Set default MySQL port
Bryan Heden %!s(int64=7) %!d(string=hai) anos
pai
achega
a7a910c870
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      plugins/common.h

+ 5 - 0
plugins/common.h

@@ -174,6 +174,11 @@
 #  endif
 #endif
 
+/* MariaDB 10.2 client does not set MYSQL_PORT */
+#ifndef MYSQL_PORT
+#  define MYSQL_PORT 3306
+#endif
+
 /*
  *
  * Standard Values