mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 10:02:10 +08:00
Do not double-unformat numbers in automatic grid WHERE clause. Fixes issue #2608.
This commit is contained in:
@ -4336,7 +4336,7 @@ begin
|
|||||||
if DataType(j).Index = dtBit then
|
if DataType(j).Index = dtBit then
|
||||||
Result := Result + '=b' + Connection.EscapeString(ColVal)
|
Result := Result + '=b' + Connection.EscapeString(ColVal)
|
||||||
else
|
else
|
||||||
Result := Result + '=' + UnformatNumber(ColVal);
|
Result := Result + '=' + ColVal;
|
||||||
end;
|
end;
|
||||||
dtcBinary:
|
dtcBinary:
|
||||||
Result := Result + '=' + HexValue(ColVal);
|
Result := Result + '=' + HexValue(ColVal);
|
||||||
|
Reference in New Issue
Block a user