summaryrefslogtreecommitdiff
path: root/mysql-test/main/long_unique.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/long_unique.test')
-rw-r--r--mysql-test/main/long_unique.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/mysql-test/main/long_unique.test b/mysql-test/main/long_unique.test
index 11ab5038809..6016c168c36 100644
--- a/mysql-test/main/long_unique.test
+++ b/mysql-test/main/long_unique.test
@@ -1,6 +1,10 @@
let datadir=`select @@datadir`;
--source include/have_partition.inc
+#
+# MDEV-371 Unique indexes for blobs
+#
+
--echo #Structure of tests
--echo #First we will check all option for
--echo #table containing single unique column
@@ -475,7 +479,7 @@ drop table t1;
--error ER_BLOB_FIELD_IN_PART_FUNC_ERROR
create table t1(a blob unique) partition by hash(a);
--echo #key length > 2^16 -1
---error ER_TOO_LONG_HASH_KEYSEG
+--error ER_TOO_LONG_KEYPART
create table t1(a blob, unique(a(65536)));
create table t1(a blob, unique(a(65535)));
show create table t1;