Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbSetLogPath

Set transaction log path for standalone applications.

Declaration

CTDBRET ctdbDECL ctdbSetLogPath(CTHANDLE hSession, pTEXT path)

Description

  • hSession - a valid session handle
  • path - path to locate transaction logs

Standalone applications can now set a transaction log path as c-tree server's can do. Keeping the transaction logs in a secure separate location ensure the highest recovery options for applications. ctdbSetLogPath() defines this location.

These functions are methods of CTSession objects at the higher-level APIs (c-treeDB API C++, .NET, c-treeDB API Java).

TOCIndex