summaryrefslogtreecommitdiff
path: root/mysql-test/main/long_unique_bugs.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/long_unique_bugs.test')
-rw-r--r--mysql-test/main/long_unique_bugs.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/main/long_unique_bugs.test b/mysql-test/main/long_unique_bugs.test
index 34d02b1c8f4..b38ce881802 100644
--- a/mysql-test/main/long_unique_bugs.test
+++ b/mysql-test/main/long_unique_bugs.test
@@ -368,3 +368,9 @@ show index from t2;
# Cleanup
DROP TABLE t1,t2;
+
+#
+# MDEV-20131 Assertion `!pk->has_virtual ()' failed in instant_alter_column_possible
+# (.opt file is created which will make innodb_page_size=8k)
+--error ER_TOO_LONG_KEY
+CREATE TABLE t2 (a TEXT, PRIMARY KEY(a(1871))) ENGINE=InnoDB;