From: Christopher Jones Date: Mon, 7 Apr 2008 21:55:43 +0000 (+0000) Subject: Fix OCIPing 10.2 macro X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~419 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9389c68310be561487e9d625600695a7d92c1be2;p=php Fix OCIPing 10.2 macro --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index d9b551194f..171e70c3a8 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -1438,7 +1438,7 @@ static int php_oci_connection_ping(php_oci_connection *connection TSRMLS_DC) * successfully performed a roundtrip and validated the * connection. Use OCIServerVersion for Pre-10.2 clients */ -#if ( (OCI_MAJOR_VERSION > 10) || ((OCI_MAJOR_VERSION == 10) && (OCI_MINOR_VERSION > 2)) ) /* OCIPing available 10.2 onwards */ +#if ( (OCI_MAJOR_VERSION > 10) || ((OCI_MAJOR_VERSION == 10) && (OCI_MINOR_VERSION >= 2)) ) /* OCIPing available 10.2 onwards */ PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIPing, (connection->svc, OCI_G(err), OCI_DEFAULT)); #else char version[256];