cvs: pear /MDB2 package_ibase.php /MDB2/MDB2/Driver/Datatype ibase.php
| From: | Lorenzo Alberton | Date: | Thu, 15 Jun 2006 08:06:09 +0000 |
| Subject: | cvs: pear /MDB2 package_ibase.php /MDB2/MDB2/Driver/Datatype ibase.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-40705@lists.php.net to get a copy of this message | ||
quipo Thu Jun 15 08:06:09 2006 UTC
Modified files:
/pear/MDB2/MDB2/Driver/Datatype ibase.php
/pear/MDB2 package_ibase.php
Log:
fixed control flow in MDB2_Driver_Datatype_ibase::mapNativeDatatype() for 'numeric' or
'decimal' types
http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/Datatype/ibase.php?r1=1.74&r2=1.75&diff_format=u
Index: pear/MDB2/MDB2/Driver/Datatype/ibase.php
diff -u pear/MDB2/MDB2/Driver/Datatype/ibase.php:1.74 pear/MDB2/MDB2/Driver/Datatype/ibase.php:1.75
--- pear/MDB2/MDB2/Driver/Datatype/ibase.php:1.74 Wed May 31 14:38:06 2006
+++ pear/MDB2/MDB2/Driver/Datatype/ibase.php Thu Jun 15 08:06:09 2006
@@ -44,7 +44,7 @@
// | Lorenzo Alberton <l.alberton@quipo.it> |
// +----------------------------------------------------------------------+
//
-// $Id: ibase.php,v 1.74 2006/05/31 14:38:06 lsmith Exp $
+// $Id: ibase.php,v 1.75 2006/06/15 08:06:09 quipo Exp $
require_once 'MDB2/Driver/Datatype/Common.php';
@@ -297,8 +297,8 @@
case 'int64':
//these may be 'numeric' or 'decimal'
if (isset($field['field_sub_type'])) {
- $db_type = $field['field_sub_type'];
- continue;
+ $field['type'] = $field['field_sub_type'];
+ return $this->mapNativeDatatype($field);
}
case 'bigint':
case 'quad':
http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_ibase.php?r1=1.73&r2=1.74&diff_format=u
Index: pear/MDB2/package_ibase.php
diff -u pear/MDB2/package_ibase.php:1.73 pear/MDB2/package_ibase.php:1.74
--- pear/MDB2/package_ibase.php:1.73 Thu Jun 15 07:28:57 2006
+++ pear/MDB2/package_ibase.php Thu Jun 15 08:06:09 2006
@@ -16,6 +16,8 @@
- 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)
+- fixed control flow in MDB2_Driver_Datatype_ibase::mapNativeDatatype()
+ for 'numeric' or 'decimal' types
EOT;
$package = new PEAR_PackageFileManager();