From: Antony Dovgal Date: Wed, 3 Jan 2007 20:45:22 +0000 (+0000) Subject: MFH X-Git-Tag: php-5.2.1RC2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7cf0e005faf42c892576239df4fff1808d682088;p=php MFH --- diff --git a/ext/oci8/oci8_interface.c b/ext/oci8/oci8_interface.c index 885cb09751..2d2adaea09 100644 --- a/ext/oci8/oci8_interface.c +++ b/ext/oci8/oci8_interface.c @@ -1560,7 +1560,7 @@ PHP_FUNCTION(oci_error) php_oci_connection *connection; text *errbuf; sb4 errcode = 0; - sword error = 0; + sword error = OCI_SUCCESS; dvoid *errh = NULL; #ifdef HAVE_OCI8_ATTR_STATEMENT ub2 error_offset = 0;