mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed ASAN heap-use-after-free handler::ha_index_or_rnd_end
MDEV-16123 ASAN heap-use-after-free handler::ha_index_or_rnd_end MDEV-13828 Segmentation fault on RENAME TABLE Problem was that destructor called methods for closed table. Fixed by removing code in destructor.
This commit is contained in:
@ -1376,7 +1376,8 @@ public:
|
||||
|
||||
~Stat_table_write_iter()
|
||||
{
|
||||
cleanup();
|
||||
/* Ensure that cleanup has been run */
|
||||
DBUG_ASSERT(rowid_buf == 0);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user