Icon View Incident Report

Minor Minor
Reported By: Roy Lambert
Reported On: 7/8/2011
For: Version 2.05 Build 10
# 3485 ElevateDB Manager Re-Preparing Queries Between Executions When Query Text Has Not Changed

I just did a small test and created the view below and then selected from that. It takes c10 seconds to execute in the ElevateDB Manager. However, each time I click execute (without unpreparing) the query its taking c10secs.

CREATE VIEW "TEST" AS
SELECT
*
FROM
Contacts  
JOIN Career ON Career._fkContacts = Contacts._ID
JOIN Companies ON Companies._ID = Career._fkCompanies



Comments Comments
This had to do with the way that the SQL is extracted from the editor and assigned to the TEDBQuery.SQL property. When the text is assigned directly to the TStrings (SQL property), there isn't an opportunity to intercept the assignment and make sure that things actually changed. This has now been corrected so that the outer query will not be re-prepared every time, thus incurring the opening time of the underlying view.


Resolution Resolution
Fixed Problem on 7/8/2011 in version 2.05 build 11


Products Affected Products Affected
ElevateDB Additional Software and Utilities

Image