ParseTableStructure does an implicit reconnect via GetCollationTable, lately, after a first column is already created. Do a manual ping at the very start so columns are correctly shown, e.g. in data tab. Fixes issue #2484.

This commit is contained in:
Ansgar Becker
2011-07-23 18:57:33 +00:00
parent 3348cc879a
commit 807fd94fa7

View File

@ -2703,6 +2703,7 @@ var
ForeignKey: TForeignKey;
Collations: TDBQuery;
begin
Ping(True);
if Assigned(Columns) then Columns.Clear;
if Assigned(Keys) then Keys.Clear;
if Assigned(ForeignKeys) then ForeignKeys.Clear;