From: Antony Dovgal Date: Wed, 3 Jan 2007 20:45:17 +0000 (+0000) Subject: use constant X-Git-Tag: RELEASE_1_0_0RC1~412 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a323972c87e4daafc9721a6aa865c0450be45dfa;p=php use constant --- diff --git a/ext/oci8/oci8_interface.c b/ext/oci8/oci8_interface.c index 14c004c248..3753b2301d 100644 --- a/ext/oci8/oci8_interface.c +++ b/ext/oci8/oci8_interface.c @@ -1599,7 +1599,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;