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

From: Date: Sat, 01 Feb 2003 17:36:05 +0000
Subject: cvs: pear /MDB/MDB/Modules/Manager fbsql.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-8639@lists.php.net to get a copy of this message
lsmith Sat Feb 1 12:36:05 2003 EDT Modified files: /pear/MDB/MDB/Modules/Manager fbsql.php Log: fixed incorrect error handling Index: pear/MDB/MDB/Modules/Manager/fbsql.php diff -u pear/MDB/MDB/Modules/Manager/fbsql.php:1.2 pear/MDB/MDB/Modules/Manager/fbsql.php:1.3 --- pear/MDB/MDB/Modules/Manager/fbsql.php:1.2 Sun Jan 19 06:12:44 2003 +++ pear/MDB/MDB/Modules/Manager/fbsql.php Sat Feb 1 12:36:05 2003 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@dybnet.de> | // +----------------------------------------------------------------------+ // -// $Id: fbsql.php,v 1.2 2003/01/19 11:12:44 lsmith Exp $ +// $Id: fbsql.php,v 1.3 2003/02/01 17:36:05 lsmith Exp $ // if(!defined('MDB_MANAGER_FBSQL_INCLUDED')) @@ -101,8 +101,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 (#8639) next »