1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-33285 - Assertion `m_table' failed in ha_perfschema::rnd_end on CHECKSUM TABLE

CHECKSUM TABLE causes variety of crashes when killed. This bug it not
specific to PERFORMANCE_SCHEMA.

Removed duplicate handler::ha_rnd_end() call.
This commit is contained in:
Sergey Vojtovich
2024-11-08 18:41:05 +04:00
committed by Sergei Golubchik
parent aef6f35989
commit b730abda09
4 changed files with 68 additions and 2 deletions

View File

@@ -5584,7 +5584,10 @@ int handler::calculate_checksum()
for (;;)
{
if (thd->killed)
return HA_ERR_ABORTED_BY_USER;
{
error= HA_ERR_ABORTED_BY_USER;
break;
}
ha_checksum row_crc= 0;
error= ha_rnd_next(table->record[0]);