Description: Mariadb client support
  Mariadb may come without compatibility support for the Mysql client and therefore
  an explicit search of mariadbclient must be done in the stub initialization
Author: Sergei Golovan <sgolovan@nes.ru>
Bug-tdbc::mysql: http://core.tcl.tk/tdbcmysql/tktview/4e082a4bb2e2e90c66a682c10146a4f640306798
Forwarded: URL
Reviewed-by: Massimo Manghi <mxmanghi@apache.org>
Last-Update: 2018-10-27
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/generic/mysqlStubInit.c
+++ b/generic/mysqlStubInit.c
@@ -37,14 +37,14 @@
 
 static const char *const mysqlStubLibNames[] = {
     /* @LIBNAMES@: DO NOT EDIT THESE NAMES */
-    "mysqlclient_r", "mysqlclient", "mysql", NULL
+    "mysqlclient_r", "mysqlclient", "mysql", "mariadb", "mariadbclient", NULL
     /* @END@ */
 };
 
 /* ABI Version numbers of the MySQL API that we can cope with */
 
 static const char mysqlSuffixes[][4] = {
-    "", ".20", ".18", ".17", ".16", ".15"
+    "", ".20", ".18", ".17", ".16", ".15", ".3"
 };
 
 /* Names of the functions that we need from MySQL */
