FairCom Corporation


4.3.14 ctdbAlterTable


Rebuild existing table based on field, index and segment changes.

Declaration

CTDBRET ctdbAlterTable(CTHANDLE Handle, NINT Action)

Description

ctdbAlterTable rebuilds an existing table based on field, index and segment changes.

Note: Due to the non-exclusive nature of Unix, this funcation can be successfully executed on a file that was opened by several other applications in shared mode. However, although the function succeeds, it may cause havoc for the other applications. This can be pre- vented by enforcing exclusivity with locks, but this is not the default mode.

Returns

ctdbAlterTable returns CTDBRET_OK if successful, or the c-tree Plus error code on failure.

See also

ctdbCreateTable


FairCom Corporation
www.faircom.com