tdbc::mysql

View Ticket
Login
Ticket Hash: 4e082a4bb2e2e90c66a682c10146a4f640306798
Title: Stub initialization should consider to search for mariadbclient
Status: Closed Type: Feature_Request
Severity: Important Priority: Medium
Subsystem: not_specified Resolution: Fixed
Last Modified: 2022-01-15 17:27:15
Version Found In:
User Comments:
anonymous added on 2018-10-27 08:34:51: (text/x-fossil-plain)
Mariadb client library might be shipped without compatibility link to mysqlclient, therefore the generic/MysqlStubInit.c should add mariadb to the client search list (mysqlStubLibNames)

anonymous added on 2018-10-27 09:12:08: (text/x-fossil-plain)
this patch obviates the problem (thanks to S.Golovan)

--- a/generic/mysqlStubInit.c
+++ b/generic/mysqlStubInit.c
@@ -37,7 +37,7 @@
 
 static const char *const mysqlStubLibNames[] = {
     /* @LIBNAMES@: DO NOT EDIT THESE NAMES */
-    "mysqlclient_r", "mysqlclient", "mysql", NULL
+    "mysqlclient_r", "mysqlclient", "mysql", "mariadbclient", NULL
     /* @END@ */
 };

jan.nijtmans added on 2022-01-15 17:27:15: (text/x-markdown)
Fixed [2bc30111c8ac674a|here]