com php-src: FIX BUG #48539 - Disable TEXTLIMIT for FreeTDS driver: ext/pdo_dblib/dblib_driver.c

From: Date: Fri, 27 Sep 2013 02:53:47 +0000
Subject: com php-src: FIX BUG #48539 - Disable TEXTLIMIT for FreeTDS driver: ext/pdo_dblib/dblib_driver.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-73291@lists.php.net to get a copy of this message
Commit: ac05cfb49912dd87264573df930d0ead3c3e0cca Author: Stanley Sufficool <ssufficool@php.net> Thu, 26 Sep 2013 19:53:47 -0700 Parents: 9aa904c375cd50a6e8a345f3c053e80a6617a377 Branches: PHP-5.4 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ac05cfb49912dd87264573df930d0ead3c3e0cca Log: FIX BUG #48539 - Disable TEXTLIMIT for FreeTDS driver Bugs: https://bugs.php.net/48539 Changed paths: M ext/pdo_dblib/dblib_driver.c Diff: diff --git a/ext/pdo_dblib/dblib_driver.c b/ext/pdo_dblib/dblib_driver.c index ff42514..2aaf397 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");

« previous php.cvs (#73291) next »