From 1b2ec793f980a269d4160c079532505540c5cb5e Mon Sep 17 00:00:00 2001 From: Stanley Sufficool Date: Wed, 23 Jun 2010 01:29:01 +0000 Subject: Fix Bug #47588 - Allow Quoted Identifiers --- ext/pdo_dblib/dblib_driver.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.1