mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge remote-tracking branch 'bantu/ticket/10146-develop' into develop
* bantu/ticket/10146-develop: [ticket/10146] Fix Firebird DECIMAL precision issue on develop.
This commit is contained in:
commit
457758ef4a
1 changed files with 2 additions and 1 deletions
|
@ -497,7 +497,8 @@ class dbal_firebird extends dbal
|
||||||
*/
|
*/
|
||||||
function cast_expr_to_bigint($expression)
|
function cast_expr_to_bigint($expression)
|
||||||
{
|
{
|
||||||
return 'CAST(' . $expression . ' as DECIMAL(255, 0))';
|
// Precision must be from 1 to 18
|
||||||
|
return 'CAST(' . $expression . ' as DECIMAL(18, 0))';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue