Skip to content

Handling int<lenenc> values greater than 2^63-1 in MySQL OKPackets and related packets #39

@jchrys

Description

@jchrys

Issue Description

It has come to our attention that MySQL's OKPackets and other packets containing int<lenenc> types may potentially have values greater than 2^63-1. As per the MySQL documentation, int<lenenc> supports such values.

Current Implementation

Our current implementation does not take this into account, and we need to address this issue to ensure proper handling of int<lenenc> values exceeding 2^63-1.

Impact on Real-world Usage

It is worth noting that this issue does not have a significant impact on real-world usage. Nonetheless, when converting the value to a string representation, it might be presented as a negative number.

Proposed Solution

To enhance the accuracy and reliability of our implementation, we need to implement a patch that properly handles int<lenenc> values exceeding 2^63-1.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions