Hi, all.

  At the time of PocketPC programming using Lazarus, I found some bugs/features 
:).
I'd like to discuss them before posting to bugtracker.

TMemDataset
1. When using TMemDataset and compiling for ARM processor bus errors 
(misaligned data) appear here and there. 
   Now I solved the problem by inserting packed directive in TMTRecInfo record. 
Such as:
   
   TMTRecInfo = packed record
    ...
   end;

   Maybe some knows better solution?
2. Defining fields in TMemdataset using FieldDefs and trying to open dataset 
results in segfault. CreateTable must be called before. 
   Correct me if I'm wrong, but TDataset ideology says dataset must create 
fields on open.

TSqlite3Dataset. Many thanks to the author. Really. He did a good job. However 
some inconsistencies left:
3. When using calculated fields in select query, field receive string(8194) 
datatype. Typeinfo on field gives correct type. For example, integer.
4. Qualified field names in queries (those starting with table name and dot) 
and those which contain [ and ] symbols result uncleaned field names in 
dataset. For example:
   select [tt].[res] from [tt]
   ...gives "[tt].[res]" dataset field instead of "res". 


P.S. Lazarus SVN, FPC svn

-- 
Best regards,
Denis Golovan aka MageSlayer
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to