mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
- Fixed bug #48539 (pdo_dblib fails to connect, throws empty PDOException "SQLSTATE[] (null)")
This commit is contained in:
parent
7b74ae4895
commit
ba13c4e764
@ -230,9 +230,11 @@ static int pdo_dblib_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
#if PHP_DBLIB_IS_MSSQL
|
||||
if (DBSETOPT(H->link, DBTEXTLIMIT, "2147483647") == FAIL) {
|
||||
goto cleanup;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (vars[3].optval && FAIL == dbuse(H->link, vars[3].optval)) {
|
||||
goto cleanup;
|
||||
|
Loading…
Reference in New Issue
Block a user