cndxrun
Executes the parse tree evaluating an expression in a parse tree. The result of the expression is left on top of the stack.
Declaration
COUNT cndxrun( PTREE Tree, pVOID Recptr, pConvMap Schema, VRLEN fixlen, VRLEN datlen );
Description
Where:
Return Values
Value |
Symbolic Constant |
Explanation |
|
ERY_NONE |
SUCCESS |
See FairCom DB Error Codes for a complete listing of valid FairCom DB error values.
Example
if ( ( retcidx = cndxrun( (PTREE)expr->expr_tree,
pRecord->recbuf,
(pConvMap)pTable->schemaptr,
(VRLEN)pRecord->fixrec_len,
(VRLEN)pRecord->recbuf_len inHan) ) == ERY_NONE && ctcidxStkPtr == 0 )
{
retval = CTDBRET_INTERNAL;
goto Exit;
}
See also
cndxeval, cndxfree, cndxparse, ctparsedoda, getcndxmem, putcndxmem