List:Commits« Previous MessageNext Message »
From:Chuck Bell Date:March 5 2009 9:29pm
Subject:Re: bzr commit into mysql-6.0-backup branch (jorgen.loland:2784)
Bug#42402
View as plain text  
STATUS
------
Approved.

DETAILS
-------
>       Bug#42402 - Restore crashes server if tablespace does not exist
>       
>       Before, RESTORE would crash if the backup image contained tables originally
> stored in a tablespace that no longer exists at RESTORE time.
>       
>       With this patch, the tablespace is recreated like it was at BACKUP time if it
> does not exist when RESTORE is executed.
> modified:
>   mysql-test/suite/backup/r/backup_tablespace.result
>   mysql-test/suite/backup/t/backup_tablespace.test
>   sql/backup/kernel.cc
>   sql/si_objects.cc
> 
> per-file messages:
>   mysql-test/suite/backup/r/backup_tablespace.result
>     Add test for RESTORE after dropping a dependant tablespace
>   mysql-test/suite/backup/t/backup_tablespace.test
>     Add test for RESTORE after dropping a dependant tablespace
>   sql/backup/kernel.cc
>     Fix multiline if-block without {...}
>   sql/si_objects.cc
>     Make find_tablespace return NULL if the tablespace does not exist on the server.

Chuck
Thread
bzr commit into mysql-6.0-backup branch (jorgen.loland:2784) Bug#42402Jorgen Loland5 Mar
  • Re: bzr commit into mysql-6.0-backup branch (jorgen.loland:2784)Bug#42402Chuck Bell5 Mar
  • Re: bzr commit into mysql-6.0-backup branch (jorgen.loland:2784)Bug#42402Rafal Somla6 Mar