downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

cubrid_get_server_info> <cubrid_get_client_info
Last updated: Fri, 24 Sep 2010

view this page in

cubrid_get_db_parameter

(PECL CUBRID >= 8.3.0)

cubrid_get_db_parameterReturns the CUBRID database parameters

Description

array cubrid_get_db_parameter ( resource $conn_identifier )

This function returns the CUBRID database parameters or it returns FALSE on failure. It returns an associative array with the values for the following parameters:

  • CCI_PARAM_ISOLATION_LEVEL
  • CCI_PARAM_LOCK_TIMEOUT
  • CCI_PARAM_MAX_STRING_LENGTH
  • CCI_PARAM_AUTO_COMMIT

Parameters

conn_identifier

The CUBRID connection. If the connection identifier is not specified, the last link opened by cubrid_connect() is assumed.

Return Values

An associative array with CUBRID database parameters; on success.

FALSE on failure.

Examples

Example #1 cubrid_get_db_parameter() example

<?php
    $link 
cubrid_connect("localhost"30000"demodb2""dba""");
    if (!
$link)
    {
        die(
'Could not connect.');
    }
    echo 
"CUBRID parameters:<br>";
    
print_r(cubrid_get_db_parameter($link));
?>

The above example will output:

Result:
CUBRID parameters:
Array ( [PARAM_ISOLATION_LEVEL] => 3 [LOCK_TIMEOUT] => -1 [MAX_STRING_LENGTH] => 1073741823 )


add a note add a note User Contributed Notes
cubrid_get_db_parameter
There are no user contributed notes for this page.

cubrid_get_server_info> <cubrid_get_client_info
Last updated: Fri, 24 Sep 2010
 
 
show source | credits | sitemap | contact | advertising | mirror sites