mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
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:
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user