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

Commit1426db5

Browse files
committed
Fix stupid oversight ...
1 parentfe19e56 commit1426db5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/utils/adt/selfuncs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
*
1717
* IDENTIFICATION
18-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.135 2003/04/15 05:18:12 tgl Exp $
18+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.136 2003/04/16 04:37:58 tgl Exp $
1919
*
2020
*-------------------------------------------------------------------------
2121
*/
@@ -1610,8 +1610,8 @@ eqjoinsel(PG_FUNCTION_ARGS)
16101610
* side? It seems that if we assume equal distribution for the
16111611
* other side, we end up with the same answer anyway.
16121612
*/
1613-
doublenullfrac1=stats1->stanullfrac;
1614-
doublenullfrac2=stats2->stanullfrac;
1613+
doublenullfrac1=stats1 ?stats1->stanullfrac :0.0;
1614+
doublenullfrac2=stats2 ?stats2->stanullfrac :0.0;
16151615

16161616
selec= (1.0-nullfrac1)* (1.0-nullfrac2);
16171617
if (nd1>nd2)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp