equal
deleted
inserted
replaced
835 |
835 |
836 if (trans->query) |
836 if (trans->query) |
837 ERROR("cannot COMMIT because transaction is still busy"); |
837 ERROR("cannot COMMIT because transaction is still busy"); |
838 |
838 |
839 // query |
839 // query |
840 if (evsql_query(trans->evsql, trans, sql, _evsql_trans_commit_res, NULL) == NULL) |
840 if (evsql_query(trans->evsql, trans, sql, _evsql_trans_commit_res, trans) == NULL) |
841 goto error; |
841 goto error; |
842 |
842 |
843 // mark it as commited in case someone wants to abort it |
843 // mark it as commited in case someone wants to abort it |
844 trans->has_commit = 1; |
844 trans->has_commit = 1; |
845 |
845 |