summaryrefslogtreecommitdiff
path: root/ext/pdo_dblib
diff options
context:
space:
mode:
authorDerick Rethans <github@derickrethans.nl>2013-09-27 10:14:51 +0100
committerDerick Rethans <github@derickrethans.nl>2013-09-27 10:14:51 +0100
commit9ef4e5d23d331227cbc3dfed04f9702b8012e1ef (patch)
treea876f581fbfe976af369cf63010db1ab2b05b502 /ext/pdo_dblib
parent5ac7c533a0334f384d1a74eed6172a3c8cc4ef49 (diff)
parentea0f832f1000a47553a483e52633377a0d37800f (diff)
downloadphp-git-9ef4e5d23d331227cbc3dfed04f9702b8012e1ef.tar.gz
Merge branch 'PHP-5.5'
Diffstat (limited to 'ext/pdo_dblib')
-rw-r--r--ext/pdo_dblib/dblib_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pdo_dblib/dblib_driver.c b/ext/pdo_dblib/dblib_driver.c
index b49ad2691f..8e4cbb7a48 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");