| 1 |
--source include/have_innodb.inc |
| 2 |
|
| 3 |
|
| 4 |
# |
| 5 |
# Bug#16368875 INNODB: FAILING ASSERTION: PRIMARY_KEY_NO == -1 || PRIMARY_KEY_NO == 0 |
| 6 |
# |
| 7 |
create table t1 (f1 tinyblob not null) engine=innodb; |
| 8 |
alter table t1 add unique index (f1(255)); |
| 9 |
drop table t1; |
| 10 |
|
| 11 |
create table t1 (f1 tinyblob not null) engine=innodb; |
| 12 |
alter table t1 add unique index (f1(356)); |
| 13 |
show create table t1; |
| 14 |
drop table t1; |
| 15 |
|
| 16 |
create table t1 (f1 point not null) engine=innodb; |
| 17 |
alter table t1 add unique index (f1); |
| 18 |
drop table t1; |
| 19 |
|
| 20 |
|