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_get_db_parameter

Description

This function is used to get a parameter specified in the database. The data type of value for param_name is shown in the table below.

param_name

value Type

note

CCI_PARAM_ISOLATION_LEVEL

int*

get/set

CCI_PARAM_LOCK_TIMEOUT

int*

get/set

CCI_PARAM_MAX_STRING_LENGTH

int*

get only

Syntax

int cci_get_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 : (OUT) Parameter value
  • err_buf : (OUT) Database error buffer
Error Code
  • CCI_ER_CON_HANDLE
  • CCI_ER_PARAM_NAME
  • CCI_ER_DBMS
  • CCI_ER_COMMUNICATION
  • CCI_ER_CONNECT