ctdbStopDatabaseEngine
Stops the FairCom DB database engine .DLL model.
Declaration
CTDBRET ctdbStopDatabaseEngine(void)
Description
ctdbStopDatabaseEngine() shuts down the FairCom DB database engine .DLL model. This ensures a clean shutdown, resulting in quicker startups at the next application instance. It also ensures all files are properly closed and flushed to disk.
Returns
Returns CTDBRET_OK on success, or c-treeDB API C API error on failure.
Example
ret = ctdbSetConfigurationFile("ctsrvr.cfg");
ret = ctdbStartDatabaseEngine();
...
...
ret = ctdbStopDatabaseEngine();
See also
ctdbStartDatabaseEngine(), ctdbSetConfigurationFile()