Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

CUBRID PHP Driver 8.4.1 Release Note


8.4.1.0006

Fixed bug

  • APIS-266: Removed "CUBRID Version" row in phpinfo(). Because PHP Driver can't get the version of CUBRID before connection established.
  • APIS-280: Modifed cubrid_affected_rows's parameter to be compatible with MySQL, and make changes to be compatible with the previous version, too.
  • APIS-294: Fixed a bug for cubrid_connect_with_url that when user don't pass user/password, public will be given.

8.4.1.0005

Fixed bug

  • APIS-241: Fixed cubrid_real_escape_string function. There is no limit of the length of unescaped string instead of 4096 now.

8.4.1.0004

We have added functions about lob object in this version and these functions have been tested carefully. If you want to get more information about the bugs or if you need help, please go to http://jira.cubrid.org/browse/APIS.

Functionality added:

Changed and Enhanced Features:

  1. Added CUBRID_LOB option for cubrid_fetch* functions
  2. APIS-179: Remove the support of named placeholders for prepare statements
  3. APIS-172: Remove the possibilities of the value of affected rows may not correct
  4. APIS-171: Unify the request resource registered in cubrid_execute, cubrid_query and cubrid_unbuffered_query

    Though the implements of cubrid_execute, cubrid_query and cubrid_unbuffered_query are different, there are also some problems that these three functions all need to consider, such as when should the request resource be registered. We should register the request resource when the related objects are ready.

Fixed bugs:

  1. APIS-176: Resolve the memory growth when continually execute SQL statements on one connection and don't close request.

8.4.1.0003

Changed and Enhanced Features:

  1. APIS-52 : Simplify the code of cubrid_client_encoding and cubrid_get_charset
  2. APIS-72 : Unify the return value of some functions when they fail
  3. APIS-97 : In PHP calling is_resource() function when = cubrid resource, always returns "Unknown"
  4. APIS-100 : PHPinfo() displays DB engine, CCI(libcas) and PHP driver's version info
  5. APIS-103 : Error: CCI, -13, Column index is out of range when calling cubrid_fetch_field()
  6. APIS-105 : cubrid_field_type() returns "varchar(100)" instead of "varchar"
  7. APIS-106 : cubrid_affected_rows() requires a different parameter than mysql_affected_rows()
  8. APIS-107 : cubrid_fetch_field() return default value as empty string instead of NULL
  9. APIS-108 : The resource parameter in cubrid_disconnect should be optional as in cubrid_close
  10. APIS-109 : Make the return values of cubrid_move_cursor and cubrid_data_seek consistent with mysql_data_seek
  11. APIS-110 : Modify return value of cubrid_num_fields
  12. APIS-111 : cubrid_list_dbs() requires connection_id while in mysql_list_dbs() connection_id is optional
  13. APIS-117 : cubrid_fetch_field will affect the cursor position which will influence the results of cubrid_fetch
  14. APIS-123 : Return value of cubrid_fetch_lengths method is empty when record number is 1
  15. APIS-128 : Passing field parameter in the form of tablename.fieldname to cubrid_result method will fail
  16. APIS-129 : Getting value using cubrid_result method will fail when the column value in database is null
  17. APIS-132 : Error message is empty when row number is out of range of cubrid_data_seek method
  18. APIS-135 : Segment default will appear when calling cubrid_list_dbs() method
  19. APIS-147 : Connect will success when passing a error passwd to cubrid_pconnect() method
  20. APIS-150 : Return values are not good for cubrid_get_autocommit

8.4.1.0002

Changed and Enhanced Features:

  1. APIS-49 : Remove some custom errors that have provided in CCI
  2. APIS-50 : cubrid_set_query_timeout and cubrid_get_query_timeout should use CCI_ER_QUERY_TIMEOUT when they cause an error
  3. use cci_prepare_and_execute to improve the performace for cubrid_execute and cubrid_query

8.4.1.0001

This release is a major release. Several new features have been added to this version including persistent connection, query timeout and so on. Accordingly, new functions are added, and several bugs have been fixed.

Functionality added:

The following functions have been added:

Changed and Enhanced Features:

  1. APIS-23 - 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.

  2. APIS-43 - 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.

  3.  APIS-41 - 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.

  4. APIS-45 - 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:......."

Fixed bugs:

  • APIS-44 - Fix a bug in cubrid_fetch, cubrid_fetch_row, cubrid_fetch_arry and cubrid_fetch_assoc: Modified the return value when there are no more data
comments powered by Disqus
Page info
viewed 1908 times
translations en
Author
posted 3 years ago by
hellohuizhang
Contributors
updated 2 years ago by
View revisions
Share this article