| 1 |
alter table mysql.plugin engine=myisam; |
| 2 |
set @old_dbug=@@debug_dbug; |
| 3 |
call mtr.add_suppression("Index for table.*mysql.plugin.MYI"); |
| 4 |
call mtr.add_suppression("Index for table 'plugin' is corrupt; try to repair it"); |
| 5 |
SET debug_dbug='+d,myisam_pretend_crashed_table_on_usage'; |
| 6 |
install plugin audit_null soname 'adt_null'; |
| 7 |
ERROR HY000: Index for table './mysql/plugin.MYI' is corrupt; try to repair it |
| 8 |
SET debug_dbug=@old_dbug; |
| 9 |
install plugin audit_null soname 'adt_null'; |
| 10 |
SET debug_dbug='+d,myisam_pretend_crashed_table_on_usage'; |
| 11 |
uninstall plugin audit_null; |
| 12 |
ERROR HY000: Index for table './mysql/plugin.MYI' is corrupt; try to repair it |
| 13 |
SET debug_dbug=@old_dbug; |
| 14 |
uninstall plugin audit_null; |
| 15 |
uninstall plugin audit_null; |
| 16 |
ERROR 42000: PLUGIN audit_null does not exist |
| 17 |
delete from mysql.plugin where name='audit_null'; |
| 18 |
alter table mysql.plugin engine=aria; |