List:Commits« Previous MessageNext Message »
From:Stewart Smith Date:June 30 2008 1:30am
Subject:bzr commit into mysql-6.0-backup branch (stewart:2646)
View as plain text  
#At file:///home/stewart/mysql/stew-encrypted-backup-preview1/

 2646 stewart@stripped	2008-06-30
      [patch 02/10] Basic backup and restore testThis can be used to easily find the (now fixed) bug of restore not working over 32kb.
added:
  mysql-test/r/backup_really_simple.result
  mysql-test/t/backup_really_simple.test

=== added file 'mysql-test/r/backup_really_simple.result'
--- a/mysql-test/r/backup_really_simple.result	1970-01-01 00:00:00 +0000
+++ b/mysql-test/r/backup_really_simple.result	2008-06-30 01:30:27 +0000
@@ -0,0 +1,19 @@
+create table t1 (a int);
+insert into t1 values (1),(2),(42),(3),(4),(1);
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+BACKUP DATABASE test TO 'test.ba';
+backup_id
+1
+use test;
+RESTORE FROM 'test.ba';
+backup_id
+2

=== added file 'mysql-test/t/backup_really_simple.test'
--- a/mysql-test/t/backup_really_simple.test	1970-01-01 00:00:00 +0000
+++ b/mysql-test/t/backup_really_simple.test	2008-06-30 01:30:27 +0000
@@ -0,0 +1,15 @@
+create table t1 (a int);
+insert into t1 values (1),(2),(42),(3),(4),(1);
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+insert into t1 select * from t1;
+BACKUP DATABASE test TO 'test.ba';
+use test;
+RESTORE FROM 'test.ba';

Thread
bzr commit into mysql-6.0-backup branch (stewart:2646) Stewart Smith30 Jun