forked from CUBRID/cubrid-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease-notes.html
75 lines (55 loc) · 2.75 KB
/
release-notes.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style type="text/css">
.s1 {font-family: arial, verdana, sans-serif;}
.s2 {font-family: "Times New Roman", serif;}
.s3 {font-family: Consolas, "Courire New";}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>CUBRID PHP Library release notes</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#ff0000" vlink="#a00000" alink="#0000ff">
<h1>CUBRID PHP Library release notes</h1>
<hr>
<h2>2008 R4.1 Release </h2>
<pre class = "s1">
This release is a major release. Several new features have been added to this version including persistent connecting,
query timeout and so on. Accordingly new functions are added, and several bugs have been fixed.
</pre>
<h4>Functionality added:</h4>
<pre class = "s1">
The following functions have been added:
</pre>
<ul>
<li>cubrid_pconnect</li>
<li>cubrid_pconnect_with_url</li>
<li>cubrid_set_query_timeout</li>
<li>cubrid_get_query_timeout</li>
</ul>
<h4>Changed and Enhanced Features:</h4>
<pre class = "s1">
1.) Reuse the connection established:
For mysql, if a second call is made to mysql_connect() with the same arguments, no new link will be established,
but instead, the connect identifier of the already opened connection will be returned. The new_link parameter
modifies this behavior and makes mysql_connect() always open a new connection, even if mysql_connect() was called
before with the same parameters.
To make compatibility with mysql, we add the new_link parameter in cubrid_connect and cubrid_connect_with_url.
2.) Add persistent connection:
We add two functions, cubrid_pconnect and cubrid_pconnect_with_url, to provide persistent database connections.
The parameters of cubrid_pconnect are same with cubrid_connect, and so do cubrid_pconnect_with_url and
cubrid_connect_with_url.
3.) Add functions about getting and setting the query timeout time:
If database queries are taking too long to perform, and your application is becoming unresponsive, you can
configure a timeout for database queries. We add two functions (cubrid_get_query_timeout and
cubrid_set_query_timeout) to get and set the query timeout of database queries.
4.) Add a form of the url parameter for cubrid_connect_with_url function:
Support the way without "cci:" in url parameter, that is the url become "CUBRID:host:db_name:db_user:......."
</pre>
<h4>Fixed bugs:</h4>
<pre class = "s1">
1.) Fix a bug in cubrid_fetch, cubrid_fetch_row, cubrid_fetch_array and cubrid_fetch_assoc: Modified the return value
when there are no more data;
</pre>
</body>
</html>