Do not double-unformat numbers in automatic grid WHERE clause. Fixes issue #2608.

This commit is contained in:
Ansgar Becker
2012-02-12 09:28:19 +00:00
parent 21a6381a3c
commit 08d0a095a7

View File

@ -4336,7 +4336,7 @@ begin
if DataType(j).Index = dtBit then
Result := Result + '=b' + Connection.EscapeString(ColVal)
else
Result := Result + '=' + UnformatNumber(ColVal);
Result := Result + '=' + ColVal;
end;
dtcBinary:
Result := Result + '=' + HexValue(ColVal);