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

Commitb68a56a

Browse files
committed
Thomas pointed out this bug in my non-blocking stuff.
Alfred Perlstein
1 parentea81522 commitb68a56a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/interfaces/libpq/fe-misc.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
*
2727
* IDENTIFICATION
28-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.39 2000/02/07 23:10:11 petere Exp $
28+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.40 2000/04/11 19:00:31 momjian Exp $
2929
*
3030
*-------------------------------------------------------------------------
3131
*/
@@ -115,6 +115,8 @@ pqPutBytes(const char *s, size_t nbytes, PGconn *conn)
115115
Max(conn->outBufSize-conn->outCount,0),nbytes);
116116
returnEOF;
117117
}
118+
/* fixup avail for while loop */
119+
avail=Max(conn->outBufSize-conn->outCount,0);
118120
}
119121

120122
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp