cvs: pear /MDB2 package_oci8.php /MDB2/MDB2/Driver/Manager oci8.php

From: Date: Thu, 01 Mar 2007 13:48:09 +0000
Subject: cvs: pear /MDB2 package_oci8.php /MDB2/MDB2/Driver/Manager oci8.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-44922@lists.php.net to get a copy of this message
quipo Thu Mar 1 13:48:09 2007 UTC Modified files: /pear/MDB2/MDB2/Driver/Manager oci8.php /pear/MDB2 package_oci8.php Log: fixed bug #10215: selected the wrong field in the query in listTableConstraints() in the Manager module http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Driver/Manager/oci8.php?r1=1.82&r2=1.83&diff_format=u Index: pear/MDB2/MDB2/Driver/Manager/oci8.php diff -u pear/MDB2/MDB2/Driver/Manager/oci8.php:1.82 pear/MDB2/MDB2/Driver/Manager/oci8.php:1.83 --- pear/MDB2/MDB2/Driver/Manager/oci8.php:1.82 Tue Dec 5 13:08:30 2006 +++ pear/MDB2/MDB2/Driver/Manager/oci8.php Thu Mar 1 13:48:09 2007 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ -// $Id: oci8.php,v 1.82 2006/12/05 13:08:30 quipo Exp $ +// $Id: oci8.php,v 1.83 2007/03/01 13:48:09 quipo Exp $ require_once 'MDB2/Driver/Manager/Common.php'; @@ -766,7 +766,7 @@ } $table = $db->quote($table, 'text'); - $query = 'SELECT index_name name FROM user_constraints'; + $query = 'SELECT constraint_name name FROM user_constraints'; $query.= ' WHERE table_name='.$table.' OR table_name='.strtoupper($table); $constraints = $db->queryCol($query); if (PEAR::isError($constraints)) { http://cvs.php.net/viewvc.cgi/pear/MDB2/package_oci8.php?r1=1.103&r2=1.104&diff_format=u Index: pear/MDB2/package_oci8.php diff -u pear/MDB2/package_oci8.php:1.103 pear/MDB2/package_oci8.php:1.104 --- pear/MDB2/package_oci8.php:1.103 Wed Feb 28 16:05:45 2007 +++ pear/MDB2/package_oci8.php Thu Mar 1 13:48:09 2007 @@ -19,6 +19,8 @@ - fixed bug #4854: Oracle Easy Connect syntax only works with array DSN - added a 'nativetype_map_callback' option to map native data declarations back to custom data types (thanks to Andrew Hill). +- fixed bug #10215: selected the wrong field in the query in listTableConstraints() + in the Manager module - phpdoc fixes note:

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