aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kannel/mariadb.patch
blob: 26f6cac15e5bc7238ff766547b7de6993d085982 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/gwlib/utils.c b/gwlib/utils.c
index b772bfb..7afdcaf 100644
--- a/gwlib/utils.c
+++ b/gwlib/utils.c
@@ -513,8 +513,12 @@ Octstr *version_report_string(const char *boxname)
              OPENSSL_VERSION_TEXT,
 #endif
 #ifdef HAVE_MYSQL
+#if defined MARIADB_CLIENT_VERSION_STR && !defined MYSQL_SERVER_VERSION
+             MARIADB_CLIENT_VERSION_STR, mysql_get_client_info(),
+#else
              MYSQL_SERVER_VERSION, mysql_get_client_info(),
 #endif
+#endif
 #ifdef HAVE_SDB
              LIBSDB_VERSION,
 #endif