From ca31d5bc68cf23d5a18801d9eac9d9f32719410c Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Mon, 7 Apr 2008 22:33:31 +0000 Subject: [PATCH] MFB: Fix OCIPing 10.2 macro --- ext/oci8/oci8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.50.1