cvs: pear /MDB2/MDB2/Driver/Reverse oci8.php

From: Date: Tue, 21 Mar 2006 15:51:25 +0000
Subject: cvs: pear /MDB2/MDB2/Driver/Reverse oci8.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-39221@lists.php.net to get a copy of this message
lsmith Tue Mar 21 15:51:25 2006 UTC Modified files: /pear/MDB2/MDB2/Driver/Reverse oci8.php Log: - use mapNativeDatatype() http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/Reverse/oci8.php?r1=1.21&r2=1.22&diff_format=u Index: pear/MDB2/MDB2/Driver/Reverse/oci8.php diff -u pear/MDB2/MDB2/Driver/Reverse/oci8.php:1.21 pear/MDB2/MDB2/Driver/Reverse/oci8.php:1.22 --- pear/MDB2/MDB2/Driver/Reverse/oci8.php:1.21 Wed Mar 1 12:15:33 2006 +++ pear/MDB2/MDB2/Driver/Reverse/oci8.php Tue Mar 21 15:51:25 2006 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: oci8.php,v 1.21 2006/03/01 12:15:33 lsmith Exp $ +// $Id: oci8.php,v 1.22 2006/03/21 15:51:25 lsmith Exp $ // require_once 'MDB2/Driver/Reverse/Common.php'; @@ -374,8 +374,7 @@ 'length' => @OCIResult($stmt, 3), 'flags' => (@OCIResult($stmt, 4) == 'N') ? 'not_null' : '', ); - // todo: implement $db->datatype->mapNativeDatatype(); - $res[$i]['mdb2type'] = $res[$i]['type']; + $res[$i]['mdb2type'] = $db->datatype->mapNativeDatatype($res[$i]); if ($mode & MDB2_TABLEINFO_ORDER) { $res['order'][$res[$i]['name']] = $i; }

« previous php.pear.cvs (#39221) next »