~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/repair.test

  • 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
#
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
SHOW INDEX FROM t1;
47
 
SET myisam_repair_threads=@@global.myisam_repair_threads;
 
47
SET GLOBAL myisam_repair_threads=1;
48
48
DROP TABLE t1;
49
49
 
50
50
#
81
81
('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),
82
82
('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),
83
83
('0'),('0'),('0'),('0'),('0'),('0'),('0');
84
 
SET myisam_repair_threads=2;
 
84
SET GLOBAL myisam_repair_threads=2;
85
85
REPAIR TABLE t1;
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
 
110
110
('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),
111
111
('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),('0'),
112
112
('0'),('0'),('0'),('0'),('0'),('0'),('0');
113
 
SET myisam_repair_threads=2;
 
113
SET GLOBAL myisam_repair_threads=2;
114
114
REPAIR TABLE t1;
115
 
SET myisam_repair_threads=@@global.myisam_repair_threads;
 
115
SET GLOBAL myisam_repair_threads=1;
116
116
SET myisam_sort_buffer_size=@@global.myisam_sort_buffer_size;
117
117
DROP TABLE t1;
118
118