Description: Remove access to removed MYSQL.reconnect struct member
 MariaDB 11.8 removed the `reconnect` member from the MYSQL structure, so the
 fallback branch `result->reconnect = 0;` no longer compiles. Since automatic
 reconnect is no longer supported by modern MySQL (>= 8.0.34) and MariaDB,
 drop that fallback assignment entirely.
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Forwarded: not-needed
Last-Update: 2026-09-04

--- libdbd-mysql-perl-4.053.orig/dbdimp.c
+++ libdbd-mysql-perl-4.053/dbdimp.c
@@ -2122,8 +2122,6 @@ MYSQL *mysql_dr_connect(
 #if MYSQL_VERSION_ID >= 50013 && MYSQL_VERSION_ID < 80034
       my_bool reconnect = FALSE;
       mysql_options(result, MYSQL_OPT_RECONNECT, &reconnect);
-#else
-      result->reconnect = 0;
 #endif
 #if MYSQL_VERSION_ID >=SERVER_PREPARE_VERSION
       /* connection succeeded. */

