Browse Source

- Fixed bug #48539 (pdo_dblib fails to connect, throws empty PDOException "SQLSTATE[] (null)")

experimental/first_unicode_implementation
Felipe Pena 17 years ago
parent
commit
ba13c4e764
  1. 2
      ext/pdo_dblib/dblib_driver.c

2
ext/pdo_dblib/dblib_driver.c

@ -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…
Cancel
Save