tencent cloud

When DDL statements are executed, memory corruption is triggered, causing crash
Last updated:2026-03-11 09:43:30
When DDL statements are executed, memory corruption is triggered, causing crash
Last updated: 2026-03-11 09:43:30

Issue

Resolved an issue where executing DDL operations involving partitioned tables within a single SQL statement could trigger memory corruption, leading to crashes.

Issue Triggering Scenarios

When executing DDL statements, if there are multiple DDL operations in a single SQL statement, the blob_heap pointer from a previously executed DDL is assigned to m_prebuilt->blob_heap, but this pointer is released, and subsequent DDL operations then use this blob_heap, resulting in memory corruption and causing a Crash.

Affected Kernel Versions

MySQL 5.7 versions before 20211102.

Fixed Kernel Version

MySQL 5.7 20250803.

Fixing Methods

To upgrade the kernel version to MySQL 5.7 20250803, see Upgrade the Kernel Minor Version for instructions.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback