Issue #1243: fix crash in reconnect, due to free'd list of IS objects

This commit is contained in:
Ansgar Becker
2020-12-13 08:17:49 +01:00
parent cb77a602b5
commit 04a32cb035

View File

@ -1842,6 +1842,7 @@ begin
ClearCache(True);
FKeepAliveTimer.Free;
FFavorites.Free;
FInformationSchemaObjects.Free;
inherited;
end;
@ -5816,7 +5817,6 @@ begin
FreeAndNil(FCharsetTable);
FreeAndNil(FSessionVariables);
FreeAndNil(FTableEngines);
FreeAndNil(FInformationSchemaObjects);
if IncludeDBObjects then begin
ClearAllDbObjects;
FColumnCache.Clear;