http://pear.php.net/
pear-webmaster@lists.php.netpear-webmaster@lists.php.neten-usLatest releases of mdb2_driver_mysqlThe latest releases for the package mdb2_driver_mysqlMDB2_Driver_mysql 1.5.0b4
http://pear.php.net/package/MDB2_Driver_mysql/download/1.5.0b4/
- Make varchar_max_length property public, Bug #19582.<br />
- Revert 327099 by afz, caused "Notice: Undefined index: charset on line 1003"<br />
- PEAR::isError() -> MDB2::isError(), Bug #19491.<br />
- PEAR::loadExtension() -> extension_loaded(), Bug #19583.<br />
- max value for VARCHAR is 65535 but if used multi-bytes (UTF8) so it is 21844, because UTF8 string takes 3bytes<br />
- Fix Bug #19262. Updates conditional stagements to use logical operators to include MDB2_FETCHMODE_OBJECT where appropriate. Was broken in r321197.<br />
- Have truncateTable() return MDB2_OK on success, as documented (bug 19201)<br />
- Have alterTable() return MDB2_OK on success, as documented (bug 19200)<br />
- Have dropIndex() return MDB2_OK on success, as documented (bug 19198)<br />
- Have vacuum() return MDB2_OK on success, as documented (bug 19196)<br />
- Have createIndex() return MDB2_OK on success, as documented (bug 19195)<br />
- Have dropConstraint() return MDB2_OK on success, as documented (bug 19194)<br />
- Have dropSequence() return MDB2_OK on success, as documented (bug 19191).<br />
- Make setOption('result_wrap_class') actually useful by changing the default value of $result_wrap_class parameters from false to true.<br />
- Obtain error information in _doQuery() because standaloneQuery() throws off $this->connection.<br />
- FETCHMODE constants are NOT bitwise.<br />
- Make $sql_comments public (was before, used in tests, no real harm).<br />
- Property visibility<br />
- boolean data type<br />
- fixed bug #17984: Error is not reported when mysqli_stmt_bind_param() fails [dennylin93]<br />
- fixed bug #18057: Result of getDeclaration() can have invalid syntax [hschletz]<br />
- request #18068: mapNativeDatatype() returns decimal places also for 'float' mdb2type<br />
- fixed bug #18203: Type introspection breaks with associative arrays if names are identical (patch by Peter Bex)<br />
- fixed bug #17892: removed debug message [pdt256]<br />
- fixed bug #18057: Result of getDeclaration() can have invalid syntax [hschletz]<br />
- request #18068: mapNativeDatatype() returns decimal places also for 'float' mdb2type<br />
<br />
open todo items:<br />
- use a trigger to emulate setting default now()
2012-10-23T19:15:34-05:00danielcMDB2_Driver_mysql 1.5.0b3
http://pear.php.net/package/MDB2_Driver_mysql/download/1.5.0b3/
- fixed bug #15650: mysqli function used in setCharset()<br />
- fixed bug #16003: incorrect check for error after mysql_store_result<br />
- fixed bug #16147: first prepared statement is emulated when using factory with mysql<br />
- fixed bug #16669: hostspec is ignored when protocol is unix<br />
- fixed bug #17037: 'on update' not mentioned in tableInfo()<br />
- fixed bug #17065: There is no NEW row in on DELETE trigger (fix error in FK constraint triggers)<br />
- fixed bug #17650: lastInsertId can not handle bigint, forces cast to integer [alexpw]<br />
- return ON UPDATE|DELETE action in getTableConstraintDefinition()<br />
<br />
note:<br />
- the multi_query test failes because this is not supported by ext/mysql<br />
<br />
open todo items:<br />
- use a trigger to emulate setting default now()
2010-08-29T12:29:35-05:00quipoMDB2_Driver_mysql 1.5.0b2
http://pear.php.net/package/MDB2_Driver_mysql/download/1.5.0b2/
- fixed bug #12117: disconnect() does not work as documented<br />
- fixed bug #13412: sometimes getTableConstraintDefinition() fails for FOREIGN KEYs<br />
- fixed bug #13581: wrong query in beginTransaction() for certain MySQL versions<br />
- request #13657: in setCharset(), use mysql_set_charset() if available [cwiedmann]<br />
- fixed bug #13928: Invalid triggers created for 'ON UPDATE'<br />
- fixed bug #15051: Cannot create constraints with field length<br />
- add index on FK column(s) or a FK constraint cannot be created in some cases<br />
<br />
note:<br />
- the multi_query test failes because this is not supported by ext/mysql<br />
<br />
open todo items:<br />
- use a trigger to emulate setting default now()
2009-01-14T12:25:42-05:00quipoMDB2_Driver_mysql 1.5.0b1
http://pear.php.net/package/MDB2_Driver_mysql/download/1.5.0b1/
- fixed bug #11831: createTable() now supports tables with a multi-field PRIMARY KEY<br />
where one field is defined as AUTO_INCREMENT<br />
- request #11204: support AUTO_INCREMENT for FLOAT data type and UNSIGNED option<br />
for FLOAT and DECIMAL data type [afz]<br />
- fixed bug #11692: value of $db->supports('transactions') changes after query [afz]<br />
- request #12731: added truncateTable() in the Manager module<br />
- request #12732: added vacuum() in the Manager module for OPTIMIZE/VACUUM TABLE abstraction<br />
- request #12800: added alterDatabase() in the Manager module [afz]<br />
- fixed quoting in createDatabase() in the Manager module<br />
- fixed bug #12924: correctly handle internal expected errors even with custom error handling<br />
- added standaloneQuery() and databaseExists()<br />
- request #13106: added unixtimestamp() in the Function module<br />
- fixed regexp in listTableConstraints() in the Manager module to list FOREIGN KEY constraints<br />
- fixed bug #13180: MySQL driver tells SAVEPOINT is supported for MyISAM tables<br />
- fixed bug #13283: replace() doesn't respect quote_identifiers option<br />
- request #13313: setCharSet() supports 'COLLATE' too<br />
- fixed bug #13370: some capabilities depend on user options, so check them after<br />
a setOption() call<br />
- when triggers are supported, two triggers are created to emulate ON UPDATE / ON DELETE actions<br />
for FOREIGN KEY constraints. Known limitation: since mysql doesn't support multiple triggers<br />
with the same action time and event for one table, if there are multiple table referencing<br />
the same table, only the first one will have the triggers created.<br />
<br />
note:<br />
- the multi_query test failes because this is not supported by ext/mysql<br />
<br />
open todo items:<br />
- use a trigger to emulate setting default now()
2008-03-15T04:28:40-05:00quipoMDB2_Driver_mysql 1.5.0a2
http://pear.php.net/package/MDB2_Driver_mysql/download/1.5.0a2/
- fixed bug #12516: error in FK constraint creation query<br />
- request #12012: added charset/collation support in createDatabase()<br />
<br />
note:<br />
- the multi_query test failes because this is not supported by ext/mysql<br />
<br />
open todo items:<br />
- use a trigger to emulate setting default now()
2007-12-06T15:16:06-05:00quipoMDB2_Driver_mysql 1.5.0a1
http://pear.php.net/package/MDB2_Driver_mysql/download/1.5.0a1/
- fixed bug #10024: Added new option 'lob_allow_url_include' (default false) to<br />
[dis]allow inserting a LOB from an url (file, http, ...).<br />
- fixed bug #10986: Using more random statement names (request #11625)<br />
- fixed bug #11055: Using placeholders with := variable assignment fails [bekarau]<br />
- initial support for FOREIGN KEY constraints in the Manager and Reverse modules<br />
- request #11389: added many new MySQL 5.1 error codes in errorInfo()<br />
- fixed bug #11428: propagate quote() errors with invalid data types<br />
- fixed bug #11590: _getServerCapabilities() has to be called once per connection<br />
- fixed bug #11790: avoid array_diff() because it has a memory leak in PHP 5.1.x<br />
- fixed some E_STRICT errors with PHP5<br />
- fixed bug #12010: MDB2_PORTABILITY_RTRIM option was ignored<br />
- fixed bug #12083: createTable() in the Manager module now returns MDB2_OK on success,<br />
as documented<br />
- fixed bug #12217: mysql_num_rows() returns FALSE on failure, not NULL (thanks to zaa@zaa.pp.ru)<br />
- fixed bug #12242: missing charset info in the Reverse module (patch by Carsten Wiedmann)<br />
- fixed bug #12269: tableInfo() in the Reverse module detect 'clob' data type<br />
as first option<br />
- fixed bug #12336: supply default value for NOT NULL timestamp fields<br />
<br />
note:<br />
- the multi_query test failes because this is not supported by ext/mysql<br />
<br />
open todo items:<br />
- use a trigger to emulate setting default now()
2007-10-28T15:27:13-05:00quipoMDB2_Driver_mysql 1.4.1
http://pear.php.net/package/MDB2_Driver_mysql/download/1.4.1/
- fixed bug #10378: incorrect query rewrite in setLimit() when using "FOR UPDATE"<br />
or "LOCK IN SHARE MODE" (thanks to priyadi) or "INTO OUTFILE" or "INTO DUMPFILE"<br />
- return length as "precision,scale" for NUMERIC and DECIMAL fields in mapNativeDatatype()<br />
- in getTableIndexDefinition() and getTableConstraintDefinition() in the Reverse<br />
module, also return the field position in the index/constraint<br />
- fixed bug #10636: transactions broken in release 2.4.0 because of some properties<br />
being reset (thanks to Conor Kerr)<br />
- fixed bug #10807: connect() Method Incorrectly Caches Connections [fornax]<br />
- fixed bug #10895: setLimit() does not work properly when a subquery uses LIMIT<br />
<br />
note:<br />
- the multi_query test failes because this is not supported by ext/mysql<br />
<br />
open todo items:<br />
- use a trigger to emulate setting default now()
2007-05-03T14:55:50-05:00quipoMDB2_Driver_mysql 1.4.0
http://pear.php.net/package/MDB2_Driver_mysql/download/1.4.0/
- fixed bug #9283: missing support for BINARY/VARBINARY data types (thanks to Tom Hendrikx)<br />
- propagate errors in getTableFieldDefinition() in the Reverse module<br />
- implemented getTriggerDefinition() in the Reverse module (mysql > 5.0.2) [experimental]<br />
- implemented listTableTriggers() in the Manager module (mysql > 5.0.2)<br />
- implemented listFunctions() in the Manager module<br />
- setCharset() now uses "SET NAMES" instead of "SET character_set_client"<br />
- select the mysql database in listUsers() in the Manager module<br />
- added error codes for MySQL 5 (patch by Adam Harvey)<br />
- implemented guid() in the Function module [globally unique identifier]<br />
- fixed bug #10033: beginTransaction() does not know server capabilities<br />
- fixed bug #10057: createConstraint() returns an error when the definition is incomplete<br />
- request #9451: you can set charset, collation, engine and comments in createSequence()<br />
- implemented a fallback mechanism within getTableIndexDefinition() and<br />
getTableConstraintDefinition() in the Reverse module to ignore the 'idxname_format'<br />
option and use the index name as provided in case of failure before returning<br />
an error<br />
- fixed bug #10181: propagate error when an invalid type is passed to prepare()<br />
- added a 'nativetype_map_callback' option to map native data declarations back to<br />
custom data types (thanks to Andrew Hill).<br />
- fixed bug #10239: execute() misinterprets MySQL's user defined variables<br />
- phpdoc fixes<br />
<br />
note:<br />
- the multi_query test failes because this is not supported by ext/mysql<br />
<br />
open todo items:<br />
- use a trigger to emulate setting default now()
2007-03-13T16:54:30-05:00quipoMDB2_Driver_mysql 1.3.0
http://pear.php.net/package/MDB2_Driver_mysql/download/1.3.0/
- added charset and collation support to field declaration<br />
- fixed bug #9024: typo in error checking<br />
- fix typos in error handling in a few places (bug #9024)<br />
- do not skip id generation in nextId() when creating a sequence on demand<br />
because this prevents lastInsertID() from working<br />
- migrated to package.xml version 2<br />
<br />
note:<br />
- the multi_query test failes because this is not supported by ext/mysql<br />
- use a trigger to emulate setting default now()
2006-11-03T08:12:36-05:00lsmithMDB2_Driver_mysql 1.2.2
http://pear.php.net/package/MDB2_Driver_mysql/download/1.2.2/
- flip positions property array in prepared statement objects to make it<br />
possible to optionally use the same named placeholder in multiple places<br />
inside a single prepared statement<br />
<br />
note:<br />
- the multi_query test failes because this is not supported by ext/mysql<br />
- use a trigger to emulate setting default now()
2006-09-03T03:05:33-05:00lsmith