286
286
# create dedicated error code for this and
287
287
# and change my_printf_error() to my_error
290
290
create table t1 (c char(10), index (c(0)));
293
293
# Bug #6126: Duplicate columns in keys should fail
297
297
create table t1 (c char(10), index (c,c));
299
299
create table t1 (c1 char(10), c2 char(10), index (c1,c2,c1));
301
301
create table t1 (c1 char(10), c2 char(10), index (c1,c1,c2));
303
303
create table t1 (c1 char(10), c2 char(10), index (c2,c1,c1));
304
304
create table t1 (c1 char(10), c2 char(10));
306
306
alter table t1 add key (c1,c1);
308
308
alter table t1 add key (c2,c1,c1);
310
310
alter table t1 add key (c1,c2,c1);
312
312
alter table t1 add key (c1,c1,c2);