cvs: pear /MDB/MDB/Modules/Manager mysql.php

From: Date: Sat, 01 Feb 2003 17:36:16 +0000
Subject: cvs: pear /MDB/MDB/Modules/Manager mysql.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-8640@lists.php.net to get a copy of this message
lsmith Sat Feb 1 12:36:16 2003 EDT Modified files: /pear/MDB/MDB/Modules/Manager mysql.php Log: fixed incorrect error handling Index: pear/MDB/MDB/Modules/Manager/mysql.php diff -u pear/MDB/MDB/Modules/Manager/mysql.php:1.41 pear/MDB/MDB/Modules/Manager/mysql.php:1.42 --- pear/MDB/MDB/Modules/Manager/mysql.php:1.41 Sun Jan 19 06:12:44 2003 +++ pear/MDB/MDB/Modules/Manager/mysql.php Sat Feb 1 12:36:16 2003 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@backendmedia.com> | // +----------------------------------------------------------------------+ // -// $Id: mysql.php,v 1.41 2003/01/19 11:12:44 lsmith Exp $ +// $Id: mysql.php,v 1.42 2003/02/01 17:36:16 lsmith Exp $ // if(!defined('MDB_MANAGER_MYSQL_INCLUDED')) @@ -100,8 +100,8 @@ 'Verify transactional table', $table_type.' is not a supported table type')); } - if(!$db->connect()) { - return($db->raiseError()); + if(MDB::isError($connect = $db->connect())) { + return($connect); } if(isset($this->verified_table_types[$table_type]) && $this->verified_table_types[$table_type] == $db->connection)

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