mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 05:26:01 +02:00
TCustomBufDataset: set PacketRecords to 1 only on a UniDirectional dataset
git-svn-id: trunk@44633 -
This commit is contained in:
parent
0ff254e00f
commit
e08d8bba82
@ -1999,7 +1999,8 @@ begin
|
||||
begin
|
||||
SetUniDirectional(AValue);
|
||||
ClearIndexes;
|
||||
FPacketRecords := 1; // temporary
|
||||
if IsUniDirectional then
|
||||
FPacketRecords := 1; // UniDirectional dataset does not allow FPacketRecords<0
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user