Skip to content

Commit

Permalink
chore: flush data in stream
Browse files Browse the repository at this point in the history
  • Loading branch information
sunng87 committed Oct 23, 2024
1 parent d1d64c6 commit 2a88ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ where
while let Some(row) = data_rows.next().await {
let row = row?;
rows += 1;
client.feed(PgWireBackendMessage::DataRow(row)).await?;
client.send(PgWireBackendMessage::DataRow(row)).await?;
}

let tag = Tag::new(&command_tag).with_rows(rows);
Expand Down

0 comments on commit 2a88ad0

Please sign in to comment.