[OpenSIPS-Devel] [OpenSIPS/opensips] a70dd0: db_mysql: Properly disable auto-reconnect
Liviu Chircu
noreply at github.com
Tue Jan 12 16:34:47 EST 2021
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: a70dd0ac7ed758c2d95a514e5767da3f9d19d1ad
https://github.com/OpenSIPS/opensips/commit/a70dd0ac7ed758c2d95a514e5767da3f9d19d1ad
Author: Liviu Chircu <liviu at opensips.org>
Date: 2021-01-12 (Tue, 12 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