Skip to content

BIGINT values are not displayed correctly #41

Open
@KitaYoshihiro

Description

@KitaYoshihiro

Large BIGINT numbers are not correctly displayed in vscode plugin.

CREATE TABLE test (id BIGINT);
INSERT INTO test VALUES(10000000000000001);
INSERT INTO test VALUES(10000000000000002);
INSERT INTO test VALUES(10000000000000003);
INSERT INTO test VALUES(10000000000000004);
INSERT INTO test VALUES(10000000000000005);

SELECT * FROM test;
+-------------------+
| id                |
+-------------------+
| 10000000000000000 |
| 10000000000000002 |
| 10000000000000004 |
| 10000000000000004 |
| 10000000000000004 |
+-------------------+

There is nothing wrong with the data stored in the table, but the display seems to be wrong.
These numbers are correctly displayed in regular terminals and MySQL Workbench.

(local)
MySQL Shell for VS Code v1.14.2
Windows 10
(remote)
Ubuntu20.04
mysql Ver 8.0.35

Thank you,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions