Fix for BUG#35107 "maria-preload.test is disabled because causes assertion".

maria-preload will be re-enabled later because other pieces of it have possibly random output.

storage/maria/ma_check.c:
  Fix for BUG#35107 "maria-preload.test is disabled because causes assertion".
This commit is contained in:
Guilhem Bichot 2008-06-30 11:23:10 +02:00
parent 0432bc1e95
commit fdebe2788f

View File

@ -2234,6 +2234,10 @@ static int initialize_variables_for_repair(HA_CHECK *param,
{
MARIA_SHARE *share= info->s;
/* Repair code relies on share->state.state so we have to update it here */
if (share->lock.update_status)
(*share->lock.update_status)(info);
bzero((char*) sort_info, sizeof(*sort_info));
bzero((char*) sort_param, sizeof(*sort_param));