This method is used to compare a
value with a bitmask; if the column value
ANDed together with the bitmask is equal to
the bitmask, then execution jumps to a specified label specified
in the method call.
int branch_col_and_mask_eq_mask ( const void* mask, Uint32 unused, Uint32 attrId, Uint32 Label )
Parameters. This method can accept four parameters, of which three are actually used. These are described in the following list:
A pointer to a constant
maskto compare the column value to
Uint32value which is currently
attrIdof the column to be compared.
Labelto jump to if the condition is true.
This method returns
0 on success and
-1 on failure.