From: Christopher Jones Date: Mon, 7 Apr 2008 22:33:31 +0000 (+0000) Subject: MFB: Fix OCIPing 10.2 macro X-Git-Tag: RELEASE_2_0_0b1~489 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca31d5bc68cf23d5a18801d9eac9d9f32719410c;p=php MFB: Fix OCIPing 10.2 macro --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 67ab961e38..456fa795f2 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -1436,7 +1436,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];