search for: transaction_update_callback

Displaying 1 result from an estimated 1 matches for "transaction_update_callback".

2014 Sep 03
0
Assertion failed in sql_transaction_commit with pgsql driver
...db state to SQL_DB_STATE_BUSY while (_ctx->head != NULL) { ctx->refcount++; sql_query(_ctx->db, _ctx->head->query, <- second query cause assertion failed due to SQL_DB_IS_READY returns false transaction_update_callback, _ctx->head); _ctx->head = _ctx->head->next; } sql_query(_ctx->db, "COMMIT", transaction_commit_callback, ctx); } Next transaction query should be called after previous is finished and driver state changed to SQL_DB_STATE_IDLE