cvs: pear /MDB/tests clitest.php

From: Date: Sun, 01 Jun 2003 14:27:40 +0000
Subject: cvs: pear /MDB/tests clitest.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-10644@lists.php.net to get a copy of this message
lsmith Sun Jun 1 10:27:40 2003 EDT Modified files: /pear/MDB/tests clitest.php Log: fixed major bug with incorrectly settng the database name which causes the manager tests to fail Index: pear/MDB/tests/clitest.php diff -u pear/MDB/tests/clitest.php:1.6 pear/MDB/tests/clitest.php:1.7 --- pear/MDB/tests/clitest.php:1.6 Mon Feb 3 10:58:30 2003 +++ pear/MDB/tests/clitest.php Sun Jun 1 10:27:40 2003 @@ -103,10 +103,6 @@ foreach ($dbarray as $db) { $dsn = $db['dsn']; - // if the database name isn't set in the dsn use the default - if (empty($dsn['database'])) { - $dsn['database'] = $database; - } $options = $db['options']; $display_dsn = $dsn['phptype'] . "://" . $dsn['username'] . ":" . $dsn['password'] . "@" . $dsn['hostspec'] . "/" . $dsn['database'];

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