ctdbIsActiveDatabase
Retrieve the active state of a database.
Declaration
CTBOOL ctdbIsActiveDatabase(CTHANDLE Handle)
Description
ctdbIsActiveDatabase() retrieves the active state of a database, connected or disconnected. A database is active when it is connected. To connect the database, use ctdbConnect().
Returns
ctdbIsActiveDatabase() returns YES if the database is connected and NO if the database is disconnected.
See also
ctdbAllocDatabase(), ctdbIsActiveSession(), ctdbIsActiveTable(), ctdbConnect()