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 Codes
- CCI_ER_CON_HANDLE
- CCI_ER_CONNECT
- CCI_ER_OID_CMD
- CCI_ER_OBJECT
- CCI_ER_DBMS