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

Commitc0178f2

Browse files
committed
From: "D'Arcy J.M. Cain" <darcy@druid.net>
Subject: [HACKERS] src.original/./backend/lib/fstack.cAnother change I suggested. I bracket an unused function and add areturn to quiet the compiler. In addition I added an internalconsistency check.
1 parentf50b103 commitc0178f2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/backend/optimizer/geqo/geqo_eval.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
* $Id: geqo_eval.c,v 1.8 1997/04/09 08:31:29 scrappy Exp $
8+
* $Id: geqo_eval.c,v 1.9 1997/06/06 00:38:17 scrappy Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -415,6 +415,7 @@ new_joininfo_list(List *joininfo_list, List *join_relids)
415415
return(current_joininfo_list);
416416
}
417417

418+
#ifdefNOTUSED
418419
/*
419420
* add-new-joininfos--
420421
* For each new join relation, create new joininfos that
@@ -636,6 +637,7 @@ nonoverlap_sets(List *s1, List *s2)
636637
}
637638
return(true);
638639
}
640+
#endif/* NOTUSED */
639641

640642
/*
641643
* geqo_joinrel_size--
@@ -682,4 +684,6 @@ geqo_nth(int stop, List *rels)
682684
if (i==stop)returnlfirst(r);
683685
i++;
684686
}
687+
elog(WARN,"geqo_nth: Internal error - ran off end of list");
688+
returnNULL;/* to keep compiler happy */
685689
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp