]> granicus.if.org Git - php/commitdiff
Fix Bug #47588 - Allow Quoted Identifiers
authorStanley Sufficool <ssufficool@php.net>
Wed, 23 Jun 2010 01:29:01 +0000 (01:29 +0000)
committerStanley Sufficool <ssufficool@php.net>
Wed, 23 Jun 2010 01:29:01 +0000 (01:29 +0000)
ext/pdo_dblib/dblib_driver.c

index 05319cc02c2cfcc96ace3a2d22af082164edb12c..5bfeadee414916cefa3b2ec80ac29dd359700cc9 100644 (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 */
        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;
        }