Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.4.3 |  CUBRID 9.0.0 | 

cci_get_error_msg

Description

The cci_get_error_msg function stores the error messages corresponding to the CCI error codes to the error message buffer. If the CCI error code vaule is CCI_ER_DBMS, the error messages occurred in database server are transferred to database error buffer (err_buf) and stored. For details on error codes and messages, see CCI Error Codes and Error Messages.

Syntax

int cci_get_error_msg(int err_code, T_CCI_ERROR *err_buf, char *msg_buf, int msg_buf_size)

  • err_code : (IN) Error code
  • err_buf : (IN) Database error buffer
  • msg_buf : (OUT) Error message buffer
  • msg_buf_size : (IN) msg_buf size
Return Value
  • 0: Success
  • -1: Failure