cvs: pear /MDB2 package.php package.xml package_ibase.php package_mssql.php package_mysql.php package_mysql.xml package_mysqli.php package_mysqli.xml
package_oci8.php package_oci8.xml package_pgsql.php package_pgsql.xml
| From: | Lukas Smith | Date: | Sun, 03 Sep 2006 07:06:34 +0000 |
| Subject: | cvs: pear /MDB2 package.php package.xml package_ibase.php package_mssql.php package_mysql.php package_mysql.xml package_mysqli.php package_mysqli.xml package_oci8.php package_oci8.xml package_pgsql.php package_pgsql.xml |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-41973@lists.php.net to get a copy of this message | ||
lsmith Sun Sep 3 07:06:34 2006 UTC
Modified files:
/pear/MDB2 package_pgsql.xml package_pgsql.php package_oci8.xml
package_oci8.php package_mysqli.xml package_mysqli.php
package_mysql.xml package_mysql.php package_mssql.php
package_ibase.php package.xml package.php
Log:
- updated
http://cvs.php.net/viewvc.cgi/pear/MDB2/package_pgsql.xml?r1=1.32&r2=1.33&diff_format=u Index: pear/MDB2/package_pgsql.xml diff -u pear/MDB2/package_pgsql.xml:1.32 pear/MDB2/package_pgsql.xml:1.33 --- pear/MDB2/package_pgsql.xml:1.32 Mon Aug 21 18:20:37 2006 +++ pear/MDB2/package_pgsql.xml Sun Sep 3 07:06:34 2006 @@ -20,15 +20,13 @@ </maintainer> </maintainers> <release> - <version>1.2.1</version> - <date>2006-08-21</date> + <version>1.2.2</version> + <date>2006-09-03</date> <license>BSD License</license> <state>stable</state> - <notes>- return an error if a named placeholder name is used twice inside a single statement -- do not list empty contraints and indexes -- do not set a default if type is a LOB (Request #8074) -- fixed handling return values when disable_query is set in _doQuery() and _execute() -- increased MDB2 dependency too 2.2.1 + <notes>- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement open todo items: - enable pg_execute() once issues with bytea column are resolved @@ -77,6 +75,20 @@ </release> <changelog> <release> + <version>1.2.2</version> + <date>2006-09-03</date> + <license>BSD License</license> + <state>stable</state> + <notes>- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement + +open todo items: +- enable pg_execute() once issues with bytea column are resolved +- use pg_result_error_field() to handle localized error messages (Request #7059) + </notes> + </release> + <release> <version>1.2.1</version> <date>2006-08-21</date> <license>BSD License</license> http://cvs.php.net/viewvc.cgi/pear/MDB2/package_pgsql.php?r1=1.82&r2=1.83&diff_format=u Index: pear/MDB2/package_pgsql.php diff -u pear/MDB2/package_pgsql.php:1.82 pear/MDB2/package_pgsql.php:1.83 --- pear/MDB2/package_pgsql.php:1.82 Thu Aug 24 08:54:03 2006 +++ pear/MDB2/package_pgsql.php Sun Sep 3 07:06:34 2006 @@ -2,7 +2,7 @@ require_once 'PEAR/PackageFileManager.php'; -$version = 'YYY'; +$version = '1.2.2'; $notes = <<<EOT - flip positions property array in prepared statement objects to make it possible to optionally use the same named placeholder in multiple places http://cvs.php.net/viewvc.cgi/pear/MDB2/package_oci8.xml?r1=1.30&r2=1.31&diff_format=u Index: pear/MDB2/package_oci8.xml diff -u pear/MDB2/package_oci8.xml:1.30 pear/MDB2/package_oci8.xml:1.31 --- pear/MDB2/package_oci8.xml:1.30 Mon Aug 21 18:20:37 2006 +++ pear/MDB2/package_oci8.xml Sun Sep 3 07:06:34 2006 @@ -20,16 +20,13 @@ </maintainer> </maintainers> <release> - <version>1.0.1</version> - <date>2006-08-21</date> + <version>1.0.2</version> + <date>2006-09-03</date> <license>BSD License</license> <state>stable</state> - <notes>- return an error if a named placeholder name is used twice inside a single statement -- do not list empty contraints and indexes -- added support for 'primary' option in createTable() -- do not set a default if type is a LOB (Request #8074) -- fixed handling return values when disable_query is set in _doQuery() and _execute() -- increased MDB2 dependency too 2.2.1 + <notes>- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement note: - please use the latest ext/oci8 version from pecl.php.net/oci8 @@ -86,6 +83,28 @@ </release> <changelog> <release> + <version>1.0.2</version> + <date>2006-09-03</date> + <license>BSD License</license> + <state>stable</state> + <notes>- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement + +note: +- please use the latest ext/oci8 version from pecl.php.net/oci8 + (binaries are available from snaps.php.net and pecl4win.php.net) +- by default this driver emulates the database concept other RDBMS have by this + using the "database" instead of "username" in the DSN as the username name. + behaviour can be disabled by setting the "emulate_database" option to false. +- the multi_query test failes because this is not supported by ext/oci8 +- the null LOB test failes because this is not supported by Oracle + +open todo items: +- enable use of read() for LOBs to read a LOB in chunks + </notes> + </release> + <release> <version>1.0.1</version> <date>2006-08-21</date> <license>BSD License</license> http://cvs.php.net/viewvc.cgi/pear/MDB2/package_oci8.php?r1=1.85&r2=1.86&diff_format=u Index: pear/MDB2/package_oci8.php diff -u pear/MDB2/package_oci8.php:1.85 pear/MDB2/package_oci8.php:1.86 --- pear/MDB2/package_oci8.php:1.85 Thu Aug 24 08:54:03 2006 +++ pear/MDB2/package_oci8.php Sun Sep 3 07:06:34 2006 @@ -2,7 +2,7 @@ require_once 'PEAR/PackageFileManager.php'; -$version = 'YYY'; +$version = '1.0.2'; $notes = <<<EOT - flip positions property array in prepared statement objects to make it possible to optionally use the same named placeholder in multiple places http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mysqli.xml?r1=1.31&r2=1.32&diff_format=u Index: pear/MDB2/package_mysqli.xml diff -u pear/MDB2/package_mysqli.xml:1.31 pear/MDB2/package_mysqli.xml:1.32 --- pear/MDB2/package_mysqli.xml:1.31 Mon Aug 21 18:20:37 2006 +++ pear/MDB2/package_mysqli.xml Sun Sep 3 07:06:34 2006 @@ -14,27 +14,14 @@ </maintainer> </maintainers> <release> - <version>1.2.1</version> - <date>2006-08-21</date> + <version>1.2.2</version> + <date>2006-09-03</date> <license>BSD License</license> <state>stable</state> - <notes>- fixed issue in tableInfo() that originates in getTableFieldDefinition() which - led to returning incorrect type values (Bug #8291) -- quote identifiers in the reverse module when 'quote_identifiers' is enabled (Bug #8309) -- use version_compare() to fix complex version comparisons (Bug #8355) -- do not use quote() in setCharset() since it is supposed to set the charset in - the connection that was passed to it -- return an error if a named placeholder name is used twice inside a single statement -- do not list empty contraints and indexes -- added support for 'primary' option in createTable() -- fixed notnull reverse engineering on mysql 4.x (Bug #8415) -- do not set a default if type is a LOB (Request #8074) -- if a default value is set, then we need to use VARCHAR instead of TEXT -- removed _verifyTableType() since it just adds overhead, is hard to do reliably - and you will get an error if the table type is not supported anyways -- fixed handling return values when disable_query is set in _doQuery() and _execute() -- only call RELEASE SAVEPOINT if the server version if 5.0.3 or higher -- increased MDB2 dependency too 2.2.1 + <notes>- fixed single quote handling inside non emulated prepared statements (Bug #8538) +- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement </notes> <deps> <dep type="php" rel="ge" version="5.0.0" optional="no"/> @@ -79,6 +66,17 @@ </release> <changelog> <release> + <version>1.2.2</version> + <date>2006-09-03</date> + <license>BSD License</license> + <state>stable</state> + <notes>- fixed single quote handling inside non emulated prepared statements (Bug #8538) +- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement + </notes> + </release> + <release> <version>1.2.1</version> <date>2006-08-21</date> <license>BSD License</license> http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mysqli.php?r1=1.77&r2=1.78&diff_format=u Index: pear/MDB2/package_mysqli.php diff -u pear/MDB2/package_mysqli.php:1.77 pear/MDB2/package_mysqli.php:1.78 --- pear/MDB2/package_mysqli.php:1.77 Thu Aug 24 08:54:03 2006 +++ pear/MDB2/package_mysqli.php Sun Sep 3 07:06:34 2006 @@ -2,7 +2,7 @@ require_once 'PEAR/PackageFileManager.php'; -$version = 'YYY'; +$version = '1.2.2'; $notes = <<<EOT - fixed single quote handling inside non emulated prepared statements (Bug #8538) - flip positions property array in prepared statement objects to make it http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mysql.xml?r1=1.28&r2=1.29&diff_format=u Index: pear/MDB2/package_mysql.xml diff -u pear/MDB2/package_mysql.xml:1.28 pear/MDB2/package_mysql.xml:1.29 --- pear/MDB2/package_mysql.xml:1.28 Mon Aug 21 18:20:37 2006 +++ pear/MDB2/package_mysql.xml Sun Sep 3 07:06:34 2006 @@ -14,27 +14,13 @@ </maintainer> </maintainers> <release> - <version>1.2.1</version> - <date>2006-08-21</date> + <version>1.2.2</version> + <date>2006-09-03</date> <license>BSD License</license> <state>stable</state> - <notes>- fixed issue in tableInfo() that originates in getTableFieldDefinition() which - led to returning incorrect type values (Bug #8291) -- quote identifiers in the reverse module when 'quote_identifiers' is enabled (Bug #8309) -- use version_compare() to fix complex version comparisons (Bug #8355) -- do not use quote() in setCharset() since it is supposed to set the charset in - the connection that was passed to it -- return an error if a named placeholder name is used twice inside a single statement -- do not list empty contraints and indexes -- added support for 'primary' option in createTable() -- fixed notnull reverse engineering on mysql 4.x (Bug #8415) -- do not set a default if type is a LOB (Request #8074) -- if a default value is set, then we need to use VARCHAR instead of TEXT -- removed _verifyTableType() since it just adds overhead, is hard to do reliably - and you will get an error if the table type is not supported anyways -- fixed handling return values when disable_query is set in _doQuery() and _execute() -- only call RELEASE SAVEPOINT if the server version if 5.0.3 or higher -- increased MDB2 dependency too 2.2.1 + <notes>- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement note: - the multi_query test failes because this is not supported by ext/mysql @@ -83,6 +69,20 @@ </release> <changelog> <release> + <version>1.2.2</version> + <date>2006-09-03</date> + <license>BSD License</license> + <state>stable</state> + <notes>- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement + +note: +- the multi_query test failes because this is not supported by ext/mysql +- use a trigger to emulate setting default now() + </notes> + </release> + <release> <version>1.2.1</version> <date>2006-08-21</date> <license>BSD License</license> http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mysql.php?r1=1.74&r2=1.75&diff_format=u Index: pear/MDB2/package_mysql.php diff -u pear/MDB2/package_mysql.php:1.74 pear/MDB2/package_mysql.php:1.75 --- pear/MDB2/package_mysql.php:1.74 Thu Aug 24 08:54:03 2006 +++ pear/MDB2/package_mysql.php Sun Sep 3 07:06:34 2006 @@ -2,7 +2,7 @@ require_once 'PEAR/PackageFileManager.php'; -$version = 'YYY'; +$version = '1.2.2'; $notes = <<<EOT - flip positions property array in prepared statement objects to make it possible to optionally use the same named placeholder in multiple places http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mssql.php?r1=1.61&r2=1.62&diff_format=u Index: pear/MDB2/package_mssql.php diff -u pear/MDB2/package_mssql.php:1.61 pear/MDB2/package_mssql.php:1.62 --- pear/MDB2/package_mssql.php:1.61 Fri Sep 1 11:55:33 2006 +++ pear/MDB2/package_mssql.php Sun Sep 3 07:06:34 2006 @@ -24,7 +24,7 @@ - ALTER TABLE bug when adding more than 1 column (Bug #8373) - fixed handling return values when disable_query is set in _doQuery() and _execute() - added dropIndex() to the manager module -- increased MDB2 dependency too XXX +- increased MDB2 dependency too 2.2.2 - renamed valid_types property to valid_default_values in the Datatype module - increased PHP dependency due to http://bugs.php.net/bug.php?id=31195 @@ -71,7 +71,7 @@ $package->addDependency('php', '4.3.11', 'ge', 'php', false); $package->addDependency('PEAR', '1.0b1', 'ge', 'pkg', false); -$package->addDependency('MDB2', 'XXX', 'ge', 'pkg', false); +$package->addDependency('MDB2', '2.2.2', 'ge', 'pkg', false); $package->addDependency('mssql', null, 'has', 'ext', false); $package->addglobalreplacement('package-info', '@package_version@', 'version'); http://cvs.php.net/viewvc.cgi/pear/MDB2/package_ibase.php?r1=1.92&r2=1.93&diff_format=u Index: pear/MDB2/package_ibase.php diff -u pear/MDB2/package_ibase.php:1.92 pear/MDB2/package_ibase.php:1.93 --- pear/MDB2/package_ibase.php:1.92 Tue Aug 29 08:56:47 2006 +++ pear/MDB2/package_ibase.php Sun Sep 3 07:06:34 2006 @@ -2,17 +2,8 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.2.1'; +$version = 'YYY'; $notes = <<<EOT -- flip positions property array in prepared statement objects to make it - possible to optionally use the same named placeholder in multiple places - inside a single prepared statement -- do not list empty contraints and indexes -- added support for 'primary' option in createTable() -- added missing 'mdb2type' to getTableFieldDefinition() -- do not set a default if type is a LOB (Request #8074) -- fixed handling return values when disable_query is set in _doQuery() and _execute() -- increased MDB2 dependency too 2.2.1 EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/viewvc.cgi/pear/MDB2/package.xml?r1=1.67&r2=1.68&diff_format=u Index: pear/MDB2/package.xml diff -u pear/MDB2/package.xml:1.67 pear/MDB2/package.xml:1.68 --- pear/MDB2/package.xml:1.67 Mon Aug 21 18:20:37 2006 +++ pear/MDB2/package.xml Sun Sep 3 07:06:34 2006 @@ -7,8 +7,9 @@ It provides a common API for all supported RDBMS. The main difference to most other DB abstraction packages is that MDB2 goes much further to ensure -portability. Among other things MDB2 features: -* An OO-style query API +portability. MDB2 provides most of its many features optionally that +can be used to construct portable SQL statements: +* Object-Oriented API * A DSN (data source name) or array format for specifying database servers * Datatype abstraction and on demand datatype conversion * Various optional fetch modes to fix portability issues @@ -16,11 +17,11 @@ * Sequential and non sequential row fetching as well as bulk fetching * Ability to make buffered and unbuffered queries * Ordered array and associative array for the fetched rows -* Prepare/execute (bind) emulation +* Prepare/execute (bind) named and unnamed placeholder emulation * Sequence/autoincrement emulation * Replace emulation * Limited sub select emulation -* Row limit support +* Row limit emulation * Transactions/savepoint support * Large Object support * Index/Unique Key/Primary Key support @@ -28,7 +29,7 @@ * Module framework to load advanced functionality on demand * Ability to read the information schema * RDBMS management methods (creating, dropping, altering) -* Reverse engineering schemas from an existing DB +* Reverse engineering schemas from an existing database * SQL function call abstraction * Full integration into the PEAR Framework * PHPDoc API documentation @@ -66,36 +67,15 @@ </maintainer> </maintainers> <release> - <version>2.2.1</version> - <date>2006-08-21</date> + <version>2.2.2</version> + <date>2006-09-03</date> <license>BSD License</license> <state>stable</state> - <notes>- fixed missing code in tableInfo() (Bug #8289) -- fixed handling of indexes and constraints and types in tableInfo() (fixes BC break) -- do not set nested transaction error if error is expected -- explictly default to NULL when the column is NULLable and no default is set - (related to Bug #8359) -- added support for case insensitive matching via ILIKE in matchPattern() -- added getAsKeyword() for generating "AS" keyword as required by the RDBMS -- return an error if a named placeholder name is used twice inside a single statement -- add support for multi column PRIMARY KEYs in createTable() -- added lower() and upper() to the function module -- moved escaping tests to datatype tests -- added summary at the end of a test run for each RDBMS -- explicitly pass the php_type var in all internal loadModule() calls -- added support for 'primary' option in createTable() -- expanded NULL tests -- fixed handling return values when disable_query is set in _doQuery() and _execute() -- check if safe_mode is enabled in fileExists() to determine what algo to use (Bug #8296) -- added a test case for updating LOBs -- added rtrim test case for LOBs -- if result types are specified only rtrim() type 'text' fields (otherwise - it will mean that for some drivers LOB's would get rtrimmed) -- phpdoc fixes to the convertResult*() methods -- added execParam() method and code tweaks for get*() methods in the Extended module -- removed redundant assertions when testing if a given feature is unsupported -- removed tests of portability off (users should just set the given portability - setting they want to test in their test_setup.php) + <notes>- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement +- expanded prepare tests to cover more edge cases +- renamed valid_types property to valid_default_values in the Datatype module open todo items: - handle autoincrement fields in alterTable() @@ -114,6 +94,7 @@ - add support for full text index creation and querying - add tests to check if the RDBMS specific handling with portability options disabled behaves as expected +- handle implicit commits (like for DDL) in any affected driver (mysql, sqlite..) </notes> <deps> <dep type="php" rel="ge" version="4.3.2" optional="no"/> @@ -269,6 +250,37 @@ </release> <changelog> <release> + <version>2.2.2</version> + <date>2006-09-03</date> + <license>BSD License</license> + <state>stable</state> + <notes>- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement +- expanded prepare tests to cover more edge cases +- renamed valid_types property to valid_default_values in the Datatype module + +open todo items: +- handle autoincrement fields in alterTable() +- add length handling to LOB reverse engineering +- expand charset support in schema management and result set handling (Request #4666) +- add EXPLAIN abstraction +- add cursor support along the lines of PDO (Request #3660 etc.) +- expand length/scale support for numeric types (Request #7170) +- add PDO based drivers, especially a driver to support SQLite 3 (Request #6907) +- add support to export/import in CSV format +- add more functions to the Function module (MD5(), IFNULL(), LENGTH() etc.) +- add support for database/table/row LOCKs +- add support for FOREIGN KEYs and CHECK (ENUM as possible mysql fallback) constraints +- generate STATUS file from test suite results and allow users to submit test results +- add a package2.xml and explore use of install groups (pear install MDB2#mysql) +- add support for full text index creation and querying +- add tests to check if the RDBMS specific handling with portability options + disabled behaves as expected +- handle implicit commits (like for DDL) in any affected driver (mysql, sqlite..) + </notes> + </release> + <release> <version>2.2.1</version> <date>2006-08-21</date> <license>BSD License</license> http://cvs.php.net/viewvc.cgi/pear/MDB2/package.php?r1=1.208&r2=1.209&diff_format=u Index: pear/MDB2/package.php diff -u pear/MDB2/package.php:1.208 pear/MDB2/package.php:1.209 --- pear/MDB2/package.php:1.208 Fri Sep 1 06:42:10 2006 +++ pear/MDB2/package.php Sun Sep 3 07:06:34 2006 @@ -2,7 +2,7 @@ require_once 'PEAR/PackageFileManager.php'; -$version = 'XXX'; +$version = '2.2.2'; $notes = <<<EOT - flip positions property array in prepared statement objects to make it possible to optionally use the same named placeholder in multiple places @@ -35,8 +35,9 @@ It provides a common API for all supported RDBMS. The main difference to most other DB abstraction packages is that MDB2 goes much further to ensure -portability. Among other things MDB2 features: -* An OO-style query API +portability. MDB2 provides most of its many features optionally that +can be used to construct portable SQL statements: +* Object-Oriented API * A DSN (data source name) or array format for specifying database servers * Datatype abstraction and on demand datatype conversion * Various optional fetch modes to fix portability issues @@ -44,11 +45,11 @@ * Sequential and non sequential row fetching as well as bulk fetching * Ability to make buffered and unbuffered queries * Ordered array and associative array for the fetched rows -* Prepare/execute (bind) emulation +* Prepare/execute (bind) named and unnamed placeholder emulation * Sequence/autoincrement emulation * Replace emulation * Limited sub select emulation -* Row limit support +* Row limit emulation * Transactions/savepoint support * Large Object support * Index/Unique Key/Primary Key support @@ -56,7 +57,7 @@ * Module framework to load advanced functionality on demand * Ability to read the information schema * RDBMS management methods (creating, dropping, altering) -* Reverse engineering schemas from an existing DB +* Reverse engineering schemas from an existing database * SQL function call abstraction * Full integration into the PEAR Framework * PHPDoc API documentation
http://cvs.php.net/viewvc.cgi/pear/MDB2/package_pgsql.xml?r1=1.32&r2=1.33&diff_format=u Index: pear/MDB2/package_pgsql.xml diff -u pear/MDB2/package_pgsql.xml:1.32 pear/MDB2/package_pgsql.xml:1.33 --- pear/MDB2/package_pgsql.xml:1.32 Mon Aug 21 18:20:37 2006 +++ pear/MDB2/package_pgsql.xml Sun Sep 3 07:06:34 2006 @@ -20,15 +20,13 @@ </maintainer> </maintainers> <release> - <version>1.2.1</version> - <date>2006-08-21</date> + <version>1.2.2</version> + <date>2006-09-03</date> <license>BSD License</license> <state>stable</state> - <notes>- return an error if a named placeholder name is used twice inside a single statement -- do not list empty contraints and indexes -- do not set a default if type is a LOB (Request #8074) -- fixed handling return values when disable_query is set in _doQuery() and _execute() -- increased MDB2 dependency too 2.2.1 + <notes>- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement open todo items: - enable pg_execute() once issues with bytea column are resolved @@ -77,6 +75,20 @@ </release> <changelog> <release> + <version>1.2.2</version> + <date>2006-09-03</date> + <license>BSD License</license> + <state>stable</state> + <notes>- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement + +open todo items: +- enable pg_execute() once issues with bytea column are resolved +- use pg_result_error_field() to handle localized error messages (Request #7059) + </notes> + </release> + <release> <version>1.2.1</version> <date>2006-08-21</date> <license>BSD License</license> http://cvs.php.net/viewvc.cgi/pear/MDB2/package_pgsql.php?r1=1.82&r2=1.83&diff_format=u Index: pear/MDB2/package_pgsql.php diff -u pear/MDB2/package_pgsql.php:1.82 pear/MDB2/package_pgsql.php:1.83 --- pear/MDB2/package_pgsql.php:1.82 Thu Aug 24 08:54:03 2006 +++ pear/MDB2/package_pgsql.php Sun Sep 3 07:06:34 2006 @@ -2,7 +2,7 @@ require_once 'PEAR/PackageFileManager.php'; -$version = 'YYY'; +$version = '1.2.2'; $notes = <<<EOT - flip positions property array in prepared statement objects to make it possible to optionally use the same named placeholder in multiple places http://cvs.php.net/viewvc.cgi/pear/MDB2/package_oci8.xml?r1=1.30&r2=1.31&diff_format=u Index: pear/MDB2/package_oci8.xml diff -u pear/MDB2/package_oci8.xml:1.30 pear/MDB2/package_oci8.xml:1.31 --- pear/MDB2/package_oci8.xml:1.30 Mon Aug 21 18:20:37 2006 +++ pear/MDB2/package_oci8.xml Sun Sep 3 07:06:34 2006 @@ -20,16 +20,13 @@ </maintainer> </maintainers> <release> - <version>1.0.1</version> - <date>2006-08-21</date> + <version>1.0.2</version> + <date>2006-09-03</date> <license>BSD License</license> <state>stable</state> - <notes>- return an error if a named placeholder name is used twice inside a single statement -- do not list empty contraints and indexes -- added support for 'primary' option in createTable() -- do not set a default if type is a LOB (Request #8074) -- fixed handling return values when disable_query is set in _doQuery() and _execute() -- increased MDB2 dependency too 2.2.1 + <notes>- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement note: - please use the latest ext/oci8 version from pecl.php.net/oci8 @@ -86,6 +83,28 @@ </release> <changelog> <release> + <version>1.0.2</version> + <date>2006-09-03</date> + <license>BSD License</license> + <state>stable</state> + <notes>- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement + +note: +- please use the latest ext/oci8 version from pecl.php.net/oci8 + (binaries are available from snaps.php.net and pecl4win.php.net) +- by default this driver emulates the database concept other RDBMS have by this + using the "database" instead of "username" in the DSN as the username name. + behaviour can be disabled by setting the "emulate_database" option to false. +- the multi_query test failes because this is not supported by ext/oci8 +- the null LOB test failes because this is not supported by Oracle + +open todo items: +- enable use of read() for LOBs to read a LOB in chunks + </notes> + </release> + <release> <version>1.0.1</version> <date>2006-08-21</date> <license>BSD License</license> http://cvs.php.net/viewvc.cgi/pear/MDB2/package_oci8.php?r1=1.85&r2=1.86&diff_format=u Index: pear/MDB2/package_oci8.php diff -u pear/MDB2/package_oci8.php:1.85 pear/MDB2/package_oci8.php:1.86 --- pear/MDB2/package_oci8.php:1.85 Thu Aug 24 08:54:03 2006 +++ pear/MDB2/package_oci8.php Sun Sep 3 07:06:34 2006 @@ -2,7 +2,7 @@ require_once 'PEAR/PackageFileManager.php'; -$version = 'YYY'; +$version = '1.0.2'; $notes = <<<EOT - flip positions property array in prepared statement objects to make it possible to optionally use the same named placeholder in multiple places http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mysqli.xml?r1=1.31&r2=1.32&diff_format=u Index: pear/MDB2/package_mysqli.xml diff -u pear/MDB2/package_mysqli.xml:1.31 pear/MDB2/package_mysqli.xml:1.32 --- pear/MDB2/package_mysqli.xml:1.31 Mon Aug 21 18:20:37 2006 +++ pear/MDB2/package_mysqli.xml Sun Sep 3 07:06:34 2006 @@ -14,27 +14,14 @@ </maintainer> </maintainers> <release> - <version>1.2.1</version> - <date>2006-08-21</date> + <version>1.2.2</version> + <date>2006-09-03</date> <license>BSD License</license> <state>stable</state> - <notes>- fixed issue in tableInfo() that originates in getTableFieldDefinition() which - led to returning incorrect type values (Bug #8291) -- quote identifiers in the reverse module when 'quote_identifiers' is enabled (Bug #8309) -- use version_compare() to fix complex version comparisons (Bug #8355) -- do not use quote() in setCharset() since it is supposed to set the charset in - the connection that was passed to it -- return an error if a named placeholder name is used twice inside a single statement -- do not list empty contraints and indexes -- added support for 'primary' option in createTable() -- fixed notnull reverse engineering on mysql 4.x (Bug #8415) -- do not set a default if type is a LOB (Request #8074) -- if a default value is set, then we need to use VARCHAR instead of TEXT -- removed _verifyTableType() since it just adds overhead, is hard to do reliably - and you will get an error if the table type is not supported anyways -- fixed handling return values when disable_query is set in _doQuery() and _execute() -- only call RELEASE SAVEPOINT if the server version if 5.0.3 or higher -- increased MDB2 dependency too 2.2.1 + <notes>- fixed single quote handling inside non emulated prepared statements (Bug #8538) +- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement </notes> <deps> <dep type="php" rel="ge" version="5.0.0" optional="no"/> @@ -79,6 +66,17 @@ </release> <changelog> <release> + <version>1.2.2</version> + <date>2006-09-03</date> + <license>BSD License</license> + <state>stable</state> + <notes>- fixed single quote handling inside non emulated prepared statements (Bug #8538) +- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement + </notes> + </release> + <release> <version>1.2.1</version> <date>2006-08-21</date> <license>BSD License</license> http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mysqli.php?r1=1.77&r2=1.78&diff_format=u Index: pear/MDB2/package_mysqli.php diff -u pear/MDB2/package_mysqli.php:1.77 pear/MDB2/package_mysqli.php:1.78 --- pear/MDB2/package_mysqli.php:1.77 Thu Aug 24 08:54:03 2006 +++ pear/MDB2/package_mysqli.php Sun Sep 3 07:06:34 2006 @@ -2,7 +2,7 @@ require_once 'PEAR/PackageFileManager.php'; -$version = 'YYY'; +$version = '1.2.2'; $notes = <<<EOT - fixed single quote handling inside non emulated prepared statements (Bug #8538) - flip positions property array in prepared statement objects to make it http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mysql.xml?r1=1.28&r2=1.29&diff_format=u Index: pear/MDB2/package_mysql.xml diff -u pear/MDB2/package_mysql.xml:1.28 pear/MDB2/package_mysql.xml:1.29 --- pear/MDB2/package_mysql.xml:1.28 Mon Aug 21 18:20:37 2006 +++ pear/MDB2/package_mysql.xml Sun Sep 3 07:06:34 2006 @@ -14,27 +14,13 @@ </maintainer> </maintainers> <release> - <version>1.2.1</version> - <date>2006-08-21</date> + <version>1.2.2</version> + <date>2006-09-03</date> <license>BSD License</license> <state>stable</state> - <notes>- fixed issue in tableInfo() that originates in getTableFieldDefinition() which - led to returning incorrect type values (Bug #8291) -- quote identifiers in the reverse module when 'quote_identifiers' is enabled (Bug #8309) -- use version_compare() to fix complex version comparisons (Bug #8355) -- do not use quote() in setCharset() since it is supposed to set the charset in - the connection that was passed to it -- return an error if a named placeholder name is used twice inside a single statement -- do not list empty contraints and indexes -- added support for 'primary' option in createTable() -- fixed notnull reverse engineering on mysql 4.x (Bug #8415) -- do not set a default if type is a LOB (Request #8074) -- if a default value is set, then we need to use VARCHAR instead of TEXT -- removed _verifyTableType() since it just adds overhead, is hard to do reliably - and you will get an error if the table type is not supported anyways -- fixed handling return values when disable_query is set in _doQuery() and _execute() -- only call RELEASE SAVEPOINT if the server version if 5.0.3 or higher -- increased MDB2 dependency too 2.2.1 + <notes>- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement note: - the multi_query test failes because this is not supported by ext/mysql @@ -83,6 +69,20 @@ </release> <changelog> <release> + <version>1.2.2</version> + <date>2006-09-03</date> + <license>BSD License</license> + <state>stable</state> + <notes>- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement + +note: +- the multi_query test failes because this is not supported by ext/mysql +- use a trigger to emulate setting default now() + </notes> + </release> + <release> <version>1.2.1</version> <date>2006-08-21</date> <license>BSD License</license> http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mysql.php?r1=1.74&r2=1.75&diff_format=u Index: pear/MDB2/package_mysql.php diff -u pear/MDB2/package_mysql.php:1.74 pear/MDB2/package_mysql.php:1.75 --- pear/MDB2/package_mysql.php:1.74 Thu Aug 24 08:54:03 2006 +++ pear/MDB2/package_mysql.php Sun Sep 3 07:06:34 2006 @@ -2,7 +2,7 @@ require_once 'PEAR/PackageFileManager.php'; -$version = 'YYY'; +$version = '1.2.2'; $notes = <<<EOT - flip positions property array in prepared statement objects to make it possible to optionally use the same named placeholder in multiple places http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mssql.php?r1=1.61&r2=1.62&diff_format=u Index: pear/MDB2/package_mssql.php diff -u pear/MDB2/package_mssql.php:1.61 pear/MDB2/package_mssql.php:1.62 --- pear/MDB2/package_mssql.php:1.61 Fri Sep 1 11:55:33 2006 +++ pear/MDB2/package_mssql.php Sun Sep 3 07:06:34 2006 @@ -24,7 +24,7 @@ - ALTER TABLE bug when adding more than 1 column (Bug #8373) - fixed handling return values when disable_query is set in _doQuery() and _execute() - added dropIndex() to the manager module -- increased MDB2 dependency too XXX +- increased MDB2 dependency too 2.2.2 - renamed valid_types property to valid_default_values in the Datatype module - increased PHP dependency due to http://bugs.php.net/bug.php?id=31195 @@ -71,7 +71,7 @@ $package->addDependency('php', '4.3.11', 'ge', 'php', false); $package->addDependency('PEAR', '1.0b1', 'ge', 'pkg', false); -$package->addDependency('MDB2', 'XXX', 'ge', 'pkg', false); +$package->addDependency('MDB2', '2.2.2', 'ge', 'pkg', false); $package->addDependency('mssql', null, 'has', 'ext', false); $package->addglobalreplacement('package-info', '@package_version@', 'version'); http://cvs.php.net/viewvc.cgi/pear/MDB2/package_ibase.php?r1=1.92&r2=1.93&diff_format=u Index: pear/MDB2/package_ibase.php diff -u pear/MDB2/package_ibase.php:1.92 pear/MDB2/package_ibase.php:1.93 --- pear/MDB2/package_ibase.php:1.92 Tue Aug 29 08:56:47 2006 +++ pear/MDB2/package_ibase.php Sun Sep 3 07:06:34 2006 @@ -2,17 +2,8 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.2.1'; +$version = 'YYY'; $notes = <<<EOT -- flip positions property array in prepared statement objects to make it - possible to optionally use the same named placeholder in multiple places - inside a single prepared statement -- do not list empty contraints and indexes -- added support for 'primary' option in createTable() -- added missing 'mdb2type' to getTableFieldDefinition() -- do not set a default if type is a LOB (Request #8074) -- fixed handling return values when disable_query is set in _doQuery() and _execute() -- increased MDB2 dependency too 2.2.1 EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/viewvc.cgi/pear/MDB2/package.xml?r1=1.67&r2=1.68&diff_format=u Index: pear/MDB2/package.xml diff -u pear/MDB2/package.xml:1.67 pear/MDB2/package.xml:1.68 --- pear/MDB2/package.xml:1.67 Mon Aug 21 18:20:37 2006 +++ pear/MDB2/package.xml Sun Sep 3 07:06:34 2006 @@ -7,8 +7,9 @@ It provides a common API for all supported RDBMS. The main difference to most other DB abstraction packages is that MDB2 goes much further to ensure -portability. Among other things MDB2 features: -* An OO-style query API +portability. MDB2 provides most of its many features optionally that +can be used to construct portable SQL statements: +* Object-Oriented API * A DSN (data source name) or array format for specifying database servers * Datatype abstraction and on demand datatype conversion * Various optional fetch modes to fix portability issues @@ -16,11 +17,11 @@ * Sequential and non sequential row fetching as well as bulk fetching * Ability to make buffered and unbuffered queries * Ordered array and associative array for the fetched rows -* Prepare/execute (bind) emulation +* Prepare/execute (bind) named and unnamed placeholder emulation * Sequence/autoincrement emulation * Replace emulation * Limited sub select emulation -* Row limit support +* Row limit emulation * Transactions/savepoint support * Large Object support * Index/Unique Key/Primary Key support @@ -28,7 +29,7 @@ * Module framework to load advanced functionality on demand * Ability to read the information schema * RDBMS management methods (creating, dropping, altering) -* Reverse engineering schemas from an existing DB +* Reverse engineering schemas from an existing database * SQL function call abstraction * Full integration into the PEAR Framework * PHPDoc API documentation @@ -66,36 +67,15 @@ </maintainer> </maintainers> <release> - <version>2.2.1</version> - <date>2006-08-21</date> + <version>2.2.2</version> + <date>2006-09-03</date> <license>BSD License</license> <state>stable</state> - <notes>- fixed missing code in tableInfo() (Bug #8289) -- fixed handling of indexes and constraints and types in tableInfo() (fixes BC break) -- do not set nested transaction error if error is expected -- explictly default to NULL when the column is NULLable and no default is set - (related to Bug #8359) -- added support for case insensitive matching via ILIKE in matchPattern() -- added getAsKeyword() for generating "AS" keyword as required by the RDBMS -- return an error if a named placeholder name is used twice inside a single statement -- add support for multi column PRIMARY KEYs in createTable() -- added lower() and upper() to the function module -- moved escaping tests to datatype tests -- added summary at the end of a test run for each RDBMS -- explicitly pass the php_type var in all internal loadModule() calls -- added support for 'primary' option in createTable() -- expanded NULL tests -- fixed handling return values when disable_query is set in _doQuery() and _execute() -- check if safe_mode is enabled in fileExists() to determine what algo to use (Bug #8296) -- added a test case for updating LOBs -- added rtrim test case for LOBs -- if result types are specified only rtrim() type 'text' fields (otherwise - it will mean that for some drivers LOB's would get rtrimmed) -- phpdoc fixes to the convertResult*() methods -- added execParam() method and code tweaks for get*() methods in the Extended module -- removed redundant assertions when testing if a given feature is unsupported -- removed tests of portability off (users should just set the given portability - setting they want to test in their test_setup.php) + <notes>- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement +- expanded prepare tests to cover more edge cases +- renamed valid_types property to valid_default_values in the Datatype module open todo items: - handle autoincrement fields in alterTable() @@ -114,6 +94,7 @@ - add support for full text index creation and querying - add tests to check if the RDBMS specific handling with portability options disabled behaves as expected +- handle implicit commits (like for DDL) in any affected driver (mysql, sqlite..) </notes> <deps> <dep type="php" rel="ge" version="4.3.2" optional="no"/> @@ -269,6 +250,37 @@ </release> <changelog> <release> + <version>2.2.2</version> + <date>2006-09-03</date> + <license>BSD License</license> + <state>stable</state> + <notes>- flip positions property array in prepared statement objects to make it + possible to optionally use the same named placeholder in multiple places + inside a single prepared statement +- expanded prepare tests to cover more edge cases +- renamed valid_types property to valid_default_values in the Datatype module + +open todo items: +- handle autoincrement fields in alterTable() +- add length handling to LOB reverse engineering +- expand charset support in schema management and result set handling (Request #4666) +- add EXPLAIN abstraction +- add cursor support along the lines of PDO (Request #3660 etc.) +- expand length/scale support for numeric types (Request #7170) +- add PDO based drivers, especially a driver to support SQLite 3 (Request #6907) +- add support to export/import in CSV format +- add more functions to the Function module (MD5(), IFNULL(), LENGTH() etc.) +- add support for database/table/row LOCKs +- add support for FOREIGN KEYs and CHECK (ENUM as possible mysql fallback) constraints +- generate STATUS file from test suite results and allow users to submit test results +- add a package2.xml and explore use of install groups (pear install MDB2#mysql) +- add support for full text index creation and querying +- add tests to check if the RDBMS specific handling with portability options + disabled behaves as expected +- handle implicit commits (like for DDL) in any affected driver (mysql, sqlite..) + </notes> + </release> + <release> <version>2.2.1</version> <date>2006-08-21</date> <license>BSD License</license> http://cvs.php.net/viewvc.cgi/pear/MDB2/package.php?r1=1.208&r2=1.209&diff_format=u Index: pear/MDB2/package.php diff -u pear/MDB2/package.php:1.208 pear/MDB2/package.php:1.209 --- pear/MDB2/package.php:1.208 Fri Sep 1 06:42:10 2006 +++ pear/MDB2/package.php Sun Sep 3 07:06:34 2006 @@ -2,7 +2,7 @@ require_once 'PEAR/PackageFileManager.php'; -$version = 'XXX'; +$version = '2.2.2'; $notes = <<<EOT - flip positions property array in prepared statement objects to make it possible to optionally use the same named placeholder in multiple places @@ -35,8 +35,9 @@ It provides a common API for all supported RDBMS. The main difference to most other DB abstraction packages is that MDB2 goes much further to ensure -portability. Among other things MDB2 features: -* An OO-style query API +portability. MDB2 provides most of its many features optionally that +can be used to construct portable SQL statements: +* Object-Oriented API * A DSN (data source name) or array format for specifying database servers * Datatype abstraction and on demand datatype conversion * Various optional fetch modes to fix portability issues @@ -44,11 +45,11 @@ * Sequential and non sequential row fetching as well as bulk fetching * Ability to make buffered and unbuffered queries * Ordered array and associative array for the fetched rows -* Prepare/execute (bind) emulation +* Prepare/execute (bind) named and unnamed placeholder emulation * Sequence/autoincrement emulation * Replace emulation * Limited sub select emulation -* Row limit support +* Row limit emulation * Transactions/savepoint support * Large Object support * Index/Unique Key/Primary Key support @@ -56,7 +57,7 @@ * Module framework to load advanced functionality on demand * Ability to read the information schema * RDBMS management methods (creating, dropping, altering) -* Reverse engineering schemas from an existing DB +* Reverse engineering schemas from an existing database * SQL function call abstraction * Full integration into the PEAR Framework * PHPDoc API documentation