mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Missing change for r3124 - wrong column type detection
This commit is contained in:
@ -3661,7 +3661,7 @@ begin
|
|||||||
for j:=0 to Length(DataGridResult.Columns)-1 do begin
|
for j:=0 to Length(DataGridResult.Columns)-1 do begin
|
||||||
SetLength(DataGridResult.Rows[i].Cells, Data.ColumnCount);
|
SetLength(DataGridResult.Rows[i].Cells, Data.ColumnCount);
|
||||||
Cell := @DataGridResult.Rows[i].Cells[j];
|
Cell := @DataGridResult.Rows[i].Cells[j];
|
||||||
case Data.DataType(j).Category of
|
case DataGridResult.Columns[j].DatatypeCat of
|
||||||
dtcInteger, dtcReal: Cell.Text := FormatNumber(Data.Col(j), False);
|
dtcInteger, dtcReal: Cell.Text := FormatNumber(Data.Col(j), False);
|
||||||
dtcBinary: Cell.Text := GetBlobContent(Data, j);
|
dtcBinary: Cell.Text := GetBlobContent(Data, j);
|
||||||
else Cell.Text := Data.Col(j);
|
else Cell.Text := Data.Col(j);
|
||||||
|
Reference in New Issue
Block a user