mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
46a22a5be7
fixed bug in mysql-test/create-test-result fixed bug in union-subselect engine
14 lines
465 B
Text
14 lines
465 B
Text
drop table if exists t1;
|
|
CREATE TABLE t1 (id CHAR(12) not null, PRIMARY KEY (id));
|
|
insert into t1 values ('000000000001'),('000000000002');
|
|
explain select * from t1 where id=000000000001;
|
|
id select_type table type possible_keys key key_len ref rows Extra
|
|
1 FIRST t1 index PRIMARY PRIMARY 12 NULL 2 where used; Using index
|
|
select * from t1 where id=000000000001;
|
|
id
|
|
000000000001
|
|
delete from t1 where id=000000000002;
|
|
select * from t1;
|
|
id
|
|
000000000001
|
|
drop table t1;
|