tencent cloud

TencentDB for MySQL

DocumentationTencentDB for MySQLKernel FeaturesChecking and Fixing Kernel IssuesWhen DDL statements are executed, memory corruption is triggered, causing crash

When DDL statements are executed, memory corruption is triggered, causing crash

PDF
Focus Mode
Font Size
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.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback