]> git.ipfire.org Git - thirdparty/pdns.git/commit
smysql: stop explicity setting MYSQL_OPT_RECONNECT to 0 13245/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 12 Sep 2023 15:09:57 +0000 (17:09 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 12 Sep 2023 18:03:50 +0000 (20:03 +0200)
commitf1cbc20b72ab95531f0a84bab40ac6ea1610241f
treec5587e8051ea066a13cb60ba1f9222dc7fdc28ca
parentf4ed8fa5474bab18fc253da8a3ddf439c8a20ed7
smysql: stop explicity setting MYSQL_OPT_RECONNECT to 0

Setting this option, even to 0, causes spurious warnings to the console
with recent libmysqlclient versions. The upstream bug
( https://bugs.mysql.com/bug.php?id=112089 )
has now been open for a month, so we're implementing a workaround.

0 was the default since at least MySQL 5.7, perhaps longer.

closes #13242
modules/gmysqlbackend/smysql.cc