[sr-dev] [tracker] Comment added: SQLOPS returns 0 for empty result set instead of $null

sip-router bugtracker at sip-router.org
Fri Dec 6 11:23:43 CET 2013


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#376 - SQLOPS returns 0 for empty result set instead of $null
User who did this - Daniel-Constantin Mierla (miconda)

----------
I added some notes on the wiki:

  * https://www.kamailio.org/wiki/install/upgrade/4.0.x-to-4.1.0?&#behaviour

The result from database should still be null, just the comparison of $null with $var(...) is done different, which came actually as a fix.

You should test as:

<code>
if($dbr(touser=>[0,0])!=$null) ...
</code>

----------

More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=376#comment1211

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list