~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/repair.result

  • Committer: Brian Aker
  • Date: 2008-12-30 01:43:46 UTC
  • Revision ID: brian@tangent.org-20081230014346-mkfcl2j3iojpco63
Converted myisam_repair_threads to being in module for MyISAM

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
drop table t1;
42
42
CREATE TABLE t1(a INT, KEY(a)) ENGINE=MyISAM;
43
43
INSERT INTO t1 VALUES(1),(2),(3),(4),(5);
44
 
SET myisam_repair_threads=2;
 
44
SET GLOBAL myisam_repair_threads=2;
45
45
REPAIR TABLE t1;
46
46
Table   Op      Msg_type        Msg_text
47
47
test.t1 repair  status  OK
48
48
SHOW INDEX FROM t1;
49
49
Table   Non_unique      Key_name        Seq_in_index    Column_name     Collation       Cardinality     Sub_part        Packed  Null    Index_type      Comment Index_Comment
50
50
t1      1       a       1       a       A       5       NULL    NULL    YES     BTREE           
51
 
SET myisam_repair_threads=@@global.myisam_repair_threads;
 
51
SET GLOBAL myisam_repair_threads=1;
52
52
DROP TABLE t1;
53
53
CREATE TABLE t1(a INT) ENGINE=MyISAM;
54
54
USE mysql;
77
77
('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),
78
78
('0'),('0'),('0'),('0'),('0'),('0'),('0');
79
79
ERROR HY000: myisam_sort_buffer_size is too small
80
 
SET myisam_repair_threads=2;
 
80
SET GLOBAL myisam_repair_threads=2;
81
81
REPAIR TABLE t1;
82
82
Table   Op      Msg_type        Msg_text
83
83
test.t1 repair  error   myisam_sort_buffer_size is too small
84
84
test.t1 repair  warning Number of rows changed from 0 to 157
85
85
test.t1 repair  status  OK
86
 
SET myisam_repair_threads=@@global.myisam_repair_threads;
 
86
SET GLOBAL myisam_repair_threads=1;
87
87
SET myisam_sort_buffer_size=@@global.myisam_sort_buffer_size;
88
88
DROP TABLE t1;
89
89
CREATE TABLE t1(a CHAR(255), KEY(a)) ENGINE=MyISAM;
105
105
('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),
106
106
('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),
107
107
('0'),('0'),('0'),('0'),('0'),('0'),('0');
108
 
SET myisam_repair_threads=2;
 
108
SET GLOBAL myisam_repair_threads=2;
109
109
REPAIR TABLE t1;
110
110
Table   Op      Msg_type        Msg_text
111
111
test.t1 repair  status  OK
112
 
SET myisam_repair_threads=@@global.myisam_repair_threads;
 
112
SET GLOBAL myisam_repair_threads=1;
113
113
SET myisam_sort_buffer_size=@@global.myisam_sort_buffer_size;
114
114
DROP TABLE t1;
115
115
End of 4.1 tests