This test that index node are consistent. For each node pointer in an index node, the node pointed to is tested to ensure it's adjacents agree with .. Arguments: None
| Return Type | Function name | Arguments |
|---|---|---|
| hzEcode | _hz_tmpl_ISAM::IntegBase | (void) |
Declared in file: hzIsamT.h
Defined in file : hzIsamT.cpp
Function Logic:
Function body:
hzEcode _hz_tmpl_ISAM::IntegBase (void)
{
// This test that index node are consistent. For each node pointer in an index node, the node pointed to is tested to ensure it's adjacents agree with ..
//
// Arguments: None
//
// Returns: E_CORRUPT If any ode fails integrity test
// E_OK If all nodes pass
_hzfunc("_hz_tmpl_ISAM::IntegBase") ;
_hz_vn_Idx* pN ; // ISAM root
hzLogger* plog ; // Current thread logger
if (!m_pRoot)
return E_OK ;
if (!m_pRoot->Level())
return E_OK ;
pN = (_hz_vn_Idx*) m_pRoot ;
plog = GetThreadLogger() ;
return _integBase(plog, pN) ;
}