Lines Matching refs:row_packet

829 	MYSQLND_PACKET_ROW * row_packet;  in mysqlnd_stmt_fetch_row_unbuffered()  local
848 if (!(row_packet = result->unbuf->row_packet)) { in mysqlnd_stmt_fetch_row_unbuffered()
853 row_packet->skip_extraction = stmt && stmt->result_bind? FALSE:TRUE; in mysqlnd_stmt_fetch_row_unbuffered()
862 if (PASS == (ret = PACKET_READ(conn, row_packet)) && !row_packet->eof) { in mysqlnd_stmt_fetch_row_unbuffered()
865 if (!row_packet->skip_extraction) { in mysqlnd_stmt_fetch_row_unbuffered()
868 result->unbuf->last_row_data = row_packet->fields; in mysqlnd_stmt_fetch_row_unbuffered()
869 result->unbuf->last_row_buffer = row_packet->row_buffer; in mysqlnd_stmt_fetch_row_unbuffered()
870 row_packet->fields = NULL; in mysqlnd_stmt_fetch_row_unbuffered()
871 row_packet->row_buffer.ptr = NULL; in mysqlnd_stmt_fetch_row_unbuffered()
875 row_packet->field_count, in mysqlnd_stmt_fetch_row_unbuffered()
876 row_packet->fields_metadata, in mysqlnd_stmt_fetch_row_unbuffered()
908 row_packet->result_set_memory_pool->free_chunk( in mysqlnd_stmt_fetch_row_unbuffered()
909 row_packet->result_set_memory_pool, row_packet->row_buffer.ptr); in mysqlnd_stmt_fetch_row_unbuffered()
910 row_packet->row_buffer.ptr = NULL; in mysqlnd_stmt_fetch_row_unbuffered()
916 if (row_packet->error_info.error_no) { in mysqlnd_stmt_fetch_row_unbuffered()
917 COPY_CLIENT_ERROR(conn->error_info, row_packet->error_info); in mysqlnd_stmt_fetch_row_unbuffered()
919 COPY_CLIENT_ERROR(stmt->error_info, row_packet->error_info); in mysqlnd_stmt_fetch_row_unbuffered()
926 } else if (row_packet->eof) { in mysqlnd_stmt_fetch_row_unbuffered()
931 UPSERT_STATUS_SET_WARNINGS(conn->upsert_status, row_packet->warning_count); in mysqlnd_stmt_fetch_row_unbuffered()
932 UPSERT_STATUS_SET_SERVER_STATUS(conn->upsert_status, row_packet->server_status); in mysqlnd_stmt_fetch_row_unbuffered()
998 MYSQLND_PACKET_ROW * row_packet; in mysqlnd_fetch_stmt_row_cursor() local
1014 if (!(row_packet = result->unbuf->row_packet)) { in mysqlnd_fetch_stmt_row_cursor()
1026 row_packet->skip_extraction = stmt->result_bind? FALSE:TRUE; in mysqlnd_fetch_stmt_row_cursor()
1029 if (PASS == (ret = PACKET_READ(conn, row_packet)) && !row_packet->eof) { in mysqlnd_fetch_stmt_row_cursor()
1033 if (!row_packet->skip_extraction) { in mysqlnd_fetch_stmt_row_cursor()
1036 result->unbuf->last_row_data = row_packet->fields; in mysqlnd_fetch_stmt_row_cursor()
1037 result->unbuf->last_row_buffer = row_packet->row_buffer; in mysqlnd_fetch_stmt_row_cursor()
1038 row_packet->fields = NULL; in mysqlnd_fetch_stmt_row_cursor()
1039 row_packet->row_buffer.ptr = NULL; in mysqlnd_fetch_stmt_row_cursor()
1043 row_packet->field_count, in mysqlnd_fetch_stmt_row_cursor()
1044 row_packet->fields_metadata, in mysqlnd_fetch_stmt_row_cursor()
1079 row_packet->result_set_memory_pool->free_chunk( in mysqlnd_fetch_stmt_row_cursor()
1080 row_packet->result_set_memory_pool, row_packet->row_buffer.ptr); in mysqlnd_fetch_stmt_row_cursor()
1081 row_packet->row_buffer.ptr = NULL; in mysqlnd_fetch_stmt_row_cursor()
1084 ret = PACKET_READ(conn, row_packet); in mysqlnd_fetch_stmt_row_cursor()
1085 if (row_packet->row_buffer.ptr) { in mysqlnd_fetch_stmt_row_cursor()
1086 row_packet->result_set_memory_pool->free_chunk( in mysqlnd_fetch_stmt_row_cursor()
1087 row_packet->result_set_memory_pool, row_packet->row_buffer.ptr); in mysqlnd_fetch_stmt_row_cursor()
1088 row_packet->row_buffer.ptr = NULL; in mysqlnd_fetch_stmt_row_cursor()
1096 UPSERT_STATUS_SET_WARNINGS(stmt->upsert_status, row_packet->warning_count); in mysqlnd_fetch_stmt_row_cursor()
1097 UPSERT_STATUS_SET_WARNINGS(conn->upsert_status, row_packet->warning_count); in mysqlnd_fetch_stmt_row_cursor()
1099 UPSERT_STATUS_SET_SERVER_STATUS(stmt->upsert_status, row_packet->server_status); in mysqlnd_fetch_stmt_row_cursor()
1100 UPSERT_STATUS_SET_SERVER_STATUS(conn->upsert_status, row_packet->server_status); in mysqlnd_fetch_stmt_row_cursor()
1102 result->unbuf->eof_reached = row_packet->eof; in mysqlnd_fetch_stmt_row_cursor()
1104 UPSERT_STATUS_SET_WARNINGS(stmt->upsert_status, row_packet->warning_count); in mysqlnd_fetch_stmt_row_cursor()
1105 UPSERT_STATUS_SET_WARNINGS(conn->upsert_status, row_packet->warning_count); in mysqlnd_fetch_stmt_row_cursor()
1107 UPSERT_STATUS_SET_SERVER_STATUS(stmt->upsert_status, row_packet->server_status); in mysqlnd_fetch_stmt_row_cursor()
1108 UPSERT_STATUS_SET_SERVER_STATUS(conn->upsert_status, row_packet->server_status); in mysqlnd_fetch_stmt_row_cursor()
1112 row_packet->server_status, row_packet->warning_count, in mysqlnd_fetch_stmt_row_cursor()