skip to main content
IP API Reference for C/C++ : IP API for C/C++ : sqlu_addToDataChain
 

sqlu_addToDataChain

This function adds data to the DataChainList. The OpenAccess SDK layer frees the added block when it finishes processing the row.
DataChainList * sqlu_addToDataChain(
XM_Tree * pMemTree,
DataChainList * DataChainList,
void *pData,
intiDataLen)
 
Table 58: Parameters for sqlu_addToDataChain 
Parameter
Type
Description
INPUT
 
 
pMemTree
XM_Tree *
Memory tree to use for creating the data chain object.
pDataChainList
DataChainList
Data chain object previously created using sqlu_createDataChain.
pData
void *
Pointer to the data object to be stored in the chain. The memory location pData should not be freed until the DataChainList has been retrieved by an OASQLIP_get_colval call.
iDataLen
int
Number of bytes in pData.
RETURN
 
 
 
DataChainList  *
A valid pointer if pData was added to pDataChainList object. A NULL if an error occurred.

See also 

sqlu_createDataChain
OASQLIP_get_colval