Skip to content

[Bug]: select value occur error when value over int64 but in uint64 #2925

Closed

Description

@jianwan0214

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93):
- Hardware parameters:
- OS type:
- Others:

Actual Behavior

In plan2, aoe, we meet

mysql> select 18446744073709551500;
+----------------------+
| 18446744073709551500 |
+----------------------+
| -116 |
+----------------------+
1 row in set (0.00 sec)

Expected Behavior

mysql> select 18446744073709551500;
+----------------------+
| 18446744073709551500 |
+----------------------+
| 18446744073709551500 |
+----------------------+
1 row in set (0.00 sec)

Steps to Reproduce

No response

Additional information

No response

Activity

  1. added
    kind/bug
    on Jun 11, 2022
  2. added this to the v0.5.0 milestone on Jun 13, 2022
  3. aressu1985 commented on Jul 11, 2022

    @aressu1985
    Contributor

    fixed

    mysql> select 18446744073709551500;
    +----------------------+
    | 18446744073709551500 |
    +----------------------+
    | 18446744073709551500 |
    +----------------------+
    1 row in set (0.00 sec)

    mysql> select 18446744073709551500;
    +----------------------+
    | 18446744073709551500 |
    +----------------------+
    | 18446744073709551500 |
    +----------------------+
    1 row in set (0.00 sec)

    mysql>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions