Hi Jorgen,
Good to push.
R.
Jorgen Loland wrote:
> #At file:///localhome/jl208045/mysql/mysql-6.0-backup-33569/
>
> 2777 Jorgen Loland 2009-02-23
> Bug#33569 - Backup: tablespace not restored
>
> Previously, RESTORE had a lot of restrictions for when an existing tablespace
> the restore depended upon could be used. Basically, the "create tablespace" statements had
> to be equal case-sensitive Strings, or RESTORE would error.
>
> There is no need for this kind of restriction. If RESTORE requires a tablespace
> 'x' to restore a table, it should use the existing one if a tablespace with name 'x'
> exists. Otherwise, the tablespace should be created using the backed up definition.
> modified:
> mysql-test/suite/backup/r/backup_object_count.result
> mysql-test/suite/backup/r/backup_tablespace.result
> mysql-test/suite/backup/t/backup_object_count.test
> mysql-test/suite/backup/t/backup_tablespace.test
> sql/backup/kernel.cc
>