summaryrefslogtreecommitdiff
path: root/ext/pdo_odbc/odbc_driver.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-08-12 11:00:06 +0400
committerDmitry Stogov <dmitry@zend.com>2014-08-12 11:00:06 +0400
commit8210b3b8c470ec91bee89bad4d34c482aab13406 (patch)
treeda8730737300ae36c541b678900d233582b2a2a9 /ext/pdo_odbc/odbc_driver.c
parentc4fc99ff82b740dcaa9d165fb2be6ed16cf1750a (diff)
downloadphp-git-8210b3b8c470ec91bee89bad4d34c482aab13406.tar.gz
ext/pdo_odbc support for phpng (tested with unixODBC and mysql driver)
Diffstat (limited to 'ext/pdo_odbc/odbc_driver.c')
-rw-r--r--ext/pdo_odbc/odbc_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_odbc/odbc_driver.c b/ext/pdo_odbc/odbc_driver.c
index d4bf234689..e620227a22 100644
--- a/ext/pdo_odbc/odbc_driver.c
+++ b/ext/pdo_odbc/odbc_driver.c
@@ -358,7 +358,7 @@ static int odbc_handle_get_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC)
pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data;
switch (attr) {
case PDO_ATTR_CLIENT_VERSION:
- ZVAL_STRING(val, "ODBC-" PDO_ODBC_TYPE, 1);
+ ZVAL_STRING(val, "ODBC-" PDO_ODBC_TYPE);
return 1;
case PDO_ATTR_SERVER_VERSION: