Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTTable::UpdateCreateMode

Syntax

void CTTable::UpdateCreateMode(CTCREATE_MODE mode)

Parameters

  • mode [in] Represents the new table create mode. It must be perfectly formed, as it will replace the current table create mode. Use the method GetCreateMode() to retrieve the current crete mode and apply the changes on a fully qualified create mode. Update only the following create table modes:
    • CTCREATE_PREIMG
    • CTCREATE_TRNLOG
    • CTCREATE_WRITETHRU
    • CTCREATE_CHECKLOCK
    • CTCREATE_CHECKREAD
    • CTCREATE_HUGEFILE

Description

Update the table create mode. This method changed critical file mode attributes such as the level of transaction control.

No check is made to determine if the mode change will damage data. No check is made if the new mode is valid.

Note: Use this method with caution as data may be lost. For instance, changing a data file from transaction processing to no transaction processing make automatic recovery unavailable.

Return

None.

See also

Create()

TOCIndex