Skip to content

Commit f20d28a

Browse files
committed
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
1 parent 1d6a136 commit f20d28a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo_dblib/dblib_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ static int pdo_dblib_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_
369369
DBSETOPT(H->link, DBTEXTSIZE, "2147483647");
370370

371371
/* allow double quoted indentifiers */
372-
DBSETOPT(H->link, DBQUOTEDIDENT, "1");
372+
DBSETOPT(H->link, DBQUOTEDIDENT, NULL);
373373

374374
ret = 1;
375375
dbh->max_escaped_char_length = 2;

0 commit comments

Comments
 (0)