Lines Matching refs:head
899 if (ctx->ctx.head != NULL) {
900 struct sql_transaction_query *query = ctx->ctx.head;
902 ctx->ctx.head = ctx->ctx.head->next;
1007 if (ctx->failed || _ctx->head == NULL) {
1012 } else if (_ctx->head->next == NULL) {
1014 sql_query(_ctx->db, _ctx->head->query,
1015 transaction_trans_query_callback, _ctx->head);
1048 for (query = ctx->ctx.head; query != NULL; query = query->next) {
1078 if (_ctx->head->next == NULL) {
1080 single_query = _ctx->head;
1119 if (_ctx->head != NULL) {