[SR-Users] Sql_result_free() not cleaning properly
Duarte Rocha
duarterocha91 at gmail.com
Wed Jun 24 17:58:39 CEST 2020
Greetings,
I'm trying to clean a SQL result using "sql_result_free()" but i'm not
having success.
Can you please verify if i'm doing anything wrong here?
This is my code :
xerr("Pre clean [0] = Iterator 0 =
$xavp(Cli_PICKER_Default_Search_Result[0]=>Code)");
sql_result_free("Cli_PICKER_Default_Search_Result");
xerr("Pos clean [0] = Iterator 0 =
$xavp(Cli_PICKER_Default_Search_Result[0]=>Code)");
The result is the following :
ERROR: <script>:Pre clean [0] = Iterator 0 = 111111111111
ERROR: <script>:Pos clean [0] = Iterator 0 = 111111111111
Am i using sql_result_free correctly or doing something wrong?
Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200624/5d5f771c/attachment.html>
More information about the sr-users
mailing list