summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/r/blob_unique2pk.result
blob: c2c3241381e94deee3abd465c5c0ffe95caf90a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
create table t1 (f1 tinyblob not null) engine=innodb;
alter table t1 add unique index (f1(255));
drop table t1;
create table t1 (f1 tinyblob not null) engine=innodb;
alter table t1 add unique index (f1(356));
show create table t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `f1` tinyblob NOT NULL,
  UNIQUE KEY `f1` (`f1`(255))
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
drop table t1;
create table t1 (f1 point not null) engine=innodb;
alter table t1 add unique index (f1);
drop table t1;