Renamed MAX_KEY_SIZ to XFLM_MAX_KEY_SIZE and move the define into xflaim.h.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@226 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-03-29 23:43:45 +00:00
parent 066d5b8e30
commit 99f01f6f02
22 changed files with 191 additions and 196 deletions

View File

@@ -2626,8 +2626,8 @@ RCODE F_Btree::createNewLevel( void)
FLMUINT uiCounts = 0;
FLMBYTE * pucEntry;
FLMBYTE * pucNull = NULL;
FLMBYTE ucBuffer[ MAX_KEY_SIZ + BTE_NLC_KEY_START];
FLMUINT uiMaxNLKey = MAX_KEY_SIZ + BTE_NLC_KEY_START;
FLMBYTE ucBuffer[ XFLM_MAX_KEY_SIZE + BTE_NLC_KEY_START];
FLMUINT uiMaxNLKey = XFLM_MAX_KEY_SIZE + BTE_NLC_KEY_START;
FLMUINT uiEntrySize;
F_BTSK * pRootStack;
FLMUINT uiFlags;
@@ -4959,7 +4959,7 @@ RCODE F_Btree::findEntry(
uiKeyLen = 0;
}
if( uiKeyLen > MAX_KEY_SIZ)
if( uiKeyLen > XFLM_MAX_KEY_SIZE)
{
rc = RC_SET( NE_XFLM_BTREE_KEY_SIZE);
goto Exit;