[Lazarus] {Spam?} Re: Lazarus Release 1.6.2

zeljko zeljko at holobit.net
Tue Nov 15 19:27:14 CET 2016


>
> OK, I'm using a TSdfDataset, maybe it has the same bug as TMemDataset as
> mentioned in dblookup.inc (but then I don't understand why it worked
> with lazarus 1.4).
> FWIF, this appears to fix it:
>
> ===================================================================
> --- lcl/include/dblookup.inc    (revision 53370)
> +++ lcl/include/dblookup.inc    (working copy)
> @@ -274,7 +274,7 @@
>    Bookmark := ListLinkDataSet.GetBookmark;
>    //in fpc 2.6.4, TMemDataset does not supports BlockRead. Issues
> 26356, 27959
>    {$IF FPC_FULLVERSION < 30000}
> -  DatasetSupportsBlockRead := not IsClass(ListLinkDataSet, 'TMemDataset');
> +  DatasetSupportsBlockRead := not IsClass(ListLinkDataSet,
> 'TMemDataset') and not IsClass(ListLinkDataSet, 'TFixedFormatDataSet');
>    if DatasetSupportsBlockRead then
>      ListLinkDataSet.BlockReadSize := 1
>    else

Please open an issue about problem and attach:
1.Example project
2.Patch

zeljko



More information about the Lazarus mailing list