Fix Bug #47588 - Allow Quoted Identifiers

This commit is contained in:
Stanley Sufficool 2010-06-23 01:29:01 +00:00
parent 09943e56cd
commit 1b2ec793f9

View File

@ -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 */ /* dblib do not return more than this length from text/image */
DBSETOPT(H->link, DBTEXTLIMIT, "2147483647"); DBSETOPT(H->link, DBTEXTLIMIT, "2147483647");
/* limit text/image from network */ /* limit text/image from network */
DBSETOPT(H->link, DBTEXTSIZE, "2147483647"); 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)) { if (vars[3].optval && FAIL == dbuse(H->link, vars[3].optval)) {
goto cleanup; goto cleanup;
} }