Commit bbe2c10c authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

Addded to Psortstate:

	lt_tupcount - number of tuples in struct leftist *Tuples
	lasttuple   - last tuple put to disk by createfirstrun()
parent 7ffd2c09
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: psort.h,v 1.11 1997/09/15 14:29:01 vadim Exp $ * $Id: psort.h,v 1.12 1997/09/18 05:42:01 vadim Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -57,6 +57,8 @@ typedef struct Psortstate ...@@ -57,6 +57,8 @@ typedef struct Psortstate
int tupcount; int tupcount;
struct leftist *Tuples; struct leftist *Tuples;
int lt_tupcount;
HeapTuple lasttuple;
FILE *psort_grab_file; FILE *psort_grab_file;
long psort_current; /* could be file offset, or array index */ long psort_current; /* could be file offset, or array index */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment