windows-nt/Source/XPSP1/NT/net/jet500/xjet/inc/dbcc.h
2020-09-26 16:20:57 +08:00

41 lines
751 B
C

typedef struct tagKEYSTATS
{
ULONG cRecords;
ULONG cbMinKey;
ULONG cbMaxKey;
ULONG cbTotalKey;
ULONG cbKeySavings;
ULONG cOccurrencesCurKey;
ULONG rgcKeyOccurrences[15];
} KEYSTATS;
typedef struct tagDBCCINFO
{
PIB *ppib;
DBID dbid;
FUCB *pfucb;
DBUTIL_OP op;
JET_GRBIT grbitOptions;
/* consistency check information
/**/
JET_TABLEID tableidPageInfo;
JET_TABLEID tableidSpaceInfo;
/* common information
/**/
ULONG ulIndentLevel;
CHAR szDatabase[JET_cbNameMost + 1];
CHAR szTable[JET_cbNameMost + 1];
CHAR szIndex[JET_cbNameMost + 1];
} DBCCINFO;
ERR ErrDUMPHeader( CHAR *szDatabase, BOOL fSetState );
ERR ErrDUMPCheckpoint( CHAR *szCheckpoint );
#ifdef DEBUG
ERR ErrDUMPLog( CHAR *szLog );
#endif