Parcourir la source

* Do not add a terminating zero, since the terminating zeros are not stored in the buffer at all

git-svn-id: trunk@11274 -
joost il y a 17 ans
Parent
commit
c140dae2b5
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      packages/fcl-db/src/sdf/sdfdata.pp

+ 0 - 1
packages/fcl-db/src/sdf/sdfdata.pp

@@ -675,7 +675,6 @@ begin
       if p > Field.Size then
         p := Field.Size;
       Move(Buffer^, RecBuf[0], p);
-      ActiveBuffer[RecordSize-1] := #0;
     end;
   end
   else // fkCalculated, fkLookup