diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-02-21 22:42:00 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-02-22 12:33:08 +0100 |
commit | bd7f7b14163d0696aa92c90deeab16d63ae6bbd6 (patch) | |
tree | 4548b3da88d7d5231cc936a5d7f281379f1ad9e6 /mysql-test/main/long_unique.result | |
parent | f6000782fbcd8c0576cb89737ad66902f6113966 (diff) | |
download | mariadb-git-bd7f7b14163d0696aa92c90deeab16d63ae6bbd6.tar.gz |
MDEV-371 Unique Index for long columns
post-merge fixes
Diffstat (limited to 'mysql-test/main/long_unique.result')
-rw-r--r-- | mysql-test/main/long_unique.result | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/main/long_unique.result b/mysql-test/main/long_unique.result index 38ec65700a0..082eb4302ee 100644 --- a/mysql-test/main/long_unique.result +++ b/mysql-test/main/long_unique.result @@ -1387,13 +1387,13 @@ create table t1(a blob unique) partition by hash(a); ERROR HY000: A BLOB field is not allowed in partition function #key length > 2^16 -1 create table t1(a blob, unique(a(65536))); -ERROR HY000: Max key segment length is 65535 +ERROR 42000: Specified key part was too long; max key part length is 65535 bytes create table t1(a blob, unique(a(65535))); show create table t1; Table Create Table t1 CREATE TABLE `t1` ( `a` blob DEFAULT NULL, - UNIQUE KEY `a` (`a`) USING HASH + UNIQUE KEY `a` (`a`(65535)) USING HASH ) ENGINE=MyISAM DEFAULT CHARSET=latin1 drop table t1; #64 indexes |