mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Fix TDBConnection.ParseViewStructure so it orders the result from IS.COLUMNS by their ordinal/natural position. Closes #617.
This commit is contained in:
@ -5362,7 +5362,8 @@ begin
|
||||
'FROM INFORMATION_SCHEMA.COLUMNS '+
|
||||
'WHERE '+
|
||||
' TABLE_NAME='+EscapeString(DBObj.Name)+' '+
|
||||
SchemaClause
|
||||
SchemaClause+
|
||||
' ORDER BY ORDINAL_POSITION'
|
||||
);
|
||||
while not Results.Eof do begin
|
||||
Col := TTableColumn.Create(Self);
|
||||
|
Reference in New Issue
Block a user