mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 01:56:36 +08:00
Try a safe-fix on a suspicious line which could cause bug #868 (during login heidi crashes)
This commit is contained in:
@ -2334,8 +2334,8 @@ begin
|
||||
avg_persec := '';
|
||||
|
||||
// Format numeric or byte values
|
||||
valIsBytes := Copy(ds.Fields[0].AsWideString, 1, 6) = 'Bytes_';
|
||||
valIsNumber := IntToStr(MakeInt(val)) = val;
|
||||
valIsBytes := valIsNumber and (Copy(ds.Fields[0].AsWideString, 1, 6) = 'Bytes_');
|
||||
if valIsBytes then
|
||||
val := FormatByteNumber(val)
|
||||
else if valIsNumber then
|
||||
|
Reference in New Issue
Block a user