diff options
author | SVN Migration <svn@php.net> | 2007-11-09 03:51:13 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2007-11-09 03:51:13 +0000 |
commit | 1a1c34a111511756de9f4afb4fe59ca6129bdf9b (patch) | |
tree | 9f3f0e9c3d5656a2f6403f40a0a6926da5a6aa49 | |
parent | af81b9d973a323103e3eb8ecebcf67d2df71d2ca (diff) | |
download | php-git-php-5.2.5.tar.gz |
This commit was manufactured by cvs2svn to create tag 'php_5_2_5'.php-5.2.5
-rwxr-xr-x | ext/pdo_oci/oci_driver.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |