List:Commits« Previous MessageNext Message »
From:Chuck Bell Date:June 25 2008 12:25pm
Subject:RE: bzr commit into mysql-6.0-backup branch (jorgen.loland:2639) Bug#34868
View as plain text  
Jorgen,

Patch approved pending minor request: 

> +CREATE PROCEDURE p1() SET @a=5;
> +CREATE PROCEDURE p2() SET @a=5;

Please change the procedure body so that they do something different. Like
p2 @a=100.


> +
> +--echo
> +--echo Check that procedures are there before the backup
> +
> +CALL p1();
> +CALL p2();

Please display the results here some way so we know the procedures worked.

> +
> +--echo
> +--echo Backup and restore
> +
> +--replace_column 1 #
> +BACKUP DATABASE bup_proc to 'bup_proc.bak'; DROP DATABASE bup_proc; 
> +--replace_column 1 # RESTORE FROM 'bup_proc.bak';
> +
> +--echo
> +--echo Check that procedures are there after the restore
> +
> +CALL p1();
> +CALL p2();

Please display the results here some way so we know the procedures worked.

The reason for displaying the effects of the procedures is so that we know
they restored correctly. 

Chuck

Thread
bzr commit into mysql-6.0-backup branch (jorgen.loland:2639) Bug#34868Jorgen Loland24 Jun
  • Re: bzr commit into mysql-6.0-backup branch (jorgen.loland:2639)Bug#34868Rafal Somla25 Jun
  • RE: bzr commit into mysql-6.0-backup branch (jorgen.loland:2639) Bug#34868Chuck Bell25 Jun