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_set_db_parameter

Description

The cci_set_db_parameter function configures a system parameter. For the type of value for param_name, see cci_get_db_parameter(). Output unit of CCI_PARAM_LOCK_TIMEOUT in cci_get_db_parameter is seconds and input unit of CCI_PARAM_LOCK_TIMEOUT in cci_set_db_parameter is seconds.

Syntax

int cci_set_db_parameter(int conn_handle, T_CCI_DB_PARAM param_name, void* value, T_CCI_ERROR *err_buf)

  • conn_handle: (IN) Connection handle
  • param_name: (IN) System parameter name
  • value: (IN) Parameter value
  • err_buf: (OUT) Database error buffer
Return Value
  • Error code (0: success)
Error Code
  • CCI_ER_CON_HANDLE
  • CCI_ER_PARAM_NAME
  • CCI_ER_DBMS
  • CCI_ER_COMMUNICATION
  • CCI_ER_CONNECT