diff options
author | Marc Alexander <admin@m-a-styles.de> | 2018-11-26 21:19:42 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2018-11-26 21:19:42 +0100 |
commit | db7f4d4c9523e5dc36c62ec6fe647aaf7708daaa (patch) | |
tree | c708a8cd1d414ba1dcf1afab290a721ed4735031 | |
parent | b8bdccbc4431af37a0a894ad29907699402605de (diff) | |
parent | dc96e70d1ba531fc5975aef3e7e2d7d9e9203a6d (diff) | |
download | forums-db7f4d4c9523e5dc36c62ec6fe647aaf7708daaa.tar forums-db7f4d4c9523e5dc36c62ec6fe647aaf7708daaa.tar.gz forums-db7f4d4c9523e5dc36c62ec6fe647aaf7708daaa.tar.bz2 forums-db7f4d4c9523e5dc36c62ec6fe647aaf7708daaa.tar.xz forums-db7f4d4c9523e5dc36c62ec6fe647aaf7708daaa.zip |
Merge pull request #5450 from hubaishan/ticket/15665
[ticket/15665] Fix MSSQL crashes if upload dir>2GB
-rw-r--r-- | phpBB/phpbb/db/driver/mssql_base.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/driver/mssql_base.php b/phpBB/phpbb/db/driver/mssql_base.php index 514df9eaca..98d16ca7fc 100644 --- a/phpBB/phpbb/db/driver/mssql_base.php +++ b/phpBB/phpbb/db/driver/mssql_base.php @@ -61,6 +61,14 @@ abstract class mssql_base extends \phpbb\db\driver\driver } /** + * {@inheritDoc} + */ + function cast_expr_to_bigint($expression) + { + return 'CONVERT(BIGINT, ' . $expression . ')'; + } + + /** * Build db-specific query data * @access private */ |