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

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to