]> granicus.if.org Git - php/commitdiff
Fixed bug #63258 (seg fault with PDO and dblib using DBSETOPT(H->link, DBQUOTEDIDENT...
authorStanislav Malyshev <stas@php.net>
Mon, 5 Aug 2013 02:19:37 +0000 (19:19 -0700)
committerStanislav Malyshev <stas@php.net>
Mon, 5 Aug 2013 02:19:37 +0000 (19:19 -0700)
The exists test should has covered this bug

Conflicts:

ext/pdo_dblib/dblib_driver.c

ext/pdo_dblib/dblib_driver.c

index ff425147219ae92caf725dcb110ac1c0350c78d1..b49ad2691f645d50bd6b0a2f7ec239c53792d7f4 100644 (file)
@@ -369,7 +369,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, "1");
+       DBSETOPT(H->link, DBQUOTEDIDENT, NULL);
 
        ret = 1;
        dbh->max_escaped_char_length = 2;