Versions available for this page: CUBRID 8.4.3 |
Since query results performed by cci_execute_batch, cci_execute_array or cci_execute_result function are stored as an array of T_CCI_QUERY_RESULT type so you need to check the query result for each item of the array.
CCI_QUERY_RESULT_ERR_MSG fetches the error number for the array item specified as index, if it is not an error, it returns 0.
#define CCI_QUERY_RESULT_ERR_NO(T_CCI_QUERY_RESULT* query_result, int index)