From a323972c87e4daafc9721a6aa865c0450be45dfa Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Wed, 3 Jan 2007 20:45:17 +0000 Subject: [PATCH] use constant --- ext/oci8/oci8_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1