diff options
author | Andreas Fischer <bantu@phpbb.com> | 2010-05-14 02:33:31 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2010-05-14 02:33:31 +0200 |
commit | 032a9f58f9ce4dd9777f30a8856fb49e340df179 (patch) | |
tree | 971aa90b6153c5509f5c6bca3ad59bb3b75fb9ac /phpBB/includes/db/postgres.php | |
parent | b3bbe576035da528aa6e52775cbc60133a8a2c90 (diff) | |
download | forums-032a9f58f9ce4dd9777f30a8856fb49e340df179.tar forums-032a9f58f9ce4dd9777f30a8856fb49e340df179.tar.gz forums-032a9f58f9ce4dd9777f30a8856fb49e340df179.tar.bz2 forums-032a9f58f9ce4dd9777f30a8856fb49e340df179.tar.xz forums-032a9f58f9ce4dd9777f30a8856fb49e340df179.zip |
[ticket/9173] No longer limit scope of numbers we store in the config table on
PostgreSQL and Firebird when using set_config_count().
Since we're using a VARCHAR(255) column to store the numbers we have to CAST
the varchar string to a type we can do maths on. Using int4 or integer as the
type however limits the scope to 4-byte-integer = 32-bit. Using DECIMAL(255, 0)
allows the 'full' scope of decimals in varchar(255).
PHPBB3-9173
Diffstat (limited to 'phpBB/includes/db/postgres.php')
0 files changed, 0 insertions, 0 deletions