mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 11:10:33 +02:00
* Allow a size (amount of decimals) of 0 for TBCDFields
git-svn-id: trunk@10819 -
This commit is contained in:
parent
948e71f051
commit
97fc499a48
@ -2138,7 +2138,7 @@ end;
|
||||
class procedure TBCDField.CheckTypeSize(AValue: Longint);
|
||||
|
||||
begin
|
||||
If not (AValue in [1..4]) then
|
||||
If not (AValue in [0..4]) then
|
||||
DatabaseErrorfmt(SInvalidFieldSize,[Avalue]);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user