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

Commitcff0241

Browse files
committed
Terminate message doesn't have a trailing zero byte.
1 parente77aaad commitcff0241

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/interfaces/jdbc/org/postgresql/PG_Stream.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,12 +383,11 @@ public void flush() throws SQLException
383383
*/
384384
publicvoidclose()throwsIOException
385385
{
386-
pg_output.write("X\0".getBytes());
386+
pg_output.write("X".getBytes());
387387
pg_output.flush();
388388
pg_output.close();
389389
pg_input.close();
390390
connection.close();
391391
}
392392

393393
}
394-

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp