mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 11:49:23 +02:00
* using value instead of avalue does not properly set bound because getvalueasvariant
returns 0.0 if isnull. Mantis 17819, patch from Martin Schreiber. git-svn-id: trunk@16392 -
This commit is contained in:
parent
9d8d518029
commit
3b7bb9da6a
@ -678,7 +678,7 @@ end;
|
||||
Procedure TParam.SetAsVariant(const AValue: Variant);
|
||||
begin
|
||||
FValue:=AValue;
|
||||
FBound:=not VarIsClear(Value);
|
||||
FBound:=not VarIsClear(AValue);
|
||||
if FDataType = ftUnknown then
|
||||
case VarType(Value) of
|
||||
varBoolean : FDataType:=ftBoolean;
|
||||
|
Loading…
Reference in New Issue
Block a user