From 807fd94fa741462bb19af7c48fca61b10d4fb721 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Sat, 23 Jul 2011 18:57:33 +0000 Subject: [PATCH] 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. --- source/dbconnection.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/source/dbconnection.pas b/source/dbconnection.pas index c23927ad..85e4d6fd 100644 --- a/source/dbconnection.pas +++ b/source/dbconnection.pas @@ -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;