~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to mysql-test/r/backup_multi_blocks.result

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DROP DATABASE IF EXISTS mysqltest;
 
2
Creating database and tables ...
 
3
CREATE DATABASE mysqltest;
 
4
USE mysqltest;
 
5
CREATE TABLE t1 (a LONGTEXT) ENGINE=MYISAM;
 
6
Inserting data ...
 
7
USE mysqltest;
 
8
INSERT INTO t1 VALUES ("text");
 
9
UPDATE t1 SET a=CONCAT(a,a);
 
10
UPDATE t1 SET a=CONCAT(a,a);
 
11
UPDATE t1 SET a=CONCAT(a,a);
 
12
UPDATE t1 SET a=CONCAT(a,a);
 
13
UPDATE t1 SET a=CONCAT(a,a);
 
14
UPDATE t1 SET a=CONCAT(a,a);
 
15
UPDATE t1 SET a=CONCAT(a,a);
 
16
UPDATE t1 SET a=CONCAT(a,a);
 
17
UPDATE t1 SET a=CONCAT(a,a);
 
18
UPDATE t1 SET a=CONCAT(a,a);
 
19
UPDATE t1 SET a=CONCAT(a,a);
 
20
UPDATE t1 SET a=CONCAT(a,a);
 
21
UPDATE t1 SET a=CONCAT(a,a);
 
22
SELECT LENGTH(a) FROM t1;
 
23
LENGTH(a)
 
24
32768
 
25
Performing backup ...
 
26
BACKUP DATABASE mysqltest TO 'test.ba';
 
27
backup_id
 
28
#;
 
29
DROP DATABASE mysqltest;
 
30
Performing restore ...
 
31
RESTORE FROM 'test.ba';
 
32
backup_id
 
33
#;
 
34
Checking contents of restore ...
 
35
SELECT LENGTH(a) FROM t1;
 
36
LENGTH(a)
 
37
32768
 
38
CHECKSUM TABLE t1;
 
39
Table   Checksum
 
40
mysqltest.t1    3394496868
 
41
Clean-up
 
42
DROP DATABASE mysqltest;