diff options
author | Matteo Beccati <mbeccati@php.net> | 2014-11-10 08:16:35 +0100 |
---|---|---|
committer | Matteo Beccati <mbeccati@php.net> | 2014-11-10 08:16:35 +0100 |
commit | 3e4b91ec7f1278eec16ebdde579b10dc4893f500 (patch) | |
tree | a9bf209030b078a83436c2e52343ec7e02a46fc8 /ext/pdo_mysql/mysql_driver.c | |
parent | 722dd4637b20cbf40b22ac77b054abb47a1d1e9a (diff) | |
download | php-git-3e4b91ec7f1278eec16ebdde579b10dc4893f500.tar.gz |
Fixed bug #68371 PDO#getAttribute() cannot be called with platform-specific attribute names
Diffstat (limited to 'ext/pdo_mysql/mysql_driver.c')
-rw-r--r-- | ext/pdo_mysql/mysql_driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c index 825fe2647f..f4b4e47d25 100644 --- a/ext/pdo_mysql/mysql_driver.c +++ b/ext/pdo_mysql/mysql_driver.c @@ -458,6 +458,7 @@ static int pdo_mysql_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_value ZVAL_LONG(return_value, H->buffered); break; + case PDO_ATTR_EMULATE_PREPARES: case PDO_MYSQL_ATTR_DIRECT_QUERY: ZVAL_LONG(return_value, H->emulate_prepare); break; |