WL#2645 (CHECK FOR UPGRADE)

5.1-related fixes


BitKeeper/etc/ignore:
  Added scripts/mysql_upgrade to the ignore list
sql/ha_partition.cc:
  ha_check and ha_repair now to be called
sql/handler.cc:
  code modified to be 5.1 compliant
This commit is contained in:
unknown 2006-02-17 13:37:37 +04:00
commit ca417a74a7
3 changed files with 6 additions and 8 deletions

View file

@ -1078,9 +1078,9 @@ static int handle_opt_part(THD *thd, HA_CHECK_OPT *check_opt,
else if (flag == ANALYZE_PARTS)
error= file->analyze(thd, check_opt);
else if (flag == CHECK_PARTS)
error= file->check(thd, check_opt);
error= file->ha_check(thd, check_opt);
else if (flag == REPAIR_PARTS)
error= file->repair(thd, check_opt);
error= file->ha_repair(thd, check_opt);
else
{
DBUG_ASSERT(FALSE);