cvs: pear /DB/tests errors.inc

From: Date: Tue, 22 Feb 2005 15:50:24 +0000
Subject: cvs: pear /DB/tests errors.inc
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-29672@lists.php.net to get a copy of this message
danielc Tue Feb 22 10:50:24 2005 EDT Modified files: /pear/DB/tests errors.inc Log: * fbsql doesn't consider creating duplicate index an error. http://cvs.php.net/diff.php/pear/DB/tests/errors.inc?r1=1.31&r2=1.32&ty=u Index: pear/DB/tests/errors.inc diff -u pear/DB/tests/errors.inc:1.31 pear/DB/tests/errors.inc:1.32 --- pear/DB/tests/errors.inc:1.31 Mon Feb 21 11:23:07 2005 +++ pear/DB/tests/errors.inc Tue Feb 22 10:50:23 2005 @@ -18,7 +18,7 @@ * @author Daniel Convissor <danielc@php.net> * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version $Id: errors.inc,v 1.31 2005/02/21 16:23:07 danielc Exp $ + * @version $Id: errors.inc,v 1.32 2005/02/22 15:50:23 danielc Exp $ * @link http://pear.php.net/package/DB */ @@ -125,7 +125,7 @@ switch ($dbh->phptype) { case 'fbsql': // FrontBase doesn't assign a specific code for this yet. - check_error($res, DB_ERROR); + check_error($res, DB_ERROR_ALREADY_EXISTS, false); break; default: check_error($res, DB_ERROR_ALREADY_EXISTS);

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