summaryrefslogtreecommitdiff
path: root/mysql-test/t/key.test
diff options
context:
space:
mode:
authorevgen@moonbone.local <>2006-06-23 14:53:41 +0400
committerevgen@moonbone.local <>2006-06-23 14:53:41 +0400
commit9a9224da681dcbce7cfc34593e5b0c8db44900e2 (patch)
tree17b57202e437e09d93179136aeadc40584fbf333 /mysql-test/t/key.test
parent3ef768b7635e2971f9adeac203d011abe4d66777 (diff)
parentcfb08851f71624cdd08bdff3bab4466fb2ad8b0b (diff)
downloadmariadb-git-9a9224da681dcbce7cfc34593e5b0c8db44900e2.tar.gz
Merge moonbone.local:/work/tmp_merge-4.1-opt-mysql
into moonbone.local:/work/tmp_merge-5.0-opt-mysql
Diffstat (limited to 'mysql-test/t/key.test')
-rw-r--r--mysql-test/t/key.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/key.test b/mysql-test/t/key.test
index 31763b84379..e7072ae29f6 100644
--- a/mysql-test/t/key.test
+++ b/mysql-test/t/key.test
@@ -326,6 +326,17 @@ alter table t1 add key (c1,c1,c2);
drop table t1;
#
+# Bug#11228: DESC shows arbitrary column as "PRI"
+#
+create table t1 (
+ i1 INT NOT NULL,
+ i2 INT NOT NULL,
+ UNIQUE i1idx (i1),
+ UNIQUE i2idx (i2));
+desc t1;
+drop table t1;
+
+#
# Bug#12565 - ERROR 1034 when running simple UPDATE or DELETE
# on large MyISAM table
#