~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2013-12-22 10:27:05 UTC
  • Revision ID: package-import@ubuntu.com-20131222102705-mndw7s12mz0szrcn
Tags: upstream-5.5.32
Import upstream version 5.5.32

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
drop table if exists t1,t2;
 
2
drop view if exists v1;
 
3
create table t1(n int not null, key(n), key(n), key(n), key(n));
 
4
check table t1 extended;
 
5
insert into t1 values (200000);
 
6
Table   Op      Msg_type        Msg_text
 
7
test.t1 check   status  OK
 
8
drop table t1;
 
9
Create table t1(f1 int);
 
10
Create table t2(f1 int);
 
11
Create view v1 as Select * from t1;
 
12
Check Table v1,t2;
 
13
Table   Op      Msg_type        Msg_text
 
14
test.v1 check   status  OK
 
15
test.t2 check   status  OK
 
16
drop view v1;
 
17
drop table t1, t2;
 
18
CREATE TEMPORARY TABLE t1(a INT);
 
19
CHECK TABLE t1;
 
20
Table   Op      Msg_type        Msg_text
 
21
test.t1 check   status  OK
 
22
REPAIR TABLE t1;
 
23
Table   Op      Msg_type        Msg_text
 
24
test.t1 repair  status  OK
 
25
DROP TABLE t1;
 
26
#
 
27
# Bug#56422 CHECK TABLE run when the table is locked reports corruption
 
28
#           along with timeout
 
29
#
 
30
DROP TABLE IF EXISTS t1;
 
31
CREATE TABLE t1(a INT);
 
32
LOCK TABLE t1 WRITE;
 
33
# Connection con1
 
34
SET lock_wait_timeout= 1;
 
35
CHECK TABLE t1;
 
36
Table   Op      Msg_type        Msg_text
 
37
test.t1 check   Error   Lock wait timeout exceeded; try restarting transaction
 
38
test.t1 check   status  Operation failed
 
39
# Connection default
 
40
UNLOCK TABLES;
 
41
DROP TABLE t1;