[OpenSIPS-Devel] [OpenSIPS/opensips] 9587cb: db_mysql: Properly disable auto-reconnect
Liviu Chircu
noreply at github.com
Mon Jan 11 12:37:38 EST 2021
Branch: refs/heads/3.1
Home: https://github.com/OpenSIPS/opensips
Commit: 9587cb90682c8213b48a5bdb54a1bd1257493bf6
https://github.com/OpenSIPS/opensips/commit/9587cb90682c8213b48a5bdb54a1bd1257493bf6
Author: Liviu Chircu <liviu at opensips.org>
Date: 2021-01-11 (Mon, 11 Jan 2021)
Changed paths:
M modules/db_mysql/my_con.c
Log Message:
-----------
db_mysql: Properly disable auto-reconnect
According to https://dev.mysql.com/doc/c-api/8.0/en/mysql-options.html,
mysql_options() MUST NOT be called after mysql_real_connect().
(cherry picked from commit 85379e5ebfc4568c4a44ef35475f52ac170d7143)
More information about the Devel
mailing list