From: Aki Tuomi Date: Mon, 21 Oct 2019 09:07:00 +0000 (+0300) Subject: gmysqlbackend: Rename connect to set_connect X-Git-Tag: dnsdist-1.4.0~15^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2144f3b126f05f2cd209bd63461a206a33a87528;p=thirdparty%2Fpdns.git gmysqlbackend: Rename connect to set_connect smysql.cc:458:13: warning: declaration of 'reconnect' shadows a member of 'this' --- diff --git a/modules/gmysqlbackend/smysql.cc b/modules/gmysqlbackend/smysql.cc index aac31837df..9de744c5aa 100644 --- a/modules/gmysqlbackend/smysql.cc +++ b/modules/gmysqlbackend/smysql.cc @@ -455,8 +455,8 @@ void SMySQL::connect() do { #if MYSQL_VERSION_ID >= 50013 - my_bool reconnect = 0; - mysql_options(&d_db, MYSQL_OPT_RECONNECT, &reconnect); + my_bool set_reconnect = 0; + mysql_options(&d_db, MYSQL_OPT_RECONNECT, &set_reconnect); #endif #if MYSQL_VERSION_ID >= 50100