cvs: pear /DB/DB oci8.php
| From: | Daniel Convissor | Date: | Thu, 19 Feb 2004 07:28:34 +0000 |
| Subject: | cvs: pear /DB/DB oci8.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-16662@lists.php.net to get a copy of this message | ||
danielc Thu Feb 19 02:28:34 2004 EDT
Modified files:
/pear/DB/DB oci8.php
Log:
Add mapping for 1407 (not-null constraint when updating).
http://cvs.php.net/diff.php/pear/DB/DB/oci8.php?r1=1.59&r2=1.60&ty=u
Index: pear/DB/DB/oci8.php
diff -u pear/DB/DB/oci8.php:1.59 pear/DB/DB/oci8.php:1.60
--- pear/DB/DB/oci8.php:1.59 Wed Feb 18 16:33:28 2004
+++ pear/DB/DB/oci8.php Thu Feb 19 02:28:34 2004
@@ -17,7 +17,7 @@
// | Maintainer: Daniel Convissor <danielc@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: oci8.php,v 1.59 2004/02/18 21:33:28 danielc Exp $
+// $Id: oci8.php,v 1.60 2004/02/19 07:28:34 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.59 2004/02/18 21:33:28 danielc Exp $
+ * @version $Id: oci8.php,v 1.60 2004/02/19 07:28:34 danielc Exp $
* @category Database
* @author James L. Pine <jlp@valinux.com>
*/
@@ -72,6 +72,7 @@
942 => DB_ERROR_NOSUCHTABLE,
955 => DB_ERROR_ALREADY_EXISTS,
1400 => DB_ERROR_CONSTRAINT_NOT_NULL,
+ 1407 => DB_ERROR_CONSTRAINT_NOT_NULL,
1476 => DB_ERROR_DIVZERO,
1722 => DB_ERROR_INVALID_NUMBER,
2289 => DB_ERROR_NOSUCHTABLE,