Lines Matching refs:field_count
73 if (!stmt->field_count) { in MYSQLND_METHOD()
142 if (!stmt->field_count) { in MYSQLND_METHOD()
163 result = conn->m->result_init(stmt->result->field_count, stmt->persistent TSRMLS_CC); in MYSQLND_METHOD()
309 stmt->field_count = stmt->conn->field_count = prepare_resp->field_count; in mysqlnd_stmt_read_prepare_response()
420 if (stmt_to_prepare->field_count) { in MYSQLND_METHOD()
421 …MYSQLND_RES * result = stmt->conn->m->result_init(stmt_to_prepare->field_count, stmt_to_prepare->p… in MYSQLND_METHOD()
523 stmt->field_count = stmt->result->field_count = conn->field_count; in mysqlnd_stmt_execute_parse_response()
525 if (stmt->field_count) { in mysqlnd_stmt_execute_parse_response()
601 if (stmt->result && stmt->state >= MYSQLND_STMT_PREPARED && stmt->field_count) { in MYSQLND_METHOD()
625 for (i = 0; i < stmt->field_count; i++) { in MYSQLND_METHOD()
717 unsigned int field_count = result->meta->field_count; in mysqlnd_stmt_fetch_row_buffered() local
725 (set->data_cursor - set->data) < (set->row_count * field_count)) in mysqlnd_stmt_fetch_row_buffered()
734 uint64_t row_num = (set->data_cursor - set->data) / field_count; in mysqlnd_stmt_fetch_row_buffered()
737 meta->field_count, in mysqlnd_stmt_fetch_row_buffered()
747 for (i = 0; i < result->field_count; i++) { in mysqlnd_stmt_fetch_row_buffered()
763 for (i = 0; i < result->field_count; i++) { in mysqlnd_stmt_fetch_row_buffered()
793 set->data_cursor += field_count; in mysqlnd_stmt_fetch_row_buffered()
844 unsigned int i, field_count = result->field_count; in mysqlnd_stmt_fetch_row_unbuffered() local
856 row_packet->field_count, in mysqlnd_stmt_fetch_row_unbuffered()
865 for (i = 0; i < field_count; i++) { in mysqlnd_stmt_fetch_row_unbuffered()
954 if (!stmt->field_count || in MYSQLND_METHOD()
1030 unsigned int i, field_count = result->field_count; in mysqlnd_fetch_stmt_row_cursor() local
1042 row_packet->field_count, in mysqlnd_fetch_stmt_row_cursor()
1052 for (i = 0; i < field_count; i++) { in mysqlnd_fetch_stmt_row_cursor()
1169 for (i = 0; i < stmt->result->field_count; i++) { in MYSQLND_METHOD()
1552 DBG_INF_FMT("stmt=%lu field_count=%u", stmt->stmt_id, stmt->field_count); in MYSQLND_METHOD()
1566 if (stmt->field_count) { in MYSQLND_METHOD()
1577 for (i = 0; i < stmt->field_count; i++) { in MYSQLND_METHOD()
1606 DBG_INF_FMT("stmt=%lu field_count=%u", stmt->stmt_id, stmt->field_count); in MYSQLND_METHOD()
1614 if (param_no >= stmt->field_count) { in MYSQLND_METHOD()
1623 if (stmt->field_count) { in MYSQLND_METHOD()
1627 …stmt->result_bind = mnd_pecalloc(stmt->field_count, sizeof(MYSQLND_RESULT_BIND), stmt->persistent); in MYSQLND_METHOD()
1629 …stmt->result_bind = mnd_perealloc(stmt->result_bind, stmt->field_count * sizeof(MYSQLND_RESULT_BIN… in MYSQLND_METHOD()
1700 MYSQLND_METHOD(mysqlnd_stmt, field_count)(const MYSQLND_STMT * const s TSRMLS_DC) in MYSQLND_METHOD() argument
1703 return stmt? stmt->field_count : 0; in MYSQLND_METHOD()
1782 DBG_INF_FMT("stmt=%u field_count=%u", stmt->stmt_id, stmt->field_count); in MYSQLND_METHOD()
1784 if (!stmt->field_count || !stmt->conn || !stmt->result || !stmt->result->meta) { in MYSQLND_METHOD()
1803 result = stmt->conn->m->result_init(stmt->field_count, stmt->persistent TSRMLS_CC); in MYSQLND_METHOD()
1985 …FMT("stmt=%lu result_bind=%p field_count=%u", stmt->stmt_id, stmt->result_bind, stmt->field_count); in mysqlnd_stmt_separate_result_bind()
1996 for (i = 0; i < stmt->field_count; i++) { in mysqlnd_stmt_separate_result_bind()
2039 …ind=%p field_count=%u param_no=%u", stmt->stmt_id, stmt->result_bind, stmt->field_count, param_no); in mysqlnd_stmt_separate_one_result_bind()
2283 DBG_RETURN(mnd_pecalloc(stmt->field_count, sizeof(MYSQLND_RESULT_BIND), stmt->persistent)); in MYSQLND_METHOD()
2343 MYSQLND_METHOD(mysqlnd_stmt, field_count),