summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-01-03 20:45:17 +0000
committerAntony Dovgal <tony2001@php.net>2007-01-03 20:45:17 +0000
commita323972c87e4daafc9721a6aa865c0450be45dfa (patch)
tree62f6e6b1d55cb0c5251076ab0f320cf9d94335ed
parent5861f56deabd5af3ae0580994d2d45faa94f2d57 (diff)
downloadphp-git-a323972c87e4daafc9721a6aa865c0450be45dfa.tar.gz
use constant
-rw-r--r--ext/oci8/oci8_interface.c2
1 files changed, 1 insertions, 1 deletions
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;