The mi_qual_setoutput() accessor function

The mi_qual_setoutput() function sets a constant-argument value for a UDR.

Syntax

void 
mi_qual_setoutput(MI_AM_QUAL_DESC *qualDesc, mi_integer n,
   MI_DATUM value, mi_boolean null_flag);
qualDesc
Points to the qualification descriptor.
n
Is always set to 0 to indicate the first and only argument that needs a value.
value
Passes the output value in a MI_DATUM data structure.
null_flag
Is MI_TRUE if value is NULL.

Usage

If a function declaration includes an out parameter, the function call in the WHERE clause includes a corresponding placeholder, called a statement-local variable (SLV). If the mi_qual_needoutput() function detects the presence of an SLV, the access method calls the mi_qual_setoutput() function to set a constant value for that SLV.

Return values

None