Product Documentation

V9 Update Guide

Previous Topic

Next Topic

Attach and Detach Existing Sessions to c-treeDB

There are situations where an existing connection to c-tree already exists via a call to a low level or ISAM c-tree initialization function, however, c-treeDB functionality is required without terminating the existing connection and starting a new c-treeDB session. The following functions were added to the c-treeDB API to permit a session handle to be attached and detached from an existing c-tree connection.

c-treeDB C API

  • ctdbAttachSession()
  • ctdbDetachSession()
  • ctdbGetAttachMode()

c-treeDB C++ API

  • CTSession::Attach()
  • CTSession::Detach()
  • CTSession::GetAttachMode()

TOCIndex