|
@@ -497,7 +497,7 @@ end;
|
|
function TField.GetAsBytes: TBytes;
|
|
function TField.GetAsBytes: TBytes;
|
|
begin
|
|
begin
|
|
Result:=Default(TBytes);
|
|
Result:=Default(TBytes);
|
|
- Writeln('Allocating ',Datasize,' bytes');
|
|
|
|
|
|
+// Writeln('Allocating ',Datasize,' bytes');
|
|
SetLength(Result, DataSize);
|
|
SetLength(Result, DataSize);
|
|
if assigned(result) and not GetData(@Result[0], False) then
|
|
if assigned(result) and not GetData(@Result[0], False) then
|
|
Result := nil;
|
|
Result := nil;
|