mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
MDEV-11730 Memory leak in innodb.innodb_corrupt_bit
Memory was leaked when ALTER TABLE is attempted on a table that contains corrupted indexes. The memory leak was reported by AddressSanitizer for the test innodb.innodb_corrupt_bit. The leak was introduced into MariaDB Server 10.0.26, 10.1.15, 10.2.1 by the following: commitc081c978a2
Merge:1d21b22155
a482e76e65
Author: Sergei Golubchik <serg@mariadb.org> Date: Tue Jun 21 14:11:02 2016 +0200 Merge branch '5.5' into bb-10.0
This commit is contained in:
parent
9bf92706d1
commit
f0c19b6a57
2 changed files with 2 additions and 2 deletions
|
@ -3890,7 +3890,7 @@ check_if_can_drop_indexes:
|
|||
index->name, TRUE);
|
||||
|
||||
my_error(ER_INDEX_CORRUPT, MYF(0), index_name);
|
||||
DBUG_RETURN(true);
|
||||
goto err_exit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3904,7 +3904,7 @@ check_if_can_drop_indexes:
|
|||
index->name, TRUE);
|
||||
|
||||
my_error(ER_INDEX_CORRUPT, MYF(0), index_name);
|
||||
DBUG_RETURN(true);
|
||||
goto err_exit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue