mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 03:01:07 +08:00
Avoid AV annoyance by suppressing AVs in TMysqlQuery.SetThreadResult and work around bug #580 and bug #308. Doesn't seem to have any (visible) problematic consquences. Todo: Find and fix the real cause of these AVs which don't reveal to me currently.
This commit is contained in:
@ -283,7 +283,12 @@ end;
|
||||
|
||||
procedure TMysqlQuery.SetThreadResult(AResult: TThreadResult);
|
||||
begin
|
||||
FQueryResult := AResult;
|
||||
try
|
||||
FQueryResult := AResult;
|
||||
except
|
||||
// Todo: Find cause of sporadical AV here. Avoid annoyance in the meantime by
|
||||
// suppressing AVs here which doesn't seem to have any (visible) problematic consequences.
|
||||
end;
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Reference in New Issue
Block a user