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

Saves the error messages corresponding to the CCI error codes in the message buffer. If the value of CCI error code is CCI_ER_DBMS, the database error buffer (err_buf) receives the error message sent from the data server and saves it in the message buffer. 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) Connection handle
  • 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