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: Date: Mon, 19 Jun 2006 21:20:35 +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-40828@lists.php.net to get a copy of this message
lsmith Mon Jun 19 21:20:35 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/viewvc.cgi/pear/MDB2/package.php?r1=1.167&r2=1.168&diff_format=u Index: pear/MDB2/package.php diff -u pear/MDB2/package.php:1.167 pear/MDB2/package.php:1.168 --- pear/MDB2/package.php:1.167 Thu Jun 15 11:21:29 2006 +++ pear/MDB2/package.php Mon Jun 19 21:20:35 2006 @@ -2,41 +2,27 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '2.1.0'; +$version = 'XXX'; $notes = <<<EOT -- removed bogus code from execute() -- new test case for floats/decimals and locale -- reworked fix for float/decimal handling -- expanded scientific notation handling -- fixed several minor issues with the datatype tests -- removed use of "*" in all places in the test suite that are followed by a fetch -- tweaked handling of free() for prepared statements -- return error if a prepared statement is attempted to be free'ed or executed again -- added result_wrap_class param to limitQuery() -- added parameter to not quote return value of getBeforeId() -- added setCharset() -- enable transactions by default -- added decimal reverse engineering test -- fixed parameter order in assertions in reverse engineering fields tests -- generalized quoteIdentifier() with a property -- switched most array_key_exists() calls to !empty() to improve readability and performance -- fixed a few edge cases and potential warnings -- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback -- added 'datatype_map' option (Request #7797) -- added reverse parameter to getColumnNames() -- added 'datatype_map_callback' option -- added getValidTypes() method to handle additional types from the 'datatype_map' option -- set last_query in _execute() to prepared statement (Bug #7856) -- adding random function emulation to generate a float between 0 and 1 -- explicitly fetch row id = 1 in LOB tests -- cosmetic fix to prepare() (Bug #7883) -- bumped PHP dependency to 4.3.2 because of LOB stream support +- added MDB2_AUTOQUERY_SELECT (Request #7817) +- inTransaction() now returns an integer instead of a boolean + (however casts cleanly to old value) +- added nested transaction support (inspired by ADODB's smart transactions) + beginNestedTransaction(), completeNestedTransaction(), + failNestedTransaction(), getNestedTransactionError() +- added setTransactionIsolation() +- added Native base class for consistency open todo items: - handle autoincrement fields in alterTable() -- add support for ADODB style "smart transactions": - http://phplens.com/lens/adodb/docs-adodb.htm#ex11 - add length handling to LOB reverse engineering +- expand charset support in schema management and result set handling (Request #4666) +- add EXPLAIN abstraction +- add debug() call at the end of a query execution (Request #7933) +- add context array parameter to debug() +- 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) EOT; $description =<<<EOT http://cvs.php.net/viewvc.cgi/pear/MDB2/package_fbsql.php?r1=1.38&r2=1.39&diff_format=u Index: pear/MDB2/package_fbsql.php diff -u pear/MDB2/package_fbsql.php:1.38 pear/MDB2/package_fbsql.php:1.39 --- pear/MDB2/package_fbsql.php:1.38 Thu Jun 15 07:28:57 2006 +++ pear/MDB2/package_fbsql.php Mon Jun 19 21:20:35 2006 @@ -21,6 +21,7 @@ - added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback - check if result/connection has not yet been freed/dicsonnected before attempting to free a result set(Bug #7790) +- added ability to escape wildcard characters in escape() and quote() open todo items: - this driver needs a serious update as it's currently unmaintained/untested http://cvs.php.net/viewvc.cgi/pear/MDB2/package_ibase.php?r1=1.75&r2=1.76&diff_format=u Index: pear/MDB2/package_ibase.php diff -u pear/MDB2/package_ibase.php:1.75 pear/MDB2/package_ibase.php:1.76 --- pear/MDB2/package_ibase.php:1.75 Thu Jun 15 13:02:31 2006 +++ pear/MDB2/package_ibase.php Mon Jun 19 21:20:35 2006 @@ -2,21 +2,9 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.1.0'; +$version = 'XXX'; $notes = <<<EOT -- added "emulate_prepared" option to force prepared statement emulation -- tweaked handling of free() for prepared statements -- return error if a prepared statement is attempted to be freed twice -- added setCharset() -- generalized quoteIdentifier() with a property -- cosmetic performance tweak in getTableFieldDefinition() -- switched most array_key_exists() calls to !empty() to improve readability and performance -- fixed a few edge cases and potential warnings -- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback -- check if result/connection has not yet been freed/disconnected before - attempting to free a result set(Bug #7790) -- fixed control flow in MDB2_Driver_Datatype_ibase::mapNativeDatatype() - for 'numeric' or 'decimal' types +- added ability to escape wildcard characters in escape() and quote() EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mssql.php?r1=1.48&r2=1.49&diff_format=u Index: pear/MDB2/package_mssql.php diff -u pear/MDB2/package_mssql.php:1.48 pear/MDB2/package_mssql.php:1.49 --- pear/MDB2/package_mssql.php:1.48 Thu Jun 15 13:28:39 2006 +++ pear/MDB2/package_mssql.php Mon Jun 19 21:20:35 2006 @@ -2,47 +2,9 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.1.0'; +$version = 'XXX'; $notes = <<<EOT -- added the listTableTriggers() 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 support for length in reverse engineering of integer fields -- added 'result_introspection' supported metadata support -- fixed alterTable() when adding/dropping multiple columns -- properly quote table names in tableInfo() (related to bug #6573) -- use connected_server_info in getServerVersion() as a cache cache -- use parent::disconnect() in disconnect() -- added support for length in integer reverse engineering -- some fixes regarding boolean reverse engineering -- protect against sql injection in the reverse and manager module -- explicitly set is_manip parameter to false for transaction debug calls -- various minor tweaks to error messages, phpdoc and adding stub methods to the - common driver -- typo fixes in phpdoc (thx Stoyan) -- added support for fixed and variable types for 'text' in declarations, - as well as in reverse engineering (Request #1523) -- made _doQuery() return a reference -- added userinfo's to all raiseError calls that previously had none -- added 'prepared_statements' supported meta data setting -- limit fetch to 1 row in listTableFields() -- use setCharset() in connect()/_doConnect() -- generalized quoteIdentifier() with a property -- drop parentheses from executeStoredProc() syntax (bug #7855) -- switched most array_key_exists() calls to !empty() to improve readability and performance -- fixed a few edge cases and potential warnings -- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback -- added implementation for now() and substring() (Request #7774) -- check if result/connection has not yet been freed/dicsonnected before - attempting to free a result set(Bug #7790) -- fix range offsets (bug #7448) -- revert change that would prefer 'clob' over 'text' for TEXT fields - (this was breaking runtime instrospection) -- use SCOPE_IDENTITY() when version >= 8 (SQL Server 2000) otherwise fallback to - @@IDENTITY to retrieve last inserted value (bug #7291) -- implement getServerVersion() -- removed bogus but unharmful code from mapNativeDatatype() +- added ability to escape wildcard characters in escape() and quote() EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mysql.php?r1=1.55&r2=1.56&diff_format=u Index: pear/MDB2/package_mysql.php diff -u pear/MDB2/package_mysql.php:1.55 pear/MDB2/package_mysql.php:1.56 --- pear/MDB2/package_mysql.php:1.55 Thu Jun 15 07:28:57 2006 +++ pear/MDB2/package_mysql.php Mon Jun 19 21:20:35 2006 @@ -2,25 +2,10 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.1.0'; +$version = 'XXX'; $notes = <<<EOT -- tweaked handling of free() for prepared statements -- return error if a prepared statement is attempted to be freed twice -- added setCharset() -- use setCharset() in connect()/_doConnect() -- set transaction enabled engine as default -- generalized quoteIdentifier() with a property -- use general implementation of quoteIdentifier() (Bug #7738) -- fixed warning in replace() if type is not set (Bug #7740) -- cosmetic performance tweak in getTableFieldDefinition() -- switched most array_key_exists() calls to !empty() to improve readability and performance -- fixed a few edge cases and potential warnings -- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback -- pass limit and offset to the result object constructor in _execute() for read statements -- check if result/connection has not yet been freed/dicsonnected before - attempting to free a result set(Bug #7790) -- revert change that would prefer 'clob' over 'text' for TEXT fields - (this was breaking runtime instrospection) +- added ability to escape wildcard characters in escape() and quote() +- added setTransactionIsolation() EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mysqli.php?r1=1.59&r2=1.60&diff_format=u Index: pear/MDB2/package_mysqli.php diff -u pear/MDB2/package_mysqli.php:1.59 pear/MDB2/package_mysqli.php:1.60 --- pear/MDB2/package_mysqli.php:1.59 Thu Jun 15 07:28:57 2006 +++ pear/MDB2/package_mysqli.php Mon Jun 19 21:20:35 2006 @@ -2,28 +2,10 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.1.0'; +$version = 'XXX'; $notes = <<<EOT -- tweaked handling of free() for prepared statements -- return error if a prepared statement is attempted to be freed twice -- removed use of addslashes() for BLOB quoting - (this might result in SQL injection vulnerability) -- added setCharset() -- use setCharset() in connect()/_doConnect() -- set transaction enabled engine as default -- generalized quoteIdentifier() with a property -- use general implementation of quoteIdentifier() (Bug #7738) -- fixed warning in replace() if type is not set (Bug #7740) -- cosmetic performance tweak in getTableFieldDefinition() -- switched most array_key_exists() calls to !empty() to improve readability and performance -- fixed a few edge cases and potential warnings -- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback -- pass limit and offset to the result object constructor in _execute() for read statements -- check if result/connection has not yet been freed/dicsonnected before - attempting to free a result set(Bug #7790) -- fixed unbuffered query support -- revert change that would prefer 'clob' over 'text' for TEXT fields - (this was breaking runtime instrospection) +- added ability to escape wildcard characters in escape() and quote() +- added setTransactionIsolation() EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/viewvc.cgi/pear/MDB2/package_oci8.php?r1=1.65&r2=1.66&diff_format=u Index: pear/MDB2/package_oci8.php diff -u pear/MDB2/package_oci8.php:1.65 pear/MDB2/package_oci8.php:1.66 --- pear/MDB2/package_oci8.php:1.65 Thu Jun 15 07:28:57 2006 +++ pear/MDB2/package_oci8.php Mon Jun 19 21:20:35 2006 @@ -2,24 +2,10 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.3.0'; +$version = 'XXX'; $notes = <<<EOT -- added "emulate_prepared" option to force prepared statement emulation -- tweaked handling of free() for prepared statements -- return error if a prepared statement is attempted to be freed twice -- use setCharset() in connect()/_doConnect() -- fixed number length handling when reverse engineering numeric types -- generalized quoteIdentifier() with a property -- cosmetic performance tweak in getTableFieldDefinition() -- switched most array_key_exists() calls to !empty() to improve readability and performance -- fixed a few edge cases and potential warnings -- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback -- pass limit and offset to the result object constructor in _execute() for read statements -- optmized limit queries without offset -- make sure no additional fields are added due to using limit/offset -- check if result/connection has not yet been freed/dicsonnected before - attempting to free a result set(Bug #7790) -- fixed small typo with 'clob' reverse engineering +- added ability to escape wildcard characters in escape() and quote() +- added setTransactionIsolation() note: please use the latest ext/oci8 version from pecl.php.net/oci8 (binaries are available from snaps.php.net and pecl4win.php.net) http://cvs.php.net/viewvc.cgi/pear/MDB2/package_pgsql.php?r1=1.65&r2=1.66&diff_format=u Index: pear/MDB2/package_pgsql.php diff -u pear/MDB2/package_pgsql.php:1.65 pear/MDB2/package_pgsql.php:1.66 --- pear/MDB2/package_pgsql.php:1.65 Thu Jun 15 13:31:13 2006 +++ pear/MDB2/package_pgsql.php Mon Jun 19 21:20:35 2006 @@ -2,26 +2,16 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.1.0'; +$version = 'XXX'; $notes = <<<EOT -- added setCharset() -- use setCharset() in connect()/_doConnect() -- generalized quoteIdentifier() with a property -- switched most array_key_exists() calls to !empty() to improve readability and performance -- fixed a few edge cases and potential warnings -- return error when changing datatypes in alterTable() on pgsql version lower than 8.x (Bug #7731) -- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback -- fixed missing error handling in getTableFieldDefinition() (Bug #7791) -- pass limit and offset to the result object constructor in _execute() for read statements -- use pg_prepare() if available so that we do not need to define the types anymore (Request #7797) -- added code to use pg_execute() but disabled due to issues with bytea fields -- check if result/connection has not yet been freed/dicsonnected before - attempting to free a result set(Bug #7790) -- revert change that would prefer 'clob' over 'text' for TEXT fields - (this was breaking runtime instrospection) +- added ability to escape wildcard characters in escape() and quote() +- added setTransactionIsolation() +- performance tweaks for pg_prepare() enabled installations open todo items: - enable pg_execute() once issues with bytea column are resolved +- add schema support to _pgFieldFlags() in pgsql driver (Request #5796) +- add optional use of pg_result_error_field()to handle localized error messages (Request #7059) EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/viewvc.cgi/pear/MDB2/package_querysim.php?r1=1.29&r2=1.30&diff_format=u Index: pear/MDB2/package_querysim.php diff -u pear/MDB2/package_querysim.php:1.29 pear/MDB2/package_querysim.php:1.30 --- pear/MDB2/package_querysim.php:1.29 Thu Jun 15 07:28:57 2006 +++ pear/MDB2/package_querysim.php Mon Jun 19 21:20:35 2006 @@ -2,13 +2,9 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '0.3.0'; +$version = 'XXX'; $notes = <<<EOT -- use setCharset() in connect()/_doConnect() -- generalized quoteIdentifier() with a property -- switched most array_key_exists() calls to !empty() to improve readability and performance -- fixed a few edge cases and potential warnings -- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- added ability to escape wildcard characters in escape() and quote() open todo items: - add ability to reference multiple results set files for different queries http://cvs.php.net/viewvc.cgi/pear/MDB2/package_sqlite.php?r1=1.53&r2=1.54&diff_format=u Index: pear/MDB2/package_sqlite.php diff -u pear/MDB2/package_sqlite.php:1.53 pear/MDB2/package_sqlite.php:1.54 --- pear/MDB2/package_sqlite.php:1.53 Thu Jun 15 07:28:57 2006 +++ pear/MDB2/package_sqlite.php Mon Jun 19 21:20:35 2006 @@ -2,18 +2,10 @@ require_once 'PEAR/PackageFileManager.php'; -$version = '1.1.0'; +$version = 'XXX'; $notes = <<<EOT -- fixed unsigned handling in mapNativeDatatype() -- use setCharset() in connect()/_doConnect() -- generalized quoteIdentifier() with a property -- fixed warning in replace() if type is not set (Bug #7740) -- cosmetic performance tweak in getTableFieldDefinition() -- switched most array_key_exists() calls to !empty() to improve readability and performance -- fixed a few edge cases and potential warnings -- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback -- revert change that would prefer 'clob' over 'text' for TEXT fields - (this was breaking runtime instrospection) +- added ability to escape wildcard characters in escape() and quote() +- added setTransactionIsolation() open todo items: - a number of the manager test cases fail because sqlite does not support adding
« previous php.pear.cvs (#40828) next »