aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeGroup.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-01-27 15:41:32 +0000
committerBruce Momjian <bruce@momjian.us>1998-01-27 15:41:32 +0000
commitb65847b84e9952d5fd40908c6ed575919bd4e17e (patch)
treee5529a2b1873292389c673747c9c4f95374c60e2 /src/backend/executor/nodeGroup.c
parentb4564a98fa6ba4c93f3d1fe49909eb170650a888 (diff)
downloadpostgresql-b65847b84e9952d5fd40908c6ed575919bd4e17e.tar.gz
postgresql-b65847b84e9952d5fd40908c6ed575919bd4e17e.zip
Reversed out group by patch.
Diffstat (limited to 'src/backend/executor/nodeGroup.c')
-rw-r--r--src/backend/executor/nodeGroup.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/backend/executor/nodeGroup.c b/src/backend/executor/nodeGroup.c
index 196d347df43..a0c9725c2f6 100644
--- a/src/backend/executor/nodeGroup.c
+++ b/src/backend/executor/nodeGroup.c
@@ -13,7 +13,7 @@
* columns. (ie. tuples from the same group are consecutive)
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.12 1998/01/26 00:21:02 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.13 1998/01/27 15:41:32 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -415,11 +415,8 @@ sameGroup(TupleTableSlot *oldslot,
if (isNull1 == isNull2)
{
- /* both are null, they are _not_ equal since
- * NULL is not equal to NULL (or anything).
- * -- 25 Jan 1998 -- darrenk */
- if (isNull1)
- return FALSE;
+ if (isNull1) /* both are null, they are equal */
+ continue;
val1 = fmgr(typoutput, attr1,
gettypelem(tupdesc->attrs[att - 1]->atttypid));