summaryrefslogtreecommitdiff
path: root/mysql-test/t/repair.test
diff options
context:
space:
mode:
authorunknown <svoj@may.pils.ru>2006-08-14 18:08:33 +0500
committerunknown <svoj@may.pils.ru>2006-08-14 18:08:33 +0500
commit867f736815e1359b22a909bd185e7010da27e5fc (patch)
tree1efaf1760a4ca01f8f126b48d7f935b972bba254 /mysql-test/t/repair.test
parent6071b686b179d1fcc96cd6ccce940d62bd509c70 (diff)
parentf6d7985a5b4a5c7d94cb04ba003dfa411cf0d3f2 (diff)
downloadmariadb-git-867f736815e1359b22a909bd185e7010da27e5fc.tar.gz
Merge may.pils.ru:/home/svoj/devel/mysql/BUG18874/mysql-4.1
into may.pils.ru:/home/svoj/devel/mysql/BUG18874/mysql-5.0 myisam/sort.c: Auto merged mysql-test/r/repair.result: Auto merged mysql-test/t/repair.test: Auto merged
Diffstat (limited to 'mysql-test/t/repair.test')
-rw-r--r--mysql-test/t/repair.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/repair.test b/mysql-test/t/repair.test
index 16e1d76d460..91a7442226a 100644
--- a/mysql-test/t/repair.test
+++ b/mysql-test/t/repair.test
@@ -34,4 +34,15 @@ repair table t1;
repair table t1 use_frm;
drop table t1;
+#
+# BUG#18874 - Setting myisam_repair_threads > 1, index cardinality always 1
+#
+CREATE TABLE t1(a INT, KEY(a));
+INSERT INTO t1 VALUES(1),(2),(3),(4),(5);
+SET myisam_repair_threads=2;
+REPAIR TABLE t1;
+SHOW INDEX FROM t1;
+SET myisam_repair_threads=@@global.myisam_repair_threads;
+DROP TABLE t1;
+
# End of 4.1 tests