]> granicus.if.org Git - php/commitdiff
MFB: Fix OCIPing 10.2 macro
authorChristopher Jones <sixd@php.net>
Mon, 7 Apr 2008 22:33:31 +0000 (22:33 +0000)
committerChristopher Jones <sixd@php.net>
Mon, 7 Apr 2008 22:33:31 +0000 (22:33 +0000)
ext/oci8/oci8.c

index 67ab961e38f784d49b611c189e49e09163211538..456fa795f211528a176a0a4b4a201688200347af 100644 (file)
@@ -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];