Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9774c33

Browse files
authored
Merge pull request#973 from penberg/flush
Add flush() to front-end messages
2 parents97db777 +d368475 commit9774c33

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎postgres-protocol/src/message/frontend.rs‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,12 @@ where
271271
})
272272
}
273273

274+
#[inline]
275+
pubfnflush(buf:&mutBytesMut){
276+
buf.put_u8(b'H');
277+
write_body(buf, |_|Ok::<(), io::Error>(())).unwrap();
278+
}
279+
274280
#[inline]
275281
pubfnsync(buf:&mutBytesMut){
276282
buf.put_u8(b'S');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp