7.0.6 SQLite Query return erroneous blob field type

The stable tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.
Post Reply
lfcap
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 25.11.2013, 11:04

7.0.6 SQLite Query return erroneous blob field type

Post by lfcap »

7.0.6 and SQLite 3: Query with multiple tables return erroneous blob field type

For example, in my database I create 2 tables:
T1 as 2 or more fields (F1 INTEGER, F2 BLOB, …)
T2 as 2 or more fields (Fa INTEGER, Fb VARCHAR, …)

With TZReadOnlyQuery or TZQuery if I set SQL text as
“Select F1, F2 From T1”
then the dynamic created field type for F2 is ftBlob that work.

Now, if I set SQL text as
“Select T2.Fa, T1.F2 From T2 left join T1 on (T1.fx=T2.fx) »
then the dynamic created field type for F2 is ftString : incorrect type.

Thanks for your help
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: 7.0.6 SQLite Query return erroneous blob field type

Post by EgonHugeist »

Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Post Reply