CUBRID PHP Library release notes
2008 R4.2 Release
This release is a major release. Several features have been enhanced to this version such as remove the
possibilities of the value of affected rows may not correct, unify the request resource registered in
cubrid_execute, cubrid_query and cubrid_unbuffered_query and so on. Accordingly features are enhanced,
several bugs have been fixed.
All these issues have been recorded on http://jira.cubrid.org/browse/APIS, or if you have any problem,
you can ask for help here.
Changed and Enhanced Features:
1.) APIS-179: Remove the support of named placeholders for prepare statements
2.) APIS-172: Remove the possibilities of the value of affected rows may not correct
3.) 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.
4.) APIS-111: Modify cubrid_list_dbs()'s parameter to be optional
5.) APIS-108: Modify cubrid_disconnect()'s parameter to be optinal
6.) APIS-107: cubrid_fetch_field() return default value as empty string instead of NULL
7.) APIS-106: Modify cubrid_affected_rows()'s parameter to be optional
8.) APIS-105: Modify cubrid_field_type(), it returns "varchar" instead of "varchar(100)".
9.) APIS-100: Add cci library's version in phpinfo()
Fixed bugs:
1.) APIS-176: Resolve the memory growth when continually execute SQL statements on one connection and don't close request.
2.) APIS-150: Fixed the return values for cubrid_get_autocommit: when the auto-commit mode is off, it will return false, and when there is an error, it will return nothing.
3.) APIS-147: Fix cubrid_pconnect when passing an error password to it, connection will success too.
4.) APIS-135: Fix cubrid_list_dbs: when no passing parameter to cubrid_list_dbs() method, segment fault will appear.
5.) APIS-133: Fix cubrid_current_oid: it will always get the first record's oid value.
6.) APIS-132: Fix cubrid_data_seek: when row number is out of range, the error code is 0.
7.) APIS-129: Fix cubrid_result: when the column value in database is null, cubrid_result will not return the correct result.
8.) APIS-128: Fix cubrid_result: passing field parameter in the form of tablename.fieldname to cubrid_result method will fail.
9.) APIS-123: Fix cubrid_fetch_lengths: return value of cubrid_fetch_lengths method is empty when record number is 1.
10.) APIS-117: Fix cubrid_fetch_field: it will affect the cursor position which will influence the results of cubrid_fetch.
11.) APIS-110: Fix cubrid_num_fields: modify the return value on failure -1 to FALSE.
12.) APIS-109: Make the return values of cubrid_move_cursor and cubrid_data_seek consistent with mysql_data_seek
13.) APIS-103: Fix cubrid_fetch_field: column index is out of range it won't return false.
14.) APIS-97: Register PHP resources: when calling is_resource() function, it always returns "Unknown"