[OpenSIPS-Devel] [ opensips-Bugs-3300473 ] avp_db_query error: no columns returned from the query

SourceForge.net noreply at sourceforge.net
Tue Jul 5 17:46:16 CEST 2011


Bugs item #3300473, was opened at 2011-05-11 16:28
Message generated for change (Comment added) made by vladut-paiu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3300473&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.6.x
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Ali Pey (alipey)
Assigned to: Vladut-Stefan Paiu (vladut-paiu)
Summary: avp_db_query error: no columns returned from the query

Initial Comment:
If you try an insert or update with avp_db_query, you get the following errors:

ERROR:db_unixodbc:db_unixodbc_get_columns: no columns returned from the query
ERROR:db_unixodbc:db_unixodbc_convert_result: getting column names failed
ERROR:db_unixodbc:db_unixodbc_store_result: failed to convert result
ERROR:core:db_do_raw_query: error while storing result
ERROR:avpops:db_query_avp: cannot do the query

An insert or update query does not have any columns returned and therefore there shouldn't be any error messages in this case.


----------------------------------------------------------------------

>Comment By: Vladut-Stefan Paiu (vladut-paiu)
Date: 2011-07-05 18:46

Message:
Hello,

I have just committed a fix for this in trunk.

Regards,
Vlad

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3300473&group_id=232389



More information about the Devel mailing list