Bug #105990 | Contribution by Tencent: parse ending of SP error | ||
---|---|---|---|
Submitted: | 28 Dec 2021 8:37 | Modified: | 28 Dec 2021 9:41 |
Reporter: | Steven Duan (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Parser | Severity: | S2 (Serious) |
Version: | 8.0/5.6/5.7 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | parse error |
[28 Dec 2021 8:37]
Steven Duan
[28 Dec 2021 8:43]
Steven Duan
remove the extra semicolon to prevent mysqldump export errors (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: 0001-bugfix-parse_ending_of_sp_error.patch (application/octet-stream, text), 2.34 KiB.
[28 Dec 2021 9:24]
Steven Duan
Update synopsis and fix suggestions. Synopsis: Contribution by Tencent: parse ending of SP error Fix: a) When setting the SP terminator (sp_head.cc:set_body_end), we verify that the above error and remove the extra semicolon to correct the end pointer. b) When mysqldump is executed, we remove the extra semicolon when exporting the stored SP.
[28 Dec 2021 9:25]
Steven Duan
remove the extra semicolon to prevent mysqldump export errors (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: 0001-bugfix-parse_ending_of_sp_error.patch (application/octet-stream, text), 3.19 KiB.
[28 Dec 2021 9:41]
MySQL Verification Team
Thank you for the contribution.