mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Raise with a more detailed exception message, to debug issue #1540.
This commit is contained in:
@@ -1735,7 +1735,13 @@ begin
|
||||
end;
|
||||
if Fields.ColExists('Db') then begin
|
||||
DBOType := lntDb;
|
||||
DBONames.Add(Fields.Col('Db'));
|
||||
try
|
||||
DBONames.Add(Fields.Col('Db'));
|
||||
except
|
||||
on E:Exception do begin
|
||||
raise Exception.Create(E.Message+CRLF+CRLF+'Fields.ColumnNames: '+Fields.ColumnNames.CommaText);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
if Fields.ColExists('Table_name') then begin
|
||||
DBOType := lntTable;
|
||||
|
||||
Reference in New Issue
Block a user