ctdbSetDictInSuperfile
Sets if the dictionary is created in a superfile (default) or in a standard, system file. By default, dictionaries are created in superfiles.
Declaration
CTDBRET ctdbDECL ctdbSetDictInSuperfile(CTHANDLE Handle, CTBOOL superfile)
Desciption
c-treeDB API now has the capability to create session and database dictionaries as regular tables instead of superfiles. When using this feature, c-treeDB API now creates a directory named the same as the superfile was named. The dictionary tables are created as regular files inside the directory.
To use this new capability, call this function prior to creating the session or the database:
ctdbSetDictInSuperfile() (ctdbSetDictInSuperfile, ctdbSetDictInSuperfile)
The handle must be a session handle when creating a session and a database handle when creating a database.
Returns
Return CTDBRET_OK on success.