cvs: pear /DB/DB ifx.php
| From: | Daniel Convissor | Date: | Mon, 07 Feb 2005 15:30:01 +0000 |
| Subject: | cvs: pear /DB/DB ifx.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-29175@lists.php.net to get a copy of this message | ||
danielc Mon Feb 7 10:30:01 2005 EDT
Modified files:
/pear/DB/DB ifx.php
Log:
* Add items to error map:
+ drop non-existant index
+ create duplicate index
+ insert column count doesn't match value count
+ delete record with foreign key constraint
http://cvs.php.net/diff.php/pear/DB/DB/ifx.php?r1=1.61&r2=1.62&ty=u
Index: pear/DB/DB/ifx.php
diff -u pear/DB/DB/ifx.php:1.61 pear/DB/DB/ifx.php:1.62
--- pear/DB/DB/ifx.php:1.61 Fri Feb 4 14:13:31 2005
+++ pear/DB/DB/ifx.php Mon Feb 7 10:30:00 2005
@@ -20,7 +20,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 CVS: $Id: ifx.php,v 1.61 2005/02/04 19:13:31 danielc Exp $
+ * @version CVS: $Id: ifx.php,v 1.62 2005/02/07 15:30:00 danielc Exp $
* @link http://pear.php.net/package/DB
*/
@@ -98,16 +98,20 @@
'-201' => DB_ERROR_SYNTAX,
'-206' => DB_ERROR_NOSUCHTABLE,
'-217' => DB_ERROR_NOSUCHFIELD,
+ '-236' => DB_ERROR_VALUE_COUNT_ON_ROW,
'-239' => DB_ERROR_CONSTRAINT,
'-253' => DB_ERROR_SYNTAX,
'-292' => DB_ERROR_CONSTRAINT_NOT_NULL,
'-310' => DB_ERROR_ALREADY_EXISTS,
+ '-316' => DB_ERROR_ALREADY_EXISTS,
+ '-319' => DB_ERROR_NOT_FOUND,
'-329' => DB_ERROR_NODBSELECTED,
'-346' => DB_ERROR_CONSTRAINT,
'-386' => DB_ERROR_CONSTRAINT_NOT_NULL,
'-391' => DB_ERROR_CONSTRAINT_NOT_NULL,
'-554' => DB_ERROR_SYNTAX,
'-691' => DB_ERROR_CONSTRAINT,
+ '-692' => DB_ERROR_CONSTRAINT,
'-703' => DB_ERROR_CONSTRAINT_NOT_NULL,
'-1204' => DB_ERROR_INVALID_DATE,
'-1205' => DB_ERROR_INVALID_DATE,