mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Bug #3403 Wrong encoding in EXPLAIN SELECT output
This commit is contained in:
parent
3226b9fae5
commit
375825aab0
3 changed files with 23 additions and 3 deletions
|
|
@ -44,3 +44,12 @@ explain select count(*) from t1;
|
|||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL Select tables optimized away
|
||||
drop table t1;
|
||||
set names koi8r;
|
||||
create table ÔÁÂ (ËÏÌ0 int, ËÏÌ1 int, key ÉÎÄ0 (ËÏÌ0), key ÉÎÄ01 (ËÏÌ0,ËÏÌ1));
|
||||
insert into ÔÁÂ (ËÏÌ0) values (1);
|
||||
insert into ÔÁÂ (ËÏÌ0) values (2);
|
||||
explain select ËÏÌ0 from ÔÁÂ where ËÏÌ0=1;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE ÔÁÂ ref ÉÎÄ0,ÉÎÄ01 ÉÎÄ0 5 const 1 Using where; Using index
|
||||
drop table ÔÁÂ;
|
||||
set names latin1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue