cvs: pear /MDB2 package.php package_fbsql.php package_ibase.php package_mssql.php package_mysql.php package_mysqli.php package_oci8.php
package_pgsql.php package_querysim.php package_sqlite.php
| From: | Lukas Smith | Date: | Thu, 23 Mar 2006 11:40:47 +0000 |
| Subject: | cvs: pear /MDB2 package.php package_fbsql.php package_ibase.php package_mssql.php package_mysql.php package_mysqli.php package_oci8.php package_pgsql.php package_querysim.php package_sqlite.php |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-39282@lists.php.net to get a copy of this message | ||
lsmith Thu Mar 23 11:40:47 2006 UTC
Modified files:
/pear/MDB2 package.php package_fbsql.php package_ibase.php
package_mssql.php package_mysql.php package_mysqli.php
package_oci8.php package_pgsql.php package_querysim.php
package_sqlite.php
Log:
- updated changelog
http://cvs.php.net/viewcvs.cgi/pear/MDB2/package.php?r1=1.138&r2=1.139&diff_format=u Index: pear/MDB2/package.php diff -u pear/MDB2/package.php:1.138 pear/MDB2/package.php:1.139 --- pear/MDB2/package.php:1.138 Mon Feb 27 15:02:42 2006 +++ pear/MDB2/package.php Thu Mar 23 11:40:46 2006 @@ -5,14 +5,32 @@ $version = '2.0.1'; $notes = <<<EOT - added new comprehensive tests for the Reverse module +- fixed testcases to pass for mysql[i] (needs pk's to be called "primary") .. + sqlite is probably severely broken for these tests +- added ability to specify port number when using unix sockets in + MDB2::parseDSN() (bug #5982) +- added test for multi_query option +- typo fix in get constraint test +- use ugly fopen() hack in fileExists() since its more efficient and reliable + than using is_readable() +- allow "." and "$" in sequence name (bug #7081) +- aligned _modifyQuery() signature and phpdoc +- added inTransaction() to determine if a transaction is currently open +- added support for tabe options in createTable() (bug ##7079) +- make it possible to overwrite the error code-message map +- added sample sqlite in memory dsn to php5 example +- added 'result_introspection' supported metadata support +- added bindValue() method +- use MDB2_PREPARE_MANIP where we previously were using false +- fixed default values for date and timestamp +- if MDB2_PORTABILITY_EMPTY_TO_NULL is set change '' to ' ' in _getDeclaration() +- refactored class loading into MDB2::loadClass() +- begun work on allow CURRENT_* in temporal types (bug #6416) EOT; $description =<<<EOT PEAR MDB2 is a merge of the PEAR DB and Metabase php database abstraction layers. -Note that the API will be adapted to better fit with the new php5 only PDO -before the first stable release. - 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: http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_fbsql.php?r1=1.26&r2=1.27&diff_format=u Index: pear/MDB2/package_fbsql.php diff -u pear/MDB2/package_fbsql.php:1.26 pear/MDB2/package_fbsql.php:1.27 --- pear/MDB2/package_fbsql.php:1.26 Thu Feb 9 14:25:48 2006 +++ pear/MDB2/package_fbsql.php Thu Mar 23 11:40:46 2006 @@ -34,6 +34,8 @@ - removed ugly hack for quote parameter in quote() since it was insufficient (escaping also needs to be prevented) - handle null as resource when disable_query option is enabled in result object +- aligned _modifyQuery() signature and phpdoc +- added 'result_introspection' supported metadata support open todo items: - this driver needs a serious update as it's currently unmaintained/untested http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_ibase.php?r1=1.46&r2=1.47&diff_format=u Index: pear/MDB2/package_ibase.php diff -u pear/MDB2/package_ibase.php:1.46 pear/MDB2/package_ibase.php:1.47 --- pear/MDB2/package_ibase.php:1.46 Sat Feb 18 08:48:58 2006 +++ pear/MDB2/package_ibase.php Thu Mar 23 11:40:46 2006 @@ -7,6 +7,10 @@ - discard all constraints in MDB2_Driver_Reverse::getTableIndexDefinition(), leave them to MDB2_Driver_Reverse::getTableConstraintDefinition(). - return the constraint type in MDB2_Driver_Reverse::getTableConstraintDefinition(). +- aligned _modifyQuery() signature and phpdoc +- added 'result_introspection' supported metadata support +- allow explicit definition of server_version +- some clean ups with determining if limit_queries needs to be emulated or not open todo items: - handle autoincremement fields in alterTable() http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_mssql.php?r1=1.30&r2=1.31&diff_format=u Index: pear/MDB2/package_mssql.php diff -u pear/MDB2/package_mssql.php:1.30 pear/MDB2/package_mssql.php:1.31 --- pear/MDB2/package_mssql.php:1.30 Mon Feb 13 21:14:00 2006 +++ pear/MDB2/package_mssql.php Thu Mar 23 11:40:46 2006 @@ -2,10 +2,15 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.1.0'; +$version = '1.0.1'; $notes = <<<EOT -- Added the listTriggers() method to the Manager. -- Added the listViews() method to the Manager. +- added the listTriggers() method to the Manager. +- added the listViews() method to the Manager. +- aligned _modifyQuery() signature and phpdoc +- added the map datatype patch for (bug #6863) +- added 'result_introspection' supported metadata support +- fixed alterTable() when adding/dropping multiple columns +- improve test suite documentation EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_mysql.php?r1=1.33&r2=1.34&diff_format=u Index: pear/MDB2/package_mysql.php diff -u pear/MDB2/package_mysql.php:1.33 pear/MDB2/package_mysql.php:1.34 --- pear/MDB2/package_mysql.php:1.33 Thu Feb 9 14:25:49 2006 +++ pear/MDB2/package_mysql.php Thu Mar 23 11:40:46 2006 @@ -2,9 +2,13 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.0.0'; +$version = '1.0.1'; $notes = <<<EOT -- handle null as resource when disable_query option is enabled in result object +- handle qualified table names in tableInfo() +- aligned _modifyQuery() signature and phpdoc +- added support for tabe options in createTable() (bug ##7079) +- added optional database parameter to listTables() and listSequences() +- added 'result_introspection' supported metadata support EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_mysqli.php?r1=1.37&r2=1.38&diff_format=u Index: pear/MDB2/package_mysqli.php diff -u pear/MDB2/package_mysqli.php:1.37 pear/MDB2/package_mysqli.php:1.38 --- pear/MDB2/package_mysqli.php:1.37 Thu Feb 9 14:25:49 2006 +++ pear/MDB2/package_mysqli.php Thu Mar 23 11:40:46 2006 @@ -2,9 +2,13 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.0.0'; +$version = '1.0.1'; $notes = <<<EOT -- handle null as resource when disable_query option is enabled in result object +- fixed length handling in tableInfo() (bug #6887) +- aligned _modifyQuery() signature and phpdoc +- added support for tabe options in createTable() (bug ##7079) +- added optional database parameter to listTables() and listSequences() +- added 'result_introspection' supported metadata support open todo item: - use native prepared queries for prepared SELECT statements http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_oci8.php?r1=1.37&r2=1.38&diff_format=u Index: pear/MDB2/package_oci8.php diff -u pear/MDB2/package_oci8.php:1.37 pear/MDB2/package_oci8.php:1.38 --- pear/MDB2/package_oci8.php:1.37 Wed Feb 15 19:09:52 2006 +++ pear/MDB2/package_oci8.php Thu Mar 23 11:40:46 2006 @@ -6,6 +6,11 @@ $notes = <<<EOT - handle null as resource when disable_query option is enabled in result object - added missing methods in the reverse and datatype module +- aligned _modifyQuery() signature and phpdoc +- shorten autoincrement emulation related identifiers (bug #7109) +- added 'result_introspection' supported metadata support +- use NUMBER(1) for booleans (partial fix for bug #7170) +- use mapNativeDatatype() in tableInfo() where necessary open todo items: - fix issues with lobs where the placeholder is not named like the field http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_pgsql.php?r1=1.41&r2=1.42&diff_format=u Index: pear/MDB2/package_pgsql.php diff -u pear/MDB2/package_pgsql.php:1.41 pear/MDB2/package_pgsql.php:1.42 --- pear/MDB2/package_pgsql.php:1.41 Thu Feb 9 14:25:49 2006 +++ pear/MDB2/package_pgsql.php Thu Mar 23 11:40:46 2006 @@ -2,9 +2,14 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.0.0'; +$version = '1.0.1'; $notes = <<<EOT -- handle null as resource when disable_query option is enabled in result object +- implemented multi_query option +- aligned _modifyQuery() signature and phpdoc +- ensure that types is an array before accessing it as an array in prepare() +- added support for setting the client charset (bug #6814) +- added 'result_introspection' supported metadata support +- make sure that statement names are truely unique open todo items: - considering migrating away from OID's to bytea, since this is encourage http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_querysim.php?r1=1.18&r2=1.19&diff_format=u Index: pear/MDB2/package_querysim.php diff -u pear/MDB2/package_querysim.php:1.18 pear/MDB2/package_querysim.php:1.19 --- pear/MDB2/package_querysim.php:1.18 Thu Feb 9 09:13:34 2006 +++ pear/MDB2/package_querysim.php Thu Mar 23 11:40:46 2006 @@ -5,6 +5,8 @@ $version = '0.2.2'; $notes = <<<EOT - handle null as resource when disable_query option is enabled in result object +- added 'result_introspection' supported metadata support +- aligned _modifyQuery() signature and phpdoc open todo items: - add ability to reference multiple results set files for different queries http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_sqlite.php?r1=1.36&r2=1.37&diff_format=u Index: pear/MDB2/package_sqlite.php diff -u pear/MDB2/package_sqlite.php:1.36 pear/MDB2/package_sqlite.php:1.37 --- pear/MDB2/package_sqlite.php:1.36 Thu Feb 9 14:25:49 2006 +++ pear/MDB2/package_sqlite.php Thu Mar 23 11:40:46 2006 @@ -2,10 +2,11 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.0.0'; +$version = '1.0.1'; $notes = <<<EOT -- use PRAGMA short_column_names = 1/0 for MDB2_PORTABILITY_FIX_ASSOC_FIELD_NAMES handling -- handle null as resource when disable_query option is enabled in result object +- aligned _modifyQuery() signature and phpdoc +- fix bug sqlite:///:memory: trys to open file (bug #6599) +- added 'result_introspection' supported metadata support open todo items: - a number of the manager test cases fail because sqlite does not support adding
http://cvs.php.net/viewcvs.cgi/pear/MDB2/package.php?r1=1.138&r2=1.139&diff_format=u Index: pear/MDB2/package.php diff -u pear/MDB2/package.php:1.138 pear/MDB2/package.php:1.139 --- pear/MDB2/package.php:1.138 Mon Feb 27 15:02:42 2006 +++ pear/MDB2/package.php Thu Mar 23 11:40:46 2006 @@ -5,14 +5,32 @@ $version = '2.0.1'; $notes = <<<EOT - added new comprehensive tests for the Reverse module +- fixed testcases to pass for mysql[i] (needs pk's to be called "primary") .. + sqlite is probably severely broken for these tests +- added ability to specify port number when using unix sockets in + MDB2::parseDSN() (bug #5982) +- added test for multi_query option +- typo fix in get constraint test +- use ugly fopen() hack in fileExists() since its more efficient and reliable + than using is_readable() +- allow "." and "$" in sequence name (bug #7081) +- aligned _modifyQuery() signature and phpdoc +- added inTransaction() to determine if a transaction is currently open +- added support for tabe options in createTable() (bug ##7079) +- make it possible to overwrite the error code-message map +- added sample sqlite in memory dsn to php5 example +- added 'result_introspection' supported metadata support +- added bindValue() method +- use MDB2_PREPARE_MANIP where we previously were using false +- fixed default values for date and timestamp +- if MDB2_PORTABILITY_EMPTY_TO_NULL is set change '' to ' ' in _getDeclaration() +- refactored class loading into MDB2::loadClass() +- begun work on allow CURRENT_* in temporal types (bug #6416) EOT; $description =<<<EOT PEAR MDB2 is a merge of the PEAR DB and Metabase php database abstraction layers. -Note that the API will be adapted to better fit with the new php5 only PDO -before the first stable release. - 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: http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_fbsql.php?r1=1.26&r2=1.27&diff_format=u Index: pear/MDB2/package_fbsql.php diff -u pear/MDB2/package_fbsql.php:1.26 pear/MDB2/package_fbsql.php:1.27 --- pear/MDB2/package_fbsql.php:1.26 Thu Feb 9 14:25:48 2006 +++ pear/MDB2/package_fbsql.php Thu Mar 23 11:40:46 2006 @@ -34,6 +34,8 @@ - removed ugly hack for quote parameter in quote() since it was insufficient (escaping also needs to be prevented) - handle null as resource when disable_query option is enabled in result object +- aligned _modifyQuery() signature and phpdoc +- added 'result_introspection' supported metadata support open todo items: - this driver needs a serious update as it's currently unmaintained/untested http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_ibase.php?r1=1.46&r2=1.47&diff_format=u Index: pear/MDB2/package_ibase.php diff -u pear/MDB2/package_ibase.php:1.46 pear/MDB2/package_ibase.php:1.47 --- pear/MDB2/package_ibase.php:1.46 Sat Feb 18 08:48:58 2006 +++ pear/MDB2/package_ibase.php Thu Mar 23 11:40:46 2006 @@ -7,6 +7,10 @@ - discard all constraints in MDB2_Driver_Reverse::getTableIndexDefinition(), leave them to MDB2_Driver_Reverse::getTableConstraintDefinition(). - return the constraint type in MDB2_Driver_Reverse::getTableConstraintDefinition(). +- aligned _modifyQuery() signature and phpdoc +- added 'result_introspection' supported metadata support +- allow explicit definition of server_version +- some clean ups with determining if limit_queries needs to be emulated or not open todo items: - handle autoincremement fields in alterTable() http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_mssql.php?r1=1.30&r2=1.31&diff_format=u Index: pear/MDB2/package_mssql.php diff -u pear/MDB2/package_mssql.php:1.30 pear/MDB2/package_mssql.php:1.31 --- pear/MDB2/package_mssql.php:1.30 Mon Feb 13 21:14:00 2006 +++ pear/MDB2/package_mssql.php Thu Mar 23 11:40:46 2006 @@ -2,10 +2,15 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.1.0'; +$version = '1.0.1'; $notes = <<<EOT -- Added the listTriggers() method to the Manager. -- Added the listViews() method to the Manager. +- added the listTriggers() method to the Manager. +- added the listViews() method to the Manager. +- aligned _modifyQuery() signature and phpdoc +- added the map datatype patch for (bug #6863) +- added 'result_introspection' supported metadata support +- fixed alterTable() when adding/dropping multiple columns +- improve test suite documentation EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_mysql.php?r1=1.33&r2=1.34&diff_format=u Index: pear/MDB2/package_mysql.php diff -u pear/MDB2/package_mysql.php:1.33 pear/MDB2/package_mysql.php:1.34 --- pear/MDB2/package_mysql.php:1.33 Thu Feb 9 14:25:49 2006 +++ pear/MDB2/package_mysql.php Thu Mar 23 11:40:46 2006 @@ -2,9 +2,13 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.0.0'; +$version = '1.0.1'; $notes = <<<EOT -- handle null as resource when disable_query option is enabled in result object +- handle qualified table names in tableInfo() +- aligned _modifyQuery() signature and phpdoc +- added support for tabe options in createTable() (bug ##7079) +- added optional database parameter to listTables() and listSequences() +- added 'result_introspection' supported metadata support EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_mysqli.php?r1=1.37&r2=1.38&diff_format=u Index: pear/MDB2/package_mysqli.php diff -u pear/MDB2/package_mysqli.php:1.37 pear/MDB2/package_mysqli.php:1.38 --- pear/MDB2/package_mysqli.php:1.37 Thu Feb 9 14:25:49 2006 +++ pear/MDB2/package_mysqli.php Thu Mar 23 11:40:46 2006 @@ -2,9 +2,13 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.0.0'; +$version = '1.0.1'; $notes = <<<EOT -- handle null as resource when disable_query option is enabled in result object +- fixed length handling in tableInfo() (bug #6887) +- aligned _modifyQuery() signature and phpdoc +- added support for tabe options in createTable() (bug ##7079) +- added optional database parameter to listTables() and listSequences() +- added 'result_introspection' supported metadata support open todo item: - use native prepared queries for prepared SELECT statements http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_oci8.php?r1=1.37&r2=1.38&diff_format=u Index: pear/MDB2/package_oci8.php diff -u pear/MDB2/package_oci8.php:1.37 pear/MDB2/package_oci8.php:1.38 --- pear/MDB2/package_oci8.php:1.37 Wed Feb 15 19:09:52 2006 +++ pear/MDB2/package_oci8.php Thu Mar 23 11:40:46 2006 @@ -6,6 +6,11 @@ $notes = <<<EOT - handle null as resource when disable_query option is enabled in result object - added missing methods in the reverse and datatype module +- aligned _modifyQuery() signature and phpdoc +- shorten autoincrement emulation related identifiers (bug #7109) +- added 'result_introspection' supported metadata support +- use NUMBER(1) for booleans (partial fix for bug #7170) +- use mapNativeDatatype() in tableInfo() where necessary open todo items: - fix issues with lobs where the placeholder is not named like the field http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_pgsql.php?r1=1.41&r2=1.42&diff_format=u Index: pear/MDB2/package_pgsql.php diff -u pear/MDB2/package_pgsql.php:1.41 pear/MDB2/package_pgsql.php:1.42 --- pear/MDB2/package_pgsql.php:1.41 Thu Feb 9 14:25:49 2006 +++ pear/MDB2/package_pgsql.php Thu Mar 23 11:40:46 2006 @@ -2,9 +2,14 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.0.0'; +$version = '1.0.1'; $notes = <<<EOT -- handle null as resource when disable_query option is enabled in result object +- implemented multi_query option +- aligned _modifyQuery() signature and phpdoc +- ensure that types is an array before accessing it as an array in prepare() +- added support for setting the client charset (bug #6814) +- added 'result_introspection' supported metadata support +- make sure that statement names are truely unique open todo items: - considering migrating away from OID's to bytea, since this is encourage http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_querysim.php?r1=1.18&r2=1.19&diff_format=u Index: pear/MDB2/package_querysim.php diff -u pear/MDB2/package_querysim.php:1.18 pear/MDB2/package_querysim.php:1.19 --- pear/MDB2/package_querysim.php:1.18 Thu Feb 9 09:13:34 2006 +++ pear/MDB2/package_querysim.php Thu Mar 23 11:40:46 2006 @@ -5,6 +5,8 @@ $version = '0.2.2'; $notes = <<<EOT - handle null as resource when disable_query option is enabled in result object +- added 'result_introspection' supported metadata support +- aligned _modifyQuery() signature and phpdoc open todo items: - add ability to reference multiple results set files for different queries http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_sqlite.php?r1=1.36&r2=1.37&diff_format=u Index: pear/MDB2/package_sqlite.php diff -u pear/MDB2/package_sqlite.php:1.36 pear/MDB2/package_sqlite.php:1.37 --- pear/MDB2/package_sqlite.php:1.36 Thu Feb 9 14:25:49 2006 +++ pear/MDB2/package_sqlite.php Thu Mar 23 11:40:46 2006 @@ -2,10 +2,11 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.0.0'; +$version = '1.0.1'; $notes = <<<EOT -- use PRAGMA short_column_names = 1/0 for MDB2_PORTABILITY_FIX_ASSOC_FIELD_NAMES handling -- handle null as resource when disable_query option is enabled in result object +- aligned _modifyQuery() signature and phpdoc +- fix bug sqlite:///:memory: trys to open file (bug #6599) +- added 'result_introspection' supported metadata support open todo items: - a number of the manager test cases fail because sqlite does not support adding