Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PS-6751 - innodb.table_encrypt_debug is failing
This is a regression introduced by PS-5325 at [1]. A few tests were missing add_suppression on new warnings thrown by the fix. [1]: commit 1daddaf Author: Marcelo Altmann <[email protected]> Date: Wed Jul 17 08:54:28 2019 -0300 PS-5325 Conditional jump or move depends on uninitialised value on innodb_zip.wl5522_zip and innodb.alter_missing_tablespace Problem: As part of DISCARD TABLESPACE, MySQL deinitialize table statistics. Later if we need to access the table (MySQL allows DDL) those variables won't have been initialized again. This is a regression introduced by PS-3829 at [1]. Solution: Call dict_stats_init even if the table has been discarded. This will result in dict_stats_report_error been called, which as part of the error handling will init empty table statistics. As part of the fix, we need to suppress warnings that will be generated by dict_stats_report_error on related tests.
- Loading branch information