| Changelog for PDO_CUBRID |
| Release |
What has changed? |
| 9.1.0.0002 |
Fixed bugs:
1) APIS-546: The PDO driver does not support for the connection between the PDO and CUBRID shard broker.
2) APIS-550: The PDO driver does not support prepare and query function in CUBRID shard db. |
| 9.1.0.0001 |
Changed and Enhanced Features:
1) APIS-418: add the ENUM support in PDO driver.
2) APIS-404: update the urls in README.
3) APIS-435: use cci_get_last_insert_id() instead of cci_last_insert_id().
Fixed bugs:
1) APIS-392: change the phpinfo field from 'Supported CUBRID server' to 'CCI Version' and fix its value.
2) APIS-401: improve the invoking of cci_disconnect.
3) APIS-435: remove free() in the insert_id function for Windows platform. |
| 8.4.3.0001 |
Changed and Enhanced Features:
1) APIS-287: Use cci_connect_ex instead of cci_connect in PDO driver.
2) APIS-288: Use CCI funciton cci_escape_string() to implement PDO::quote |
| 9.0.0.0001 |
Fixed bugs:
- Use CCI funciton cci_escape_string() to implement PDO::quote
- Get correct lock_timeout value when it has been set.
- Update error code in handle error function in PDO driver
- Use cci_connect_ex instead of cci_connect in PDO driver.
- Use old functions in pdo driver because CUBRID does not export them. |
| 8.4.0.0002 |
Fixed bugs:
- Fix a bug in cubrid_stmt_next_rowset: new version cci_next_result will reuse the request handle, so do not close it before calling cci_next_result.
- Fix a bug about life cycle management of pdo_cubrid_stmt: when database connection is closed, all request handle will be closed in CCI too. So the handle in pdo_cubrid_stmt must be set to invalid value. |
| 8.4.0.0001 |
2008 R4.0 Release
This release is a major release.
Functionality added:
- Implement PDO API getColumnMeta:
The following column meta information will be returned:
type
name
table
def
precision
scale
not_null
auto_increment
unique_key
multiple_key
primary_key
foreign_key
reverse_index
reverse_unique
Changed and Enhanced Features:
- Add database parameter setting support:
cubrid_set_db_parameter() can be used to set the database transaction isolation
level and lock timeout value.
- Change the default status of auto commit mode to off.
Fixed bugs:
- Fix a bug in cubrid_bind: When the value of binding parameter is NULL, it will covert the value to empty string;
- Fix a bug about BLOB/CLOB: When inserting LOB data, if the data size is large enough, it will fails. And if the LOB data is in a file, and it is too large to be put into memory, you can bind a file path name when binding the LOB data;
- Fix a bug about CLOB: When binding data type is CLOB, it will fail when inserting it into CUBRID;
- Fix a bug in cubrid_stmt_describe_col which will cause the failure of test bug_44861.phpt;
- Fix a bug in cubrid_handle_quoter: Before escaping unquoted string, it should init the value of quotedlen to 0. |
| 8.3.1.0003 |
Fixed bugs:
- fix a bug about BLOB/CLOB: When inserting LOB data, if the data size is large
enough, it will fails. If the LOB data is in a file, and it is too large to be
put into memory, you can bind a file path name when binding the LOB data. |
| 8.3.1.0002 |
Fixed bugs:
- Fix a bug in cubrid_handle_quoter: Before escaping unquoted string, it should init the value of quotedlen to 0; |
| 8.3.1.0001 |
2008 R3.1 Release
This release is a major release. CUBRID 3.1 Stable has been released. Several new
features have been added to this version including new BLOB and CLOB data types and
new APIs in JDBC/CCI which can get foreign key information. Accordingly new features
are added in this CUBRID PDO version, and some bugs have been fixed.
Features Added:
- Add LOB (BLOB/CLOB) data support:
The LOB in PDO is represented as a stream, so you can insert LOBs by binding a stream,
and get LOBs by reading a stream returned by CUBRID PDO.
Known issue: If column data type is CLOB, binding parameter will fail. This bug will
fixed later.
- Add Multipy-Query support:
Now you can execute multiple queries and get results using PDOStatement->nextRowset.
- Add three new schema type integer constants for cubrid_schema, which can be used to
get foreign key information:
CUBRID_SCH_IMPORTED_KEYS
CUBRID_SCH_EXPORTED_KEYS
CUBRID_SCH_CROSS_REFERENCE
Features changed:
- In version 8.3.0, the default value of autocommit mode is false. In this release it
is changed to true.
Features removed:
- Remove constant CUBRID_INCLUDE_OID, because there is no methods in PDO using OID;
Fixed bugs:
- Fix a bug in cubrid_handle_preparer which makes user can change cursor type to scrollable cursor when preparing SQL;
- Fix a bug in cubrid_handle_prepare: when binding parameter is named parameter, there will be memory leak;
- Fix a bug in cubrid_handle_quoter: when escaping single quote in string, it should use double single quotes, not backslash;
- Fix a bug in cubrid_handle_begin, cubrid_handle_commit and cubrid_handle_rollback: when beginning a transaction, it should commit un-commited transaction, turn off autocommit_mode, after commit or rollback, then restore the autocommit_mode;
- Fix a bug in cubrid_stmt_param_hook: when the value of binding parameter is NULL, it will covert the value to empty string;
- Fix a bug about cursor type: the cursor type (forward only or scrollable) should be statement attribute, not connection attribute.
- Fix a bug in cubrid_schema: After array_init(return_value), when error occures, it should destroy array before return false. |
| 8.3.0.0001 |
This PECL release is the first release of CUBRID PDO Driver. |