mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Another psort fix.
This commit is contained in:
		@@ -7,7 +7,7 @@
 | 
				
			|||||||
 *
 | 
					 *
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * IDENTIFICATION
 | 
					 * IDENTIFICATION
 | 
				
			||||||
 *    $Header: /cvsroot/pgsql/src/backend/utils/sort/Attic/psort.c,v 1.9 1997/08/06 07:02:48 momjian Exp $
 | 
					 *    $Header: /cvsroot/pgsql/src/backend/utils/sort/Attic/psort.c,v 1.10 1997/08/06 07:39:20 momjian Exp $
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * NOTES
 | 
					 * NOTES
 | 
				
			||||||
 *      Sorts the first relation into the second relation.
 | 
					 *      Sorts the first relation into the second relation.
 | 
				
			||||||
@@ -587,7 +587,7 @@ dumptuples(FILE *file, Sort *node)
 | 
				
			|||||||
	FREEMEM(node,sizeof (struct leftist));
 | 
						FREEMEM(node,sizeof (struct leftist));
 | 
				
			||||||
	FREE(tp);
 | 
						FREE(tp);
 | 
				
			||||||
	if (PS(node)->using_tape_files) {
 | 
						if (PS(node)->using_tape_files) {
 | 
				
			||||||
	    PUTTUP(node, tup, PS(node)->Tape->tp_file);
 | 
						    PUTTUP(node, tup, file);
 | 
				
			||||||
	    FREEMEM(node,tup->t_len);
 | 
						    FREEMEM(node,tup->t_len);
 | 
				
			||||||
	    FREE(tup);
 | 
						    FREE(tup);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user