avp_db_query: no columns returned error msg

Ali Pey
2011-05-05
2013-05-09
  • Ali Pey
    Ali Pey
    2011-05-05

    Hello,

    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.

    Is this a bug?
    Is there a work around?

    Regards,
    Ali