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

index d9b551194fa547a79f3ae5e7be5b4a637ed7a071..171e70c3a871f6feb3b174da124d8cf6e533aba0 100644 (file)
@@ -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];