Skip to content

Commit

Permalink
Fixed a crash during automatic zerofill of moved Aria table
Browse files Browse the repository at this point in the history
This could happen if one did a DML with a moved table that one had done
an external zerofill on.
The crash happend because a message that was supposed to be sent to
a repair report was instead sent to the result, which caused an ASSERT
  • Loading branch information
montywi committed Dec 5, 2022
1 parent dd20a43 commit e748f5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storage/maria/ha_maria.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1479,6 +1479,7 @@ int ha_maria::repair(THD * thd, HA_CHECK_OPT *check_opt)
{
param->db_name= table->s->db.str;
param->table_name= table->alias.c_ptr();
param->testflag= check_opt->flags;
_ma_check_print_info(param, "Running zerofill on moved table");
return zerofill(thd, check_opt);
}
Expand Down

0 comments on commit e748f5c

Please sign in to comment.