First set of changes needed for bugzilla bug #145076. Added ability to keep a field id table for level one fields.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@204 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
dsandersoremutah
2006-03-23 17:37:47 +00:00
parent 77fdc5ed76
commit 537e33bf24
12 changed files with 1145 additions and 28 deletions

View File

@@ -401,8 +401,7 @@ RCODE flmAddRecord(
pRecord->setContainerID( pLFile->uiLfNum);
if (bKeepInCache)
{
if( RC_BAD( rc = flmRcaInsertRec( pDb, pLFile->uiLfNum, uiDrn,
pRecord)))
if( RC_BAD( rc = flmRcaInsertRec( pDb, pLFile, uiDrn, pRecord)))
{
// Remove the record that was added because of the error.
@@ -578,7 +577,7 @@ FLMEXP RCODE FLMAPI FlmRecordModify(
pRecord->setID( uiDrn);
pRecord->setContainerID( uiContainer);
if( RC_BAD( rc = flmRcaInsertRec( pDb, uiContainer, uiDrn, pRecord)))
if( RC_BAD( rc = flmRcaInsertRec( pDb, pLFile, uiDrn, pRecord)))
{
goto Exit;
}
@@ -661,8 +660,7 @@ FLMEXP RCODE FLMAPI FlmRecordModify(
pRecord->setID( uiDrn);
pRecord->setContainerID( uiContainer);
if( RC_BAD( rc = flmRcaInsertRec( pDb, uiContainer, uiDrn,
pRecord)))
if( RC_BAD( rc = flmRcaInsertRec( pDb, pLFile, uiDrn, pRecord)))
{
if ( rc != FERR_MEM)
{