]> granicus.if.org Git - php/commitdiff
use constant
authorAntony Dovgal <tony2001@php.net>
Wed, 3 Jan 2007 20:45:17 +0000 (20:45 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 3 Jan 2007 20:45:17 +0000 (20:45 +0000)
ext/oci8/oci8_interface.c

index 14c004c2482f0822b5498cd610ed92c46e73b120..3753b2301d421ce6269db4775e723c6cd3111871 100644 (file)
@@ -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;