diff --git a/reference/cubrid/functions/cubrid-connect-with-url.xml b/reference/cubrid/functions/cubrid-connect-with-url.xml index 314596a4e3..b8693125ae 100644 --- a/reference/cubrid/functions/cubrid-connect-with-url.xml +++ b/reference/cubrid/functions/cubrid-connect-with-url.xml @@ -14,6 +14,7 @@ stringconn_url stringuserid stringpasswd + boolnew_link The cubrid_connect_with_url function is used to @@ -22,11 +23,7 @@ enabled in CUBRID, you must specify the connection information of the standby server, which is used for failover when failure occurs, in the url string argument of this function. If the user name and password is not - given, then the "PUBLIC" connection will be made by default. If a second - call is made to cubrid_connect with the same - conn_url, and userid as an - existing connection, the existing connection will be returned unless you - pass. + given, then the "PUBLIC" connection will be made by default. <url> ::= CUBRID:<host>:<db_name>:<db_user>:<db_password>:[?<properties>] @@ -68,6 +65,17 @@ passwd User password. + + new_link + If a second call is made to + cubrid_connect_with_url with the same arguments, + no new connection will be established, but instead, the connection + identifier of the already opened connection will be returned. The + new_link parameter modifies this behavior and + makes cubrid_connect_with_url always open a new + connection, even if cubrid_connect_with_url was + called before with the same parameters. + diff --git a/reference/cubrid/functions/cubrid-connect.xml b/reference/cubrid/functions/cubrid-connect.xml index ef5c127610..ee29600935 100644 --- a/reference/cubrid/functions/cubrid-connect.xml +++ b/reference/cubrid/functions/cubrid-connect.xml @@ -16,17 +16,14 @@ stringdbname stringuserid stringpasswd + boolnew_link The cubrid_connect function is used to establish the environment for connecting to your server by using your server address, port number, database name, user name, and password. If the user name and password is not given, then the "PUBLIC" connection will be made by - default. If a second call is made to cubrid_connect - with the same host, port, - dbname and userid as an - existing connection, the existing connection will be returned unless you - pass. + default. @@ -54,6 +51,17 @@ passwd User password. + + new_link + If a second call is made to + cubrid_connect with the same arguments, no new + connection will be established, but instead, the connection identifier + of the already opened connection will be returned. The + new_link parameter modifies this behavior and + makes cubrid_connect always open a new connection, + even if cubrid_connect was called before with the + same parameters. + diff --git a/reference/cubrid/functions/cubrid-get-query-timeout.xml b/reference/cubrid/functions/cubrid-get-query-timeout.xml index e6ecf73bf8..ce68cf660c 100644 --- a/reference/cubrid/functions/cubrid-get-query-timeout.xml +++ b/reference/cubrid/functions/cubrid-get-query-timeout.xml @@ -41,6 +41,44 @@ + + &reftitle.examples; + + <function>cubrid_get_query_timeout</function> example + + +]]> + + &example.outputs; + + + + + + &reftitle.seealso;