Changed code to use a single FlmDbSystem object. Fixed utilities so that they build using FTK.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@405 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-05-10 22:27:54 +00:00
parent 62e33bcd7d
commit 8df295d049
30 changed files with 289 additions and 447 deletions

View File

@@ -132,13 +132,6 @@ int main(
goto Exit;
}
// Initialize the database system
if( RC_BAD( rc = pDbSystem->init()))
{
goto Exit;
}
// Create the database. This code will remove the database first if it
// exists. Once removed, it will try to create it. If that fails for
// any reason other than the database already exists, it will exit.
@@ -845,12 +838,10 @@ Exit:
printMessage( (char *)ucMsgBuf);
}
// Shut down the XFlaim database engine. This call must be made
// even if the init call failed. No more XFlaim calls should be made
// by the application.
pDbSystem->exit();
pDbSystem->Release();
if( pDbSystem)
{
pDbSystem->Release();
}
return( 0);
}