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

index 885cb0975189d6148ac3d7dc79b032bcbf3ae6aa..2d2adaea09bb0000cc10a4ee2ade8123f512c20a 100644 (file)
@@ -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;