summaryrefslogtreecommitdiff
path: root/ext/pdo_firebird/firebird_driver.c
diff options
context:
space:
mode:
authorPopa Adrian Marius <mapopa@reea.net>2014-04-28 12:13:11 +0300
committerPopa Adrian Marius <mapopa@reea.net>2014-04-28 12:13:11 +0300
commitbb422cb60e69794b3ea9d7d47fcc8a976a385608 (patch)
tree6aaad65d2399d8a5515e24351478cb154992d3f3 /ext/pdo_firebird/firebird_driver.c
parentd3dcd616231e6eda97a7b474bbd585a7f61f0b71 (diff)
parentdbcd6304bb2dc5bdab4d25c7fac8e578354ed2d9 (diff)
downloadphp-git-bb422cb60e69794b3ea9d7d47fcc8a976a385608.tar.gz
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3: 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 2053a07005..1327861fe9 100644
--- a/ext/pdo_firebird/firebird_driver.c
+++ b/ext/pdo_firebird/firebird_driver.c
@@ -567,7 +567,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");
@@ -575,9 +575,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