Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#377 avp_db_query error: no columns returned from the query

1.6.x
closed-fixed
None
5
2011-07-05
2011-05-11
Ali Pey
No

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.

Discussion

    • assigned_to: nobody --> vladut-paiu
     
    • status: open --> closed-fixed
     
  • Hello,

    I have just committed a fix for this in trunk.

    Regards,
    Vlad