[OpenSIPS-Devel] [OpenSIPS/opensips] 3a24c8: Fixed long select queries reporting 0 rows instead...

vladpaiu noreply at github.com
Tue Dec 3 09:15:51 EST 2019


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3a24c870d7e27c2bdd4ff02a53d96a4254d05a66
      https://github.com/OpenSIPS/opensips/commit/3a24c870d7e27c2bdd4ff02a53d96a4254d05a66
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M modules/db_mysql/dbase.c

  Log Message:
  -----------
  Fixed long select queries reporting 0 rows instead of ERROR

if mysql_store_result throws an empty result set, first check mysql_errno and if that is ok, only then assume the result set is empty

(cherry picked from commit ef33057a21860c9acea31da8d44bd9d730cae4cd)





More information about the Devel mailing list