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

vladpaiu noreply at github.com
Tue Dec 3 09:11:29 EST 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ef33057a21860c9acea31da8d44bd9d730cae4cd
      https://github.com/OpenSIPS/opensips/commit/ef33057a21860c9acea31da8d44bd9d730cae4cd
  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





More information about the Devel mailing list