diff options
author | Stanley Sufficool <ssufficool@php.net> | 2010-06-23 01:29:01 +0000 |
---|---|---|
committer | Stanley Sufficool <ssufficool@php.net> | 2010-06-23 01:29:01 +0000 |
commit | 1b2ec793f980a269d4160c079532505540c5cb5e (patch) | |
tree | 30b996b9e3ce30b6a28574bf647067e76868ed68 /ext/pdo_dblib/dblib_driver.c | |
parent | 09943e56cde0a11944e899c26a7d12d649f23b90 (diff) | |
download | php-git-1b2ec793f980a269d4160c079532505540c5cb5e.tar.gz |
Fix Bug #47588 - Allow Quoted Identifiers
Diffstat (limited to 'ext/pdo_dblib/dblib_driver.c')
-rw-r--r-- | ext/pdo_dblib/dblib_driver.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/pdo_dblib/dblib_driver.c b/ext/pdo_dblib/dblib_driver.c index 05319cc02c..5bfeadee41 100644 --- a/ext/pdo_dblib/dblib_driver.c +++ b/ext/pdo_dblib/dblib_driver.c @@ -310,10 +310,13 @@ static int pdo_dblib_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_ /* dblib do not return more than this length from text/image */ DBSETOPT(H->link, DBTEXTLIMIT, "2147483647"); - + /* limit text/image from network */ DBSETOPT(H->link, DBTEXTSIZE, "2147483647"); + /* allow double quoted indentifiers */ + DBSETOPT(H->link, DBQUOTEDIDENT, NULL); + if (vars[3].optval && FAIL == dbuse(H->link, vars[3].optval)) { goto cleanup; } |