Selaa lähdekoodia

* Fix in TDataSet.DefaultBytesToBlobData, index out of range

michael 4 vuotta sitten
vanhempi
commit
2647578515
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      packages/fcl-db/db.pas

+ 1 - 1
packages/fcl-db/db.pas

@@ -4058,7 +4058,7 @@ begin
   else
     begin
     S:='';
-    For I:=0 to Length(AValue) do
+    For I:=0 to Length(AValue)-1 do
       TJSString(S).Concat(IntToHex(aValue[i],2));
     Result:=S;
     end;