From 1a1c34a111511756de9f4afb4fe59ca6129bdf9b Mon Sep 17 00:00:00 2001 From: SVN Migration Date: Fri, 9 Nov 2007 03:51:13 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'php_5_2_5'. --- ext/pdo_oci/oci_driver.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/pdo_oci/oci_driver.c b/ext/pdo_oci/oci_driver.c index 379ab03d1a..ca44282e54 100755 --- a/ext/pdo_oci/oci_driver.c +++ b/ext/pdo_oci/oci_driver.c @@ -494,9 +494,12 @@ static int oci_handle_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_valu OCIClientVersion(&major, &minor, &update, &patch, &port_update); slprintf(verstr, sizeof(verstr), "%d.%d.%d.%d.%d", major, minor, update, patch, port_update); ZVAL_STRING(return_value, verstr, 1); -#else +#elif PHP_PDO_OCI_CLIENT_VERSION /* Compile time client version */ ZVAL_STRING(return_value, PHP_PDO_OCI_CLIENT_VERSION, 1); +#else + return FALSE; + #endif /* Check for OCIClientVersion() support */ return TRUE; -- cgit v1.2.1