Lines Matching refs:field_count

86 	if (!stmt->field_count) {  in MYSQLND_METHOD()
112 result->stored_data = mysqlnd_result_buffered_init(result, result->field_count, stmt); in MYSQLND_METHOD()
156 if (!stmt->field_count) { in MYSQLND_METHOD()
177 result = conn->m->result_init(stmt->result->field_count); in MYSQLND_METHOD()
322 stmt->field_count = conn->field_count = prepare_resp.field_count; in mysqlnd_stmt_read_prepare_response()
443 if (stmt->field_count) { in MYSQLND_METHOD()
444 MYSQLND_RES * result = conn->m->result_init(stmt->field_count); in MYSQLND_METHOD()
531 if (stmt->result_bind && conn->field_count != stmt->field_count) { in mysqlnd_stmt_execute_parse_response()
532 if (conn->field_count < stmt->field_count) { in mysqlnd_stmt_execute_parse_response()
534 for (unsigned i = conn->field_count; i < stmt->field_count; i++) { in mysqlnd_stmt_execute_parse_response()
539 mnd_erealloc(stmt->result_bind, conn->field_count * sizeof(MYSQLND_RESULT_BIND)); in mysqlnd_stmt_execute_parse_response()
540 if (conn->field_count > stmt->field_count) { in mysqlnd_stmt_execute_parse_response()
542 for (unsigned i = stmt->field_count; i < conn->field_count; i++) { in mysqlnd_stmt_execute_parse_response()
549 stmt->field_count = stmt->result->field_count = conn->field_count; in mysqlnd_stmt_execute_parse_response()
550 if (stmt->field_count) { in mysqlnd_stmt_execute_parse_response()
648 if (stmt->result && stmt->state >= MYSQLND_STMT_PREPARED && stmt->field_count) { in MYSQLND_METHOD()
732 if (!stmt->field_count || !mysqlnd_stmt_check_state(stmt)) { in MYSQLND_METHOD()
803 row_packet->field_count, in mysqlnd_fetch_stmt_row_cursor()
881 unsigned field_count = stmt->result->field_count; in MYSQLND_METHOD() local
882 for (unsigned i = 0; i < field_count; i++) { in MYSQLND_METHOD()
1268 DBG_INF_FMT("stmt=" ZEND_ULONG_FMT " field_count=%u", stmt->stmt_id, stmt->field_count); in MYSQLND_METHOD()
1282 if (stmt->field_count) { in MYSQLND_METHOD()
1292 for (i = 0; i < stmt->field_count; i++) { in MYSQLND_METHOD()
1325 DBG_INF_FMT("stmt=" ZEND_ULONG_FMT " field_count=%u", stmt->stmt_id, stmt->field_count); in MYSQLND_METHOD()
1333 if (param_no >= stmt->field_count) { in MYSQLND_METHOD()
1342 if (stmt->field_count) { in MYSQLND_METHOD()
1344 stmt->result_bind = mnd_ecalloc(stmt->field_count, sizeof(MYSQLND_RESULT_BIND)); in MYSQLND_METHOD()
1410 MYSQLND_METHOD(mysqlnd_stmt, field_count)(const MYSQLND_STMT * const s) in MYSQLND_METHOD() argument
1413 return stmt? stmt->field_count : 0; in MYSQLND_METHOD()
1480 DBG_INF_FMT("stmt=" ZEND_ULONG_FMT " field_count=%u", stmt->stmt_id, stmt->field_count); in MYSQLND_METHOD()
1482 if (!stmt->field_count || !stmt->result || !stmt->result->meta) { in MYSQLND_METHOD()
1494 result_meta = conn->m->result_init(stmt->field_count); in MYSQLND_METHOD()
1499 result_meta->unbuf = mysqlnd_result_unbuffered_init(result_meta, stmt->field_count, stmt); in MYSQLND_METHOD()
1676 …D_ULONG_FMT " result_bind=%p field_count=%u", stmt->stmt_id, stmt->result_bind, stmt->field_count); in mysqlnd_stmt_separate_result_bind()
1687 for (i = 0; i < stmt->field_count; i++) { in mysqlnd_stmt_separate_result_bind()
1898 DBG_RETURN(mnd_ecalloc(stmt->field_count, sizeof(MYSQLND_RESULT_BIND))); in MYSQLND_METHOD()
1959 MYSQLND_METHOD(mysqlnd_stmt, field_count),