Skip to content

Commit

Permalink
MYSQL_OPT_RECONNECT is deprecated in MySQL 8.0.34. Removed support.
Browse files Browse the repository at this point in the history
  • Loading branch information
aorr436 committed Aug 16, 2023
1 parent 7117e4c commit 7a5c9ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbdimp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2115,7 +2115,7 @@ MYSQL *mysql_dr_connect(
we turn off Mysql's auto reconnect and handle re-connecting ourselves
so that we can keep track of when this happens.
*/
#if MYSQL_VERSION_ID >= 50013
#if MYSQL_VERSION_ID >= 50013 && MYSQL_VERSION_ID < 80034
my_bool reconnect = FALSE;
mysql_options(result, MYSQL_OPT_RECONNECT, &reconnect);
#else
Expand Down

0 comments on commit 7a5c9ef

Please sign in to comment.