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

Commitc02036b

Browse files
committed
Simplify loop test to avoid bug in AIX compiler, per Andreas.
1 parent9ea6d0f commitc02036b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/commands/analyze.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/backend/commands/analyze.c,v 1.63 2003/09/25 06:57:58 petere Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/commands/analyze.c,v 1.64 2003/10/18 15:38:06 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -714,7 +714,7 @@ random_fract(void)
714714
do
715715
{
716716
z=random();
717-
}while (!(z>0&&z<MAX_RANDOM_VALUE));
717+
}while (z <=0||z>=MAX_RANDOM_VALUE);
718718
return (double)z / (double)MAX_RANDOM_VALUE;
719719
}
720720

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp