classname_indexname_create

This function builds the tree index for an index declared as voluntary.

Prototype

    MCO_RET classname_indexname_create(    /*IN*/ mco_trans_h trans );

Arguments

trans
A transaction handle returned by mco_trans_start().

Description

This function builds the tree index for an index declared as voluntary.

Return Codes

MCO_S_OK
The index was built successfully.
MCO_E_ACCESS
Transaction is not MCO_READ_WRITE.
MCO_S_DUPLICATE
The index already exists.
MCO_E_VOLUNTARY_NOT_EXIST
The index is voluntary and does not exist.