cvs: pear /DB/DB oci8.php
| From: | Daniel Convissor | Date: | Thu, 29 Apr 2004 22:56:51 +0000 |
| Subject: | cvs: pear /DB/DB oci8.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-18994@lists.php.net to get a copy of this message | ||
danielc Thu Apr 29 18:56:51 2004 EDT
Modified files:
/pear/DB/DB oci8.php
Log:
Add ORA-02292 (can't delete/add due to foreign key constraint) to errorcode_map.
http://cvs.php.net/diff.php/pear/DB/DB/oci8.php?r1=1.65&r2=1.66&ty=u
Index: pear/DB/DB/oci8.php
diff -u pear/DB/DB/oci8.php:1.65 pear/DB/DB/oci8.php:1.66
--- pear/DB/DB/oci8.php:1.65 Thu Apr 29 00:18:17 2004
+++ pear/DB/DB/oci8.php Thu Apr 29 18:56:51 2004
@@ -17,7 +17,7 @@
// | Maintainer: Daniel Convissor <danielc@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: oci8.php,v 1.65 2004/04/29 04:18:17 danielc Exp $
+// $Id: oci8.php,v 1.66 2004/04/29 22:56:51 danielc Exp $
// be aware... OCIError() only appears to return anything when given a
@@ -34,7 +34,7 @@
* Definitely works with versions 8 and 9 of Oracle.
*
* @package DB
- * @version $Id: oci8.php,v 1.65 2004/04/29 04:18:17 danielc Exp $
+ * @version $Id: oci8.php,v 1.66 2004/04/29 22:56:51 danielc Exp $
* @category Database
* @author James L. Pine <jlp@valinux.com>
*/
@@ -90,6 +90,7 @@
1722 => DB_ERROR_INVALID_NUMBER,
2289 => DB_ERROR_NOSUCHTABLE,
2291 => DB_ERROR_CONSTRAINT,
+ 2292 => DB_ERROR_CONSTRAINT,
2449 => DB_ERROR_CONSTRAINT,
);
}