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

Commitec64390

Browse files
committed
Fix from Joe on timeout code.
1 parent6b0e166 commitec64390

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.211 2002/10/1602:55:30 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.212 2002/10/1604:38:00 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -1076,7 +1076,7 @@ connectDBComplete(PGconn *conn)
10761076
finish_time=time(NULL)+timeout;
10771077
}
10781078

1079-
while (finish_time==-1||time(NULL)>=finish_time)
1079+
while (finish_time==-1||time(NULL)<finish_time)
10801080
{
10811081
/*
10821082
* Wait, if necessary.Note that the initial state (just after

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp