1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
From: Sergei Golovan
Subject: Patch helps building MySQL data tables against MariaDB.
Date: Fri, 06 Jun 2025 17:17:04 +0300
Forwarded: no
--- a/src/bltDataTableMysql.c
+++ b/src/bltDataTableMysql.c
@@ -330,7 +330,7 @@
if (host == NULL) {
host = "localhost";
}
- cp->reconnect = 1;
+ //cp->reconnect = 1;
#if defined(MYSQL_VERSION_ID) && MYSQL_VERSION_ID >= 32200 /* 3.22 and up */
if (mysql_real_connect(cp, host, user, pw, db, port, NULL, flags) == NULL) {
Tcl_AppendResult(interp, "can't connect to mysql server on \"", host,
|