tdbc::mysql

View Ticket
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.
Ticket UUID: 4e082a4bb2e2e90c66a682c10146a4f640306798
Title: Stub initialization should consider to search for mariadbclient
Status: Open Type: Feature_Request
Severity: Important Priority: Medium
Subsystem: not_specified Resolution: Open
Last Modified: 2018-10-27 09:12:08
Version Found In:
User Comments:
anonymous added on 2018-10-27 08:34:51:
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:
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[] = {
     /* @[email protected]: DO NOT EDIT THESE NAMES */
-    "mysqlclient_r", "mysqlclient", "mysql", NULL
+    "mysqlclient_r", "mysqlclient", "mysql", "mariadbclient", NULL
     /* @[email protected] */
 };