The following table shows the error codes and their messages of CCI.
Error Code |
Error Message |
Note |
---|---|---|
CCI_ER_ALLOC_CON_HANDLE |
"Cannot allocate connection handle" |
|
CCI_ER_ATYPE |
"Invalid T_CCI_A_TYPE value" |
|
CCI_ER_BIND_ARRAY_SIZE |
"Array binding size is not specified" |
|
CCI_ER_BIND_INDEX |
"Parameter index is out of range" |
Index that binds data is not valid. |
CCI_ER_COLUMN_INDEX |
"Column index is out of range" |
|
CCI_ER_COMMUNICATION |
"Cannot communicate with server" |
|
CCI_ER_CON_HANDLE |
"Invalid connection handle" |
|
CCI_ER_CONNECT |
"Cannot connect to CUBRID CAS" |
Fails to connect the CAS when trying connection to the server. |
CCI_ER_DELETED_TUPLE |
"Current row was deleted" |
|
CCI_ER_FILE |
"Cannot open file" |
Fails to open/read/write a file. |
CCI_ER_HOSTNAME |
"Unknown host name" |
|
CCI_ER_INVALID_CURSOR_POS |
"Invalid cursor position" |
|
CCI_ER_INVALID_URL |
"Invalid url string" |
|
CCI_ER_ISOLATION_LEVEL |
"Unknown transaction isolation level" |
|
CCI_ER_NO_MORE_DATA |
"Invalid cursor position" |
|
CCI_ER_NO_MORE_MEMORY |
"Memory allocation error" |
Insufficient memory |
CCI_ER_OBJECT |
"Invalid oid string" |
|
CCI_ER_OID_CMD |
"Invalid T_CCI_OID_CMD value" |
|
CCI_ER_TRAN_TYPE |
"Unknown transaction type" |
|
CCI_ER_PARAM_NAME |
"Invalid T_CCI_DB_PARAM value" |
|
CCI_ER_REQ_HANDLE |
"Cannot allocate request handle" |
|
CCI_ER_SAVEPOINT_CMD |
"Invalid T_CCI_SAVEPOINT_CMD value" |
Invalid T_CCI_SAVEPOINT_CMD value is used as an argument of cci_savepoint() function. |
CCI_ER_SET_INDEX |
"Invalid set index" |
Invalid index is specified when an set element in the T_SET is retrieved. |
CCI_ER_STRING_PARAM |
"Invalid string argument" |
string parameter is NULL or an empty string. |
CCI_ER_THREAD_RUNNING |
"Thread is running" |
The thread is still executed when cci_execute() is executed with CCI_EXEC_THREAD flaged and check the result of thread execution through cci_get_thread_result(). |
CCI_ER_TRAN_TYPE |
"Unknown transaction type" |
Connection to the server has succeeded, connection to a database fails. |
CCI_ER_TYPE_CONVERSION |
"Type conversion error" |
Cannot convert the given value into an actual data type. |
CCI_ER_DBMS |
"CUBRID DBMS Error" |
Fails to database connection. |
CAS_ER_COLLECTION_DOMAIN |
"Heterogeneous set is not supported" |
Not supported set type. |
CAS_ER_COMMUNICATION |
"Cannot receive data from client" |
|
CAS_ER_DB_VALUE |
"Cannot make DB_VALUE" |
|
CAS_ER_DBSERVER_DISCONNECTED |
"Cannot communicate with DB Server" |
|
CAS_ER_FREE_SERVER |
"Cannot process the request. Try again later" |
Cannot assign CAS. |
CAS_ER_INVALID_CALL_STMT |
"Illegal CALL statement" |
|
CAS_ER_NO_MORE_DATA |
"Invalid cursor position" |
|
CAS_ER_NO_MORE_MEMORY |
"Memory allocation error" |
|
CAS_ER_NO_MORE_RESULT_SET |
"No More Result" |
|
CAS_ER_NOT_AUTHORIZED_CLIENT |
"Authorization error" |
Access is denied. |
CAS_ER_NOT_COLLECTION |
"The attribute domain must be the set type" |
No set type. |
CAS_ER_NUM_BIND |
"Invalid parameter binding value argument" |
The number of data to be bound is not matched with the number of delivered data. |
CAS_ER_OBJECT |
"Invalid oid" |
|
CAS_ER_OPEN_FILE |
"Cannot open file" |
|
CAS_ER_PARAM_NAME |
"Invalid T_CCI_DB_PARAM value" |
Invalid get_db_parameter and , set_db_parameter parameter name. |
CAS_ER_QUERY_CANCEL |
"Cannot cancel the query" |
|
CAS_ER_UNKNOWN_U_TYPE |
"Invalid T_CCI_U_TYPE value" |
|
CAS_ER_TYPE_CONVERSION |
"Type conversion error" |
|
CAS_ER_SCHEMA_TYPE |
"Invalid T_CCI_SCH_TYPE value" |
|
CAS_ER_STMT_POOLING |
"Invalid plan" |
|
CAS_ER_TRAN_TYPE |
"Invalid transaction type argument" |
|
CAS_ER_TYPE_CONVERSION |
"Type conversion error" |
|
CAS_ER_UNKNOWN_U_TYPE |
"Invalid T_CCI_U_TYPE value" |
|
CAS_ER_VERSION |
"Version mismatch" |
Invalid Server and Client version. |