From 1a18844cdcaa5a4e7ee6146414c41958527df74b Mon Sep 17 00:00:00 2001 From: Refresh Date: Sat, 3 Aug 2024 00:01:08 +0300 Subject: [PATCH] fix --- refsapi_mysql_mngr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refsapi_mysql_mngr.h b/refsapi_mysql_mngr.h index 44f8e6b..19986de 100644 --- a/refsapi_mysql_mngr.h +++ b/refsapi_mysql_mngr.h @@ -136,7 +136,7 @@ class mysql_mngr { mysql_optionsv(conn, MYSQL_OPT_PROTOCOL, (void *)&prot_type); mysql_optionsv(conn, MYSQL_OPT_CONNECT_TIMEOUT, (void *)&prms->timeout); my_bool my_true = true; - mysql_optionsv(conn, MYSQL_OPT_RECONNECT, (const char *)&my_true); + mysql_optionsv(conn, MYSQL_OPT_RECONNECT, (const char *)&my_true); if (!prms->db_chrs.empty()) mysql_set_character_set(conn, prms->db_chrs.c_str()); }