ctdbGetTableHotAlterCallbackLib
Return the callback library name for hot alter table.
Declaration
pTEXT ctdbDECL ctdbGetTableHotAlterCallbackLib(CTHANDLE Handle)
Description
FairCom DB now supports passing the names of a shared library and a field conversion function to the hot alter table function. This permits application developers to set a user-defined field conversion function to convert field values from one version of a schema to another version.
We now extend our FairCom DB API API to specify the conversion callback library at a table level and the callback conversion function name at a field level. If the callback library name at table level is not specified, we retrieve the last one used. If no callback library has ever been specified, we return an error.
Returns
ctdbGetTableHotAlterCallbackLib() returns pointer to the internal library name buffer.
See also
FairCom DB API API Functions for User-Defined Hot Alter Table Field Conversion Callback