Bug #116339 Contribution: Fix Incorrect Payload Length for COM_QUERY Example Packet
Submitted: 11 Oct 2024 0:16 Modified: 21 Nov 2024 21:52
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Connection Handling Severity:S3 (Non-critical)
Version:9.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[11 Oct 2024 0:16] OCA Admin
Description:
This bug tracks a contribution by Konno Satoshi (Github user: cybergarage), as described in http://github.com/mysql/mysql-server/pull/568

How to repeat:
See description

Suggested fix:
See contribution code attached
[11 Oct 2024 0:16] OCA Admin
Contribution submitted via Github - Fix Incorrect Payload Length for COM_QUERY Example Packet 
(*) Contribution by Konno Satoshi (Github cybergarage, mysql-server/pull/568#issuecomment-2405462691): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_2113203944.txt (text/plain), 831 bytes.

[11 Oct 2024 4:07] MySQL Verification Team
Hello Konno Satoshi,

Thank you for the report and contribution.

regards,
Umesh
[21 Nov 2024 21:52] Jon Stephens
Documented fix as follows in the MySQL 9.2.0 changelog:

    The payload length for COM_QUERY packets was calculated
    incorrectly in one of the MySQL packet examples. The payload
    length is now computed accurately, based on the actual length of
    the query.

    Our thanks to Konno Satoshi for the contribution.

Closed.