mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
Merge pull request #5450 from hubaishan/ticket/15665
[ticket/15665] Fix MSSQL crashes if upload dir>2GB
This commit is contained in:
commit
db7f4d4c95
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue