From 774e9927b6f05bdec0277513242663d198929a85 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 19 Dec 2002 16:50:48 +0400 Subject: [PATCH] ctype_many.result: COUNT(DISTINCT expr) and charset related test mysql-test/r/ctype_many.result: COUNT(DISTINCT expr) and charset related test --- mysql-test/r/ctype_many.result | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mysql-test/r/ctype_many.result b/mysql-test/r/ctype_many.result index 45fe91c096d..a483145e33a 100644 --- a/mysql-test/r/ctype_many.result +++ b/mysql-test/r/ctype_many.result @@ -336,6 +336,11 @@ CYR CAPIT SOFT SIGN CYR CAPIT E ü Э CYR CAPIT YU à Ю CYR CAPIT YA ñ Я +ALTER TABLE t1 ADD bin_f CHAR(32) BYTE NOT NULL; +UPDATE t1 SET bin_f=koi8_ru_f; +SELECT COUNT(DISTINCT bin_f),COUNT(DISTINCT koi8_ru_f),COUNT(DISTINCT utf8_f) FROM t1; +COUNT(DISTINCT bin_f) COUNT(DISTINCT koi8_ru_f) COUNT(DISTINCT utf8_f) +116 58 57 SELECT koi8_ru_f,MIN(comment) FROM t1 GROUP BY 1; koi8_ru_f MIN(comment) a LAT CAPIT A