1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-21 09:01:29 +02:00

Merge pull request #5450 from hubaishan/ticket/15665

[ticket/15665] Fix MSSQL crashes if upload dir>2GB
This commit is contained in:
Marc Alexander
2018-11-26 21:19:42 +01:00

View File

@@ -60,6 +60,14 @@ abstract class mssql_base extends \phpbb\db\driver\driver
return $expression . " ESCAPE '\\'";
}
/**
* {@inheritDoc}
*/
function cast_expr_to_bigint($expression)
{
return 'CONVERT(BIGINT, ' . $expression . ')';
}
/**
* Build db-specific query data
* @access private