cvs: pear /MDB2/MDB2/Driver ibase.php

From: Date: Sat, 14 Oct 2006 10:27:41 +0000
Subject: cvs: pear /MDB2/MDB2/Driver ibase.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-42541@lists.php.net to get a copy of this message
quipo Sat Oct 14 10:27:41 2006 UTC Modified files: /pear/MDB2/MDB2/Driver ibase.php Log: typos (bug #9024) http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Driver/ibase.php?r1=1.189&r2=1.190&diff_format=u Index: pear/MDB2/MDB2/Driver/ibase.php diff -u pear/MDB2/MDB2/Driver/ibase.php:1.189 pear/MDB2/MDB2/Driver/ibase.php:1.190 --- pear/MDB2/MDB2/Driver/ibase.php:1.189 Tue Sep 26 15:46:15 2006 +++ pear/MDB2/MDB2/Driver/ibase.php Sat Oct 14 10:27:41 2006 @@ -43,7 +43,7 @@ // | Author: Lorenzo Alberton <l.alberton@quipo.it> | // +----------------------------------------------------------------------+ // -// $Id: ibase.php,v 1.189 2006/09/26 15:46:15 lsmith Exp $ +// $Id: ibase.php,v 1.190 2006/10/14 10:27:41 quipo Exp $ /** * MDB2 FireBird/InterBase driver @@ -485,7 +485,6 @@ $params[] = isset($this->dsn['role']) ? $this->dsn['role'] : null; $connect_function = $persistent ? 'ibase_pconnect' : 'ibase_connect'; - $connection = @call_user_func_array($connect_function, $params); if ($connection <= 0) { return $this->raiseError(MDB2_ERROR_CONNECT_FAILED, null, null, @@ -944,7 +943,7 @@ $query = 'SELECT GEN_ID('.$sequence_name.', 0) as the_value FROM RDB$DATABASE'; $value = $this->queryOne($query); if (PEAR::isError($value)) { - return $this->raiseError($result, null, null, + return $this->raiseError($value, null, null, 'Unable to select from ' . $seq_name, __FUNCTION__); } if (!is_numeric($value)) {

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