Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3a24c870d7e27c2bdd4ff02a53d96a4254d05a66
      
https://github.com/OpenSIPS/opensips/commit/3a24c870d7e27c2bdd4ff02a53d96a4254d05a66
  Author: Vlad Paiu <vladp...@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)



_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to