File: build-with-mariadb.patch

package info (click to toggle)
blt 3.0~1%2B08570046%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 45,556 kB
  • sloc: ansic: 278,852; tcl: 96,434; sh: 3,410; makefile: 2,026; cpp: 374
file content (16 lines) | stat: -rw-r--r-- 570 bytes parent folder | download
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,