Silence potential crashes in TDBConnection.PrefetchCreateCode, when Heidis cached list of tables has a table which does not exist at the time when the proposal shows up. Closes #452.

This commit is contained in:
Ansgar Becker
2018-12-20 11:50:38 +01:00
parent c757cf0c4b
commit 993fdec3df

View File

@@ -3174,8 +3174,12 @@ begin
end;
end;
end;
if Queries.Count > 0 then
if Queries.Count > 0 then try
PrefetchResults(implodestr(';', Queries));
except
on E:EDatabaseError do;
end;
end;