Browse Source

* Patch from Ondrej Pokorny to fix issue #33710 (clear param value when not needed)

git-svn-id: trunk@38949 -
michael 7 years ago
parent
commit
fc2516d73f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fcl-db/src/base/dsparams.inc

+ 1 - 0
packages/fcl-db/src/base/dsparams.inc

@@ -840,6 +840,7 @@ Var
   VT : Integer;
   VT : Integer;
 
 
 begin
 begin
+  if FDataType=AValue then Exit;
   FDataType:=AValue;
   FDataType:=AValue;
   VT:=FieldTypetoVariantMap[AValue];
   VT:=FieldTypetoVariantMap[AValue];
   If (VT=varError) then
   If (VT=varError) then