Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.2.1 |  CUBRID 8.3.0 |  CUBRID 8.3.1 |  CUBRID 8.4.0 |  CUBRID 8.4.1 |  CUBRID 8.4.3 |  CUBRID 9.0.0 | 

cci_oid

Description

CCI_OID_DROP : Deletes the given oid.

CCI_OID_IS_INSTANCE : Checks whether the given oid is an instance oid.

CCI_OID_LOCK_READ : Sets a read lock on the given oid.

CCI_OID_LOCK_WRITE : Sets a write lock on the given oid.

Syntax

intcci_oid(int conn_handle, T_CCI_OID_CMD cmd, char *oid_str, T_CCI_ERROR *err_buf)

  • conn_handle : (IN) Connection handle
  • cmd : (IN) CCI_OID_DROP, CCI_OID_IS_INSTANCE, CCI_OID_LOCK_READ, CCI_OID_LOCK_WRITE
  • oid_str : (IN) oid
  • err_buf : (OUT) Database error buffer
Return Value
  • CCI_OID_IS_INSTANCE
    • 0 : non-instance
    • 1 : instance
    • < 0 : error
  • CCI_OID_DROP, CCI_OID_LOCK_READ, CCI_OID_LOCK_WRITE
    • Error code (0 : success, negative : failure)
Error Code
  • CCI_ER_CON_HANDLE
  • CCI_ER_CONNECT
  • CCI_ER_OID_CMD
  • CCI_ER_OBJECT
  • CCI_ER_DBMS