summaryrefslogtreecommitdiff
path: root/mysql-test/t/explain.test
diff options
context:
space:
mode:
authorunknown <bar@bar.intranet.mysql.r18.ru>2004-05-14 13:08:22 +0500
committerunknown <bar@bar.intranet.mysql.r18.ru>2004-05-14 13:08:22 +0500
commit375825aab0a373e4e4dd39a3770b77c0f96921b4 (patch)
tree9f412a87be87b312ec358f27c4d210b6b3936526 /mysql-test/t/explain.test
parent3226b9fae557cc8ef952acbe47ceb744cc4eabdc (diff)
downloadmariadb-git-375825aab0a373e4e4dd39a3770b77c0f96921b4.tar.gz
Bug #3403 Wrong encoding in EXPLAIN SELECT output
Diffstat (limited to 'mysql-test/t/explain.test')
-rw-r--r--mysql-test/t/explain.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/explain.test b/mysql-test/t/explain.test
index ff1803368b9..050939e5ad2 100644
--- a/mysql-test/t/explain.test
+++ b/mysql-test/t/explain.test
@@ -30,3 +30,14 @@ explain select count(*) from t1;
insert into t1 values(1);
explain select count(*) from t1;
drop table t1;
+
+#
+# Bug #3403 Wrong encoding in EXPLAIN SELECT output
+#
+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;
+drop table таб;
+set names latin1;