[OpenSIPS-Devel] [OpenSIPS/opensips] 85379e: db_mysql: Properly disable auto-reconnect

Liviu Chircu noreply at github.com
Mon Jan 11 12:11:45 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 85379e5ebfc4568c4a44ef35475f52ac170d7143
      https://github.com/OpenSIPS/opensips/commit/85379e5ebfc4568c4a44ef35475f52ac170d7143
  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().





More information about the Devel mailing list