ExtendedFieldsInfo and non-blocking

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
andrefm
Posts: 37
Joined: Wed 23 Oct 2013 10:02

ExtendedFieldsInfo and non-blocking

Post by andrefm » Mon 20 Jan 2014 21:40

Hi, if the property ExtendedFieldsInfo is false (TSmartQuery or TOraQuery), then the non-blocking feature is working properly, but why the internal queries are not executed in background thread when non-blocking is set true? IMO the expected behaviour would be to not block the main thread as well

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: ExtendedFieldsInfo and non-blocking

Post by AlexP » Tue 21 Jan 2014 10:21

Hello,

All the queries are executed in the main thread. When the NonBlocking mode is enabled, an addition thread is created for data fetching, and since queries used for retrieving additional information about the fields return not large RecordSets, then there is no sense to fetch data returned by these queries in seoarate threads

Post Reply