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  

MCO_E_VOLUNTARY_NOT_EXIST