Commit e748f5cc authored by Monty's avatar Monty

Fixed a crash during automatic zerofill of moved Aria table

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
parent dd20a43c
...@@ -1479,6 +1479,7 @@ int ha_maria::repair(THD * thd, HA_CHECK_OPT *check_opt) ...@@ -1479,6 +1479,7 @@ int ha_maria::repair(THD * thd, HA_CHECK_OPT *check_opt)
{ {
param->db_name= table->s->db.str; param->db_name= table->s->db.str;
param->table_name= table->alias.c_ptr(); param->table_name= table->alias.c_ptr();
param->testflag= check_opt->flags;
_ma_check_print_info(param, "Running zerofill on moved table"); _ma_check_print_info(param, "Running zerofill on moved table");
return zerofill(thd, check_opt); return zerofill(thd, check_opt);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment