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: Sat, 19 Aug 2006 06:42:40 +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-41734@lists.php.net to get a copy of this message
lsmith Sat Aug 19 06:42:40 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.197&r2=1.198&diff_format=u Index: pear/MDB2/package.php diff -u pear/MDB2/package.php:1.197 pear/MDB2/package.php:1.198 --- pear/MDB2/package.php:1.197 Sat Aug 19 06:42:28 2006 +++ pear/MDB2/package.php Sat Aug 19 06:42:40 2006 @@ -5,7 +5,7 @@ $version = 'XXX'; $notes = <<<EOT - fixed missing code in tableInfo() (Bug #8289) -- fixed handling of indexes and constraints in tableInfo() (fixes BC break) +- 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) @@ -15,6 +15,11 @@ - 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() open todo items: - handle autoincrement fields in alterTable() http://cvs.php.net/viewvc.cgi/pear/MDB2/package_fbsql.php?r1=1.44&r2=1.45&diff_format=u Index: pear/MDB2/package_fbsql.php diff -u pear/MDB2/package_fbsql.php:1.44 pear/MDB2/package_fbsql.php:1.45 --- pear/MDB2/package_fbsql.php:1.44 Mon Aug 7 20:23:14 2006 +++ pear/MDB2/package_fbsql.php Sat Aug 19 06:42:40 2006 @@ -32,6 +32,8 @@ when a table name is passed (Bug #8124) - fixed incorrect regex in mapNativeDatatype() (Bug #8256) (thx ioz at ionosfera dot com) - use old dsn when rolling back open transactions in disconnect() +- do not list empty contraints and indexes +- fixed handling return values when disable_query is set in _doQuery() and _execute() 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.87&r2=1.88&diff_format=u Index: pear/MDB2/package_ibase.php diff -u pear/MDB2/package_ibase.php:1.87 pear/MDB2/package_ibase.php:1.88 --- pear/MDB2/package_ibase.php:1.87 Sat Aug 19 06:42:28 2006 +++ pear/MDB2/package_ibase.php Sat Aug 19 06:42:40 2006 @@ -5,7 +5,11 @@ $version = 'XXX'; $notes = <<<EOT - 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() +- 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() EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mssql.php?r1=1.56&r2=1.57&diff_format=u Index: pear/MDB2/package_mssql.php diff -u pear/MDB2/package_mssql.php:1.56 pear/MDB2/package_mssql.php:1.57 --- pear/MDB2/package_mssql.php:1.56 Sat Aug 19 06:42:28 2006 +++ pear/MDB2/package_mssql.php Sat Aug 19 06:42:40 2006 @@ -19,6 +19,10 @@ - fixed incorrect regex in mapNativeDatatype() (Bug #8256) (thx ioz at ionosfera dot com) - use old dsn when rolling back open transactions in disconnect() - MSSQL requires making columns exlicitly NULLable (Bug #8359) +- do not list empty contraints and indexes +- added support for autoincrement via IDENTITY in getDeclaration() +- ALTER TABLE bug when adding more than 1 column (Bug #8373) +- fixed handling return values when disable_query is set in _doQuery() and _execute() open todo items: - explore fast limit/offset emulation (Request #4544) http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mysql.php?r1=1.67&r2=1.68&diff_format=u Index: pear/MDB2/package_mysql.php diff -u pear/MDB2/package_mysql.php:1.67 pear/MDB2/package_mysql.php:1.68 --- pear/MDB2/package_mysql.php:1.67 Sat Aug 19 06:42:28 2006 +++ pear/MDB2/package_mysql.php Sat Aug 19 06:42:40 2006 @@ -11,6 +11,14 @@ - 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() note: - the multi_query test failes because this is not supported by ext/sqlite http://cvs.php.net/viewvc.cgi/pear/MDB2/package_mysqli.php?r1=1.71&r2=1.72&diff_format=u Index: pear/MDB2/package_mysqli.php diff -u pear/MDB2/package_mysqli.php:1.71 pear/MDB2/package_mysqli.php:1.72 --- pear/MDB2/package_mysqli.php:1.71 Sat Aug 19 06:42:28 2006 +++ pear/MDB2/package_mysqli.php Sat Aug 19 06:42:40 2006 @@ -11,6 +11,14 @@ - 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() EOT; $package = new PEAR_PackageFileManager(); http://cvs.php.net/viewvc.cgi/pear/MDB2/package_oci8.php?r1=1.79&r2=1.80&diff_format=u Index: pear/MDB2/package_oci8.php diff -u pear/MDB2/package_oci8.php:1.79 pear/MDB2/package_oci8.php:1.80 --- pear/MDB2/package_oci8.php:1.79 Sat Aug 19 06:42:28 2006 +++ pear/MDB2/package_oci8.php Sat Aug 19 06:42:40 2006 @@ -5,6 +5,10 @@ $version = 'XXX'; $notes = <<<EOT - 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() 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.77&r2=1.78&diff_format=u Index: pear/MDB2/package_pgsql.php diff -u pear/MDB2/package_pgsql.php:1.77 pear/MDB2/package_pgsql.php:1.78 --- pear/MDB2/package_pgsql.php:1.77 Sat Aug 19 06:42:28 2006 +++ pear/MDB2/package_pgsql.php Sat Aug 19 06:42:40 2006 @@ -5,6 +5,9 @@ $version = 'XXX'; $notes = <<<EOT - 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() open todo items: - enable pg_execute() once issues with bytea column are resolved http://cvs.php.net/viewvc.cgi/pear/MDB2/package_querysim.php?r1=1.36&r2=1.37&diff_format=u Index: pear/MDB2/package_querysim.php diff -u pear/MDB2/package_querysim.php:1.36 pear/MDB2/package_querysim.php:1.37 --- pear/MDB2/package_querysim.php:1.36 Sun Jul 23 07:48:37 2006 +++ pear/MDB2/package_querysim.php Sat Aug 19 06:42:40 2006 @@ -4,7 +4,7 @@ $version = 'XXX'; $notes = <<<EOT - +- fixed handling return values when disable_query is set in _doQuery() and _execute() 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.64&r2=1.65&diff_format=u Index: pear/MDB2/package_sqlite.php diff -u pear/MDB2/package_sqlite.php:1.64 pear/MDB2/package_sqlite.php:1.65 --- pear/MDB2/package_sqlite.php:1.64 Sat Aug 19 06:42:28 2006 +++ pear/MDB2/package_sqlite.php Sat Aug 19 06:42:40 2006 @@ -9,6 +9,13 @@ - added support for NULL columns in getTableFieldDefinition() - added full support for alterTable() via emulation - added support for primary key creation and dropping +- do not list empty contraints and indexes +- use information_schema in listTableFields() instead of selecting from the + table since that does not work if the table is empty +- fixed handling of contraints in _getTableColumns() +- fixed primary key handling in alterTable(), createConstraint() and dropConstraint() +- 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() note: - this driver only supports SQLite version 2.x databases
« previous php.pear.cvs (#41734) next »