Product Documentation

V9 Update Guide

Previous Topic

Next Topic

Exclusive Sessions and Databases in c-treeDB

New functions and methods were added to a c-treeDB session to allow the setting of the session exclusive flag and to permit the retrieval of the session exclusive flag. The session exclusive flag controls if the session dictionary file is opened in exclusive mode or not. When a session exclusive flag is set, a successful logon will only succeed if no other users are currently logged on to the same session dictionary. This behavior is an extension of an exclusive table open.

c-treeDB C API

  • ctdbSetSessionExclusive()
  • ctdbIsSessionExclusive()
  • ctdbSetDatabaseExclusive()
  • ctdbIsDatabaseExclusive()

c-treeDB C++ API

  • CTSession::SetExclusive()
  • CTSession::IsExclusive()
  • CTDatabase::SetExclusive()
  • CTDatabase::IsExclusive()

TOCIndex