mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-31 03:29:23 +02: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
@ -497,7 +497,8 @@ class dbal_firebird extends dbal
|
||||
*/
|
||||
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…
x
Reference in New Issue
Block a user