summaryrefslogtreecommitdiff
path: root/ext/pdo_firebird/firebird_driver.c
diff options
context:
space:
mode:
authorPopa Adrian Marius <mapopa@reea.net>2014-04-28 12:12:52 +0300
committerPopa Adrian Marius <mapopa@reea.net>2014-04-28 12:12:52 +0300
commitdbcd6304bb2dc5bdab4d25c7fac8e578354ed2d9 (patch)
tree76c117e1aae8258672857c2dcc0d28dde7996c17 /ext/pdo_firebird/firebird_driver.c
parent4b48b299885bf0e2f2c72902b072c28f255e8f68 (diff)
downloadphp-git-dbcd6304bb2dc5bdab4d25c7fac8e578354ed2d9.tar.gz
Cleanup ZEND_MODULE_API_NO => 20050922
Diffstat (limited to 'ext/pdo_firebird/firebird_driver.c')
-rw-r--r--ext/pdo_firebird/firebird_driver.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/pdo_firebird/firebird_driver.c b/ext/pdo_firebird/firebird_driver.c
index a86ae424f4..73a6265a2c 100644
--- a/ext/pdo_firebird/firebird_driver.c
+++ b/ext/pdo_firebird/firebird_driver.c
@@ -569,7 +569,7 @@ static int firebird_handle_get_attribute(pdo_dbh_t *dbh, long attr, zval *val TS
#else
HMODULE l = GetModuleHandle("fbclient");
- if (!l && !(l = GetModuleHandle("gds32"))) {
+ if (!l) {
break;
}
info_func = (info_func_t)GetProcAddress(l, "isc_get_client_version");
@@ -577,9 +577,7 @@ static int firebird_handle_get_attribute(pdo_dbh_t *dbh, long attr, zval *val TS
if (info_func) {
info_func(tmp);
ZVAL_STRING(val,tmp,1);
- } else {
- ZVAL_STRING(val,"Firebird 1.0/Interbase 6",1);
- }
+ }
#else
ZVAL_NULL(val);
#endif