cvs: pear /DB/DB sybase.php

From: Date: Mon, 09 Jun 2003 16:52:40 +0000
Subject: cvs: pear /DB/DB sybase.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-10811@lists.php.net to get a copy of this message
mj Mon Jun 9 12:52:40 2003 EDT Modified files: /pear/DB/DB sybase.php Log: * The first argument of raiseError is the error code, while the last argument is the error message. # Patch by: Roman Neuhauser Index: pear/DB/DB/sybase.php diff -u pear/DB/DB/sybase.php:1.7 pear/DB/DB/sybase.php:1.8 --- pear/DB/DB/sybase.php:1.7 Wed May 7 12:58:28 2003 +++ pear/DB/DB/sybase.php Mon Jun 9 12:52:40 2003 @@ -17,7 +17,7 @@ // | Antônio Carlos Venâncio Júnior <floripa@php.net> | // +----------------------------------------------------------------------+ // -// $Id: sybase.php,v 1.7 2003/05/07 16:58:28 mj Exp $ +// $Id: sybase.php,v 1.8 2003/06/09 16:52:40 mj Exp $ // // Database independent query interface definition for PHP's Sybase // extension. @@ -183,7 +183,7 @@ { $native = $this->errorNative(); $error = $this->errorCode($native); - return $this->raiseError($error['message'], null, null, $error['userinfo'], $error['code']); + return $this->raiseError($error['code'], null, null, $error['userinfo'], $error['message']); } // }}} // {{{ simpleQuery()

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