1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

index name can't be used as key name without space character

This commit is contained in:
unknown
2002-03-22 16:25:22 +04:00
parent ac44fe1f12
commit d96a17ffd1
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ explain select * from t1 where a in (869751,736494,226312,802616);
table type possible_keys key key_len ref rows Extra
t1 range uniq_id uniq_id 4 NULL 4 where used; Using index
drop table t1;
create table t1 (x int not null, y int not null, key x(x), unique y(y))
create table t1 (x int not null, y int not null, key x (x), unique y (y))
type=heap;
insert into t1 values (1,1),(2,2),(1,3),(2,4),(2,5),(2,6);
select * from t1 where x=1;