summaryrefslogtreecommitdiff
path: root/mysql-test/t/myisam.test
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-01-21 21:43:41 +0100
committerunknown <serg@serg.mylan>2004-01-21 21:43:41 +0100
commit2c3fdcf749b57d4b168710606c84f42943a4ad24 (patch)
treea4551da14164e53b019f30aa32bb9bc0fc5bc83f /mysql-test/t/myisam.test
parentdb77cba56687f545a200283d3eb1044157f95e50 (diff)
downloadmariadb-git-2c3fdcf749b57d4b168710606c84f42943a4ad24.tar.gz
test case for MyISAM sort-repair bug
Diffstat (limited to 'mysql-test/t/myisam.test')
-rw-r--r--mysql-test/t/myisam.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/myisam.test b/mysql-test/t/myisam.test
index 12853cd67ca..7ad038bcad0 100644
--- a/mysql-test/t/myisam.test
+++ b/mysql-test/t/myisam.test
@@ -385,3 +385,12 @@ insert into t1 (b) values (repeat('z',100));
update t1 set b="test" where left(b,1) > 'n';
check table t1;
drop table t1;
+
+#
+# sort-repair bug
+#
+create table t1 ( a text not null, key a (a(20)));
+insert into t1 values ('aaa '),('aaa');
+repair table t1;
+drop table t1;
+