diff options
author | Stanley Sufficool <ssufficool@php.net> | 2013-09-26 19:53:47 -0700 |
---|---|---|
committer | Stanley Sufficool <ssufficool@php.net> | 2013-09-26 19:53:47 -0700 |
commit | ac05cfb49912dd87264573df930d0ead3c3e0cca (patch) | |
tree | 695e93100cb44f0096011baaf363b7d084c44a3c | |
parent | 9aa904c375cd50a6e8a345f3c053e80a6617a377 (diff) | |
download | php-git-ac05cfb49912dd87264573df930d0ead3c3e0cca.tar.gz |
FIX BUG #48539 - Disable TEXTLIMIT for FreeTDS driver
-rw-r--r-- | ext/pdo_dblib/dblib_driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pdo_dblib/dblib_driver.c b/ext/pdo_dblib/dblib_driver.c index ff42514721..2aaf3975db 100644 --- a/ext/pdo_dblib/dblib_driver.c +++ b/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"); |