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

Commitb65847b

Browse files
committed
Reversed out group by patch.
1 parentb4564a9 commitb65847b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

‎src/backend/executor/nodeGroup.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* columns. (ie. tuples from the same group are consecutive)
1414
*
1515
* IDENTIFICATION
16-
* $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.12 1998/01/26 00:21:02 scrappy Exp $
16+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.13 1998/01/27 15:41:32 momjian Exp $
1717
*
1818
*-------------------------------------------------------------------------
1919
*/
@@ -415,11 +415,8 @@ sameGroup(TupleTableSlot *oldslot,
415415

416416
if (isNull1==isNull2)
417417
{
418-
/* both are null, they are _not_ equal since
419-
* NULL is not equal to NULL (or anything).
420-
* -- 25 Jan 1998 -- darrenk */
421-
if (isNull1)
422-
return FALSE;
418+
if (isNull1)/* both are null, they are equal */
419+
continue;
423420

424421
val1=fmgr(typoutput,attr1,
425422
gettypelem(tupdesc->attrs[att-1]->atttypid));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp