mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Introduce support for BIT fields in grids and export output. See issue #766 and http://www.heidisql.com/forum.php?t=8462
This commit is contained in:
@ -1313,7 +1313,12 @@ begin
|
||||
if Data.IsNull(i) then
|
||||
Row := Row + 'NULL'
|
||||
else case Data.DataType(i).Category of
|
||||
dtcInteger, dtcReal: Row := Row + Data.Col(i);
|
||||
dtcInteger, dtcReal: begin
|
||||
if Data.DataType(i).Index = dtBit then
|
||||
Row := Row + 'b' + Quoter.EscapeString(Data.Col(i))
|
||||
else
|
||||
Row := Row + Data.Col(i);
|
||||
end;
|
||||
dtcBinary, dtcSpatial: begin
|
||||
BinContent := Data.BinColAsHex(i);
|
||||
if Length(BinContent) > 0 then
|
||||
|
Reference in New Issue
Block a user