OSDN Git Service

Addded to Psortstate:
authorVadim B. Mikheev <vadim4o@yahoo.com>
Thu, 18 Sep 1997 05:42:01 +0000 (05:42 +0000)
committerVadim B. Mikheev <vadim4o@yahoo.com>
Thu, 18 Sep 1997 05:42:01 +0000 (05:42 +0000)
lt_tupcount - number of tuples in struct leftist *Tuples
lasttuple   - last tuple put to disk by createfirstrun()

src/include/utils/psort.h

index 5e1c970..9f4db17 100644 (file)
@@ -6,7 +6,7 @@
  *
  * 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
        int                     tupcount;
 
        struct leftist *Tuples;
+       int                     lt_tupcount;
+       HeapTuple       lasttuple;
 
        FILE       *psort_grab_file;
        long            psort_current;  /* could be file offset, or array index */