summaryrefslogtreecommitdiff
path: root/ext/pdo_dblib/dblib_driver.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2013-08-04 19:19:37 -0700
committerStanislav Malyshev <stas@php.net>2013-08-04 19:19:37 -0700
commitf20d28a6b1c53fce4d1171dd92ebe341547f1627 (patch)
tree5832ec10bdbcf99293a0c81a2fe19b4d7657b151 /ext/pdo_dblib/dblib_driver.c
parent1d6a136051051e4e25f89a280ca92fde2da04463 (diff)
downloadphp-git-f20d28a6b1c53fce4d1171dd92ebe341547f1627.tar.gz
Fixed bug #63258 (seg fault with PDO and dblib using DBSETOPT(H->link, DBQUOTEDIDENT, 1))
The exists test should has covered this bug Conflicts: ext/pdo_dblib/dblib_driver.c
Diffstat (limited to 'ext/pdo_dblib/dblib_driver.c')
-rw-r--r--ext/pdo_dblib/dblib_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_dblib/dblib_driver.c b/ext/pdo_dblib/dblib_driver.c
index ff42514721..b49ad2691f 100644
--- a/ext/pdo_dblib/dblib_driver.c
+++ b/ext/pdo_dblib/dblib_driver.c
@@ -369,7 +369,7 @@ static int pdo_dblib_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_
DBSETOPT(H->link, DBTEXTSIZE, "2147483647");
/* allow double quoted indentifiers */
- DBSETOPT(H->link, DBQUOTEDIDENT, "1");
+ DBSETOPT(H->link, DBQUOTEDIDENT, NULL);
ret = 1;
dbh->max_escaped_char_length = 2;