DB - oci8 new code for errrocode_map
| From: | Michael Bretterklieber | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | DB - oci8 new code for errrocode_map | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-25230@lists.php.net to get a copy of this message | ||
Hi,
It would be great having ORA-00001 in the errorcode_map:
--- oci8.php.orig 2004-01-23 10:57:36.885561600 +0100
+++ oci8.php 2004-01-23 10:58:29.721536000 +0100
@@ -57,6 +57,7 @@
'limit' => 'alter'
);
$this->errorcode_map = array(
+ 1 => DB_ERROR_ALREADY_EXISTS,
900 => DB_ERROR_SYNTAX,
904 => DB_ERROR_NOSUCHFIELD,
923 => DB_ERROR_SYNTAX,
would it be possible commiting this?
thanx,
bye,
--
------------------------------- ----------------------------------
Michael Bretterklieber - http://www.bretterklieber.com
A-Quadrat Automation GmbH - http://www.a-quadrat.at
Tel: ++43-(0)3172-41679 - GSM: ++43-(0)699 12861847
------------------------------- ----------------------------------
"...the number of UNIX installations has grown to 10, with more
expected..." - Dennis Ritchie and Ken Thompson, June 1972