diff options
author | Xinchen Hui <laruence@php.net> | 2012-10-12 10:37:05 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2012-10-12 10:37:05 +0800 |
commit | 0c0b5a3543f37dc3dfe7fa55629f2749c0b05294 (patch) | |
tree | 37821fcbc0e5bac19aede9ef64d6608da91688c0 /ext/pdo_dblib/dblib_driver.c | |
parent | 07ea38b443bad0fc569047a288c6b1c081c7157f (diff) | |
download | php-git-0c0b5a3543f37dc3dfe7fa55629f2749c0b05294.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
Diffstat (limited to 'ext/pdo_dblib/dblib_driver.c')
-rw-r--r-- | ext/pdo_dblib/dblib_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_dblib/dblib_driver.c b/ext/pdo_dblib/dblib_driver.c index 77832f9520..baf1dcc670 100644 --- a/ext/pdo_dblib/dblib_driver.c +++ b/ext/pdo_dblib/dblib_driver.c @@ -315,7 +315,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); if (vars[3].optval && FAIL == dbuse(H->link, vars[3].optval)) { goto cleanup; |