Browse Source

FIX BUG #48539 - Disable TEXTLIMIT for FreeTDS driver

pull/456/merge
Stanley Sufficool 13 years ago
parent
commit
ac05cfb499
  1. 2
      ext/pdo_dblib/dblib_driver.c

2
ext/pdo_dblib/dblib_driver.c

@ -362,8 +362,10 @@ static int pdo_dblib_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_
goto cleanup;
}
#if PHP_DBLIB_IS_MSSQL
/* dblib do not return more than this length from text/image */
DBSETOPT(H->link, DBTEXTLIMIT, "2147483647");
#endif
/* limit text/image from network */
DBSETOPT(H->link, DBTEXTSIZE, "2147483647");

Loading…
Cancel
Save