ctdbSetSessionType
Change the session type.
Declaration
CTDBRET ctdbSetSessionType(CTHANDLE Handle, CTSESSION_TYPE SessionType)
Description
ctdbSetSessionType() changes the session type. The session type is initially set when ctdbAllocSession() is called to allocate a new session handle. ctdbSetSessionType() allow users to change the session type after it has been allocated.
Returns
ctdbSetSessionType() returns CTDBRET_OK if successful, or the c-tree error code on failure.
See also
ctdbGetSessionType()