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

vladpaiu noreply at github.com
Tue Dec 3 09:13:46 EST 2019

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2caa1893c9c28a70464e85b34d07a8e23d5351be
  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