Commit 57f56eb4 authored by reggie@big_geek's avatar reggie@big_geek

Bug #17720

Minor cleanup from Mikael's review
parent bb649ca4
...@@ -4821,14 +4821,10 @@ int ha_partition::prepare_for_delete() ...@@ -4821,14 +4821,10 @@ int ha_partition::prepare_for_delete()
for (file= m_reorged_file; *file; file++) for (file= m_reorged_file; *file; file++)
if ((tmp= (*file)->extra(HA_EXTRA_PREPARE_FOR_DELETE))) if ((tmp= (*file)->extra(HA_EXTRA_PREPARE_FOR_DELETE)))
result= tmp; result= tmp;
}
else
{
for (file= m_file; *file; file++)
if ((tmp= (*file)->extra(HA_EXTRA_PREPARE_FOR_DELETE)))
result= tmp;
}
DBUG_RETURN(result); DBUG_RETURN(result);
}
DBUG_RETURN(loop_extra(HA_EXTRA_PREPARE_FOR_DELETE));
} }
/* /*
......
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