Skip to content

Commit 677efc7

Browse files
committed
Another psort fix.
1 parent 42c0cd3 commit 677efc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/sort/psort.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/sort/Attic/psort.c,v 1.9 1997/08/06 07:02:48 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/sort/Attic/psort.c,v 1.10 1997/08/06 07:39:20 momjian Exp $
1111
*
1212
* NOTES
1313
* Sorts the first relation into the second relation.
@@ -587,7 +587,7 @@ dumptuples(FILE *file, Sort *node)
587587
FREEMEM(node,sizeof (struct leftist));
588588
FREE(tp);
589589
if (PS(node)->using_tape_files) {
590-
PUTTUP(node, tup, PS(node)->Tape->tp_file);
590+
PUTTUP(node, tup, file);
591591
FREEMEM(node,tup->t_len);
592592
FREE(tup);
593593
}

0 commit comments

Comments
 (0)