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

@@ -80,10 +80,10 @@ RCODE F_DbCheck::chkGetNextRSKey( void)
if (RC_BAD( rc = m_pIxRSet->getFirst( m_pDb, m_pIxd, NULL,
pCurrRSKey->pucRSKeyBuf,
MAX_KEY_SIZ,
XFLM_MAX_KEY_SIZE,
&pCurrRSKey->uiRSKeyLen,
pCurrRSKey->pucRSDataBuf,
MAX_KEY_SIZ,
XFLM_MAX_KEY_SIZE,
&pCurrRSKey->uiRSDataLen)))
{
goto Exit;
@@ -730,7 +730,7 @@ RCODE F_DbCheck::addDelKeyRef(
FLMBOOL bDelete)
{
RCODE rc = NE_XFLM_OK;
FLMBYTE ucKeyBuf[ sizeof( KREF_ENTRY) + MAX_KEY_SIZ];
FLMBYTE ucKeyBuf[ sizeof( KREF_ENTRY) + XFLM_MAX_KEY_SIZE];
KREF_ENTRY * pKrefEntry = (KREF_ENTRY *)(&ucKeyBuf[ 0]);
FLMBOOL bStartedUpdate = FALSE;
FLMBOOL bKeyInDoc;