You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create table test with a BIGINT column: CREATE TABLE test (time BIGINT(20));
Insert a large number into the table: INSERT INTO test VALUES( 9223372036854775807 );
Open the Data tab for the table, right-click the column and check "This is a UNIX timestamp column" (or, if it's already interpreted as a UNIX timestamp, open the data tab)
Current behavior
HeidiSQL crashes with the following crash (EInvalidOp: Invalid floating point operation).
Next build catches more than the previously only EConvertError exception, so this may heal this issue. Only there are some limitations on the internal date/time types, which will lead such big numbers to be converted to 1970-01-01.
Please check and report back.
Steps to reproduce this issue
CREATE TABLE test (time BIGINT(20));
INSERT INTO test VALUES( 9223372036854775807 );
Current behavior
HeidiSQL crashes with the following crash (EInvalidOp: Invalid floating point operation).
bugreport.txt
Expected behavior
HeidiSQL displays the cell as normal (with an absurdly large year)
Possible solution
This appears to be some sort of overflow.
Environment
HeidiSQL version: 10.2.0.5599 (64 bit)
Database system and version: MariaDB 10.4.7
Operating system: HeidiSQl running on Microsoft Windows [Version 10.0.17763.437]; database running on WSL1, Ubuntu 18.04 distribution
The text was updated successfully, but these errors were encountered: