summaryrefslogtreecommitdiff
path: root/mysql-test/r/distinct.result
diff options
context:
space:
mode:
authorigor@olga.mysql.com <>2007-04-11 15:12:49 -0700
committerigor@olga.mysql.com <>2007-04-11 15:12:49 -0700
commite04289704d10c627099cee7600d95baff960aff5 (patch)
tree745c1c31dac527903107001ecc721039f66d0e96 /mysql-test/r/distinct.result
parent26d2908c70a259561d307e54f1b1320bb640bd00 (diff)
parent4bf11f99eb82e37b575bc83db71e021cdfd5cf9f (diff)
downloadmariadb-git-e04289704d10c627099cee7600d95baff960aff5.tar.gz
Merge olga.mysql.com:/home/igor/mysql-5.0-opt
into olga.mysql.com:/home/igor/mysql-5.1-opt
Diffstat (limited to 'mysql-test/r/distinct.result')
-rw-r--r--mysql-test/r/distinct.result14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/r/distinct.result b/mysql-test/r/distinct.result
index 109ddcd02e1..20538694218 100644
--- a/mysql-test/r/distinct.result
+++ b/mysql-test/r/distinct.result
@@ -668,3 +668,17 @@ NULL
3
4
DROP TABLE t1;
+CREATE TABLE t1 (a INT, b INT);
+INSERT INTO t1 VALUES(1,1),(1,2),(1,3);
+SELECT DISTINCT a, b FROM t1;
+a b
+1 1
+1 2
+1 3
+SELECT DISTINCT a, a, b FROM t1;
+a a b
+1 1 1
+1 1 2
+1 1 3
+DROP TABLE t1;
+End of 5.0 tests