Product Documentation

V11.5 Update Guide

Previous Topic

Next Topic

c-treeDB new flags for CTDB_BINARY_FLAG

A new set of Binary Flags has been introduced for the CTDB_BINARY_FLAG enum in CTDBSDK.H:

CTDB_FIELDFLAG_USER1 = 8, /* field used to store USER type */

CTDB_FIELDFLAG_USER2 = 9, /* field used to store USER type */

CTDB_FIELDFLAG_USER3 = 10, /* field used to store USER type */

CTDB_FIELDFLAG_USER4 = 11, /* field used to store USER type */

CTDB_FIELDFLAG_USER5 = 12, /* field used to store USER type */

CTDB_FIELDFLAG_USER6 = 13, /* field used to store USER type */

CTDB_FIELDFLAG_USER7 = 14, /* field used to store USER type */

CTDB_FIELDFLAG_USER8 = 15, /* field used to store USER type */

CTDB_FIELDFLAG_USER9 = 16, /* field used to store USER type */

CTDB_FIELDFLAG_USER10 = 17, /* field used to store USER type */

These values can be used to indicate particular characteristics of a field definable by the programmer bindable to the field definition by calling ctdbSetFieldBinaryFlag. A natural use of these flags is to aid c-treeDB data-type conversion callbacks to identify which fields need conversions and which type of conversion they need.

TOCIndex