summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorunknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru>2007-10-29 20:31:03 +0400
committerunknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru>2007-10-29 20:31:03 +0400
commitfe68d102fb0143351e278aefdb6d0c9e797d031f (patch)
tree19270622324115e37b12d734f16d734bf86bb1d8 /mysql-test/include
parentbe04193c09201326109cae19f0fc5321956b6026 (diff)
downloadmariadb-git-fe68d102fb0143351e278aefdb6d0c9e797d031f.tar.gz
after-merge fix-up.
Diffstat (limited to 'mysql-test/include')
-rw-r--r--mysql-test/include/mix1.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/include/mix1.inc b/mysql-test/include/mix1.inc
index aee5613ff35..4d910e86e0f 100644
--- a/mysql-test/include/mix1.inc
+++ b/mysql-test/include/mix1.inc
@@ -1019,6 +1019,15 @@ SELECT * FROM t1 ORDER BY b DESC, a ASC;
DROP TABLE t1;
+#
+# Bug #31137: Assertion failed: primary_key_no == -1 || primary_key_no == 0
+#
+create table t1(a char(10) not null, unique key aa(a(1)),
+ b char(4) not null, unique key bb(b(4))) engine=innodb;
+desc t1;
+show create table t1;
+drop table t1;
+
--echo End of 5.0 tests
# Fix for BUG#19243 "wrong LAST_INSERT_ID() after ON DUPLICATE KEY