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:
Ansgar Becker
2008-07-06 08:59:43 +00:00
parent 0a3e514983
commit 51f2342663

View File

@ -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.