windows-nt/Source/XPSP1/NT/net/jet500/xjet/inc/stats.h

35 lines
680 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
#pragma pack(1)
typedef struct
{
ULONG cItems;
ULONG cKeys;
ULONG cPages;
JET_DATESERIAL dtWhenRun;
} SR;
#pragma pack()
ERR ErrSTATSComputeIndexStats( PIB *ppib, FCB *pfcbIdx, FUCB *pfucb );
ERR ErrSTATSRetrieveTableStats(
PIB *ppib,
DBID dbid,
char *szTable,
long *pcRecord,
long *pcKey,
long *pcPage );
ERR ErrSTATSRetrieveIndexStats(
FUCB *pfucbTable,
char *szIndex,
BOOL fClustered,
long *pcItem,
long *pcKey,
long *pcPage );
// This actually belongs in systab.h, but then we'd have a cyclic dependency
// on SR.
ERR ErrCATStats(PIB *ppib, DBID dbid, OBJID objidTable, CHAR *sz2ndIdxName,
SR *psr, BOOL fWrite);;