Commit:    f20d28a6b1c53fce4d1171dd92ebe341547f1627
Author:    Stanislav Malyshev <s...@php.net>         Sun, 4 Aug 2013 19:19:37 
-0700
Parents:   1d6a136051051e4e25f89a280ca92fde2da04463
Branches:  master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=f20d28a6b1c53fce4d1171dd92ebe341547f1627

Log:
Fixed bug #63258 (seg fault with PDO and dblib using DBSETOPT(H->link, 
DBQUOTEDIDENT, 1))

The exists test should has covered this bug

Conflicts:

        ext/pdo_dblib/dblib_driver.c

Bugs:
https://bugs.php.net/63258

Changed paths:
  M  ext/pdo_dblib/dblib_driver.c


Diff:
diff --git a/ext/pdo_dblib/dblib_driver.c b/ext/pdo_dblib/dblib_driver.c
index ff42514..b49ad26 100644
--- a/ext/pdo_dblib/dblib_driver.c
+++ b/ext/pdo_dblib/dblib_driver.c
@@ -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;


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to