]> granicus.if.org Git - php/commitdiff
Actually fix quoted identifiers this time
authorStanley Sufficool <ssufficool@php.net>
Thu, 24 Jun 2010 03:40:45 +0000 (03:40 +0000)
committerStanley Sufficool <ssufficool@php.net>
Thu, 24 Jun 2010 03:40:45 +0000 (03:40 +0000)
ext/pdo_dblib/dblib_driver.c

index 5bfeadee414916cefa3b2ec80ac29dd359700cc9..9fcbcd07f5594a2f797320c1d678a2b7d3db0119 100644 (file)
@@ -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, NULL);
+       DBSETOPT(H->link, DBQUOTEDIDENT, 1);
 
        if (vars[3].optval && FAIL == dbuse(H->link, vars[3].optval)) {
                goto cleanup;