Product Documentation

FairCom DB 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 (FairCom DB API C++, .NET, FairCom DB API Java).

TOCIndex