diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2002-12-24 14:33:11 +0200 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2002-12-24 14:33:11 +0200 |
commit | 8753e655d93f7616220132f13b8ea426e4f4cea7 (patch) | |
tree | 9970b0a50ab943bf9e955f1831290b932043417f /mysql-test/r | |
parent | f0a3a93741724884b80f0eede0dac4074a24a25c (diff) | |
download | mariadb-git-8753e655d93f7616220132f13b8ea426e4f4cea7.tar.gz |
fix for an error in the merge from 3.23
Diffstat (limited to 'mysql-test/r')
-rw-r--r-- | mysql-test/r/case.result | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/case.result b/mysql-test/r/case.result index 183e2692d7a..e5fc7218c50 100644 --- a/mysql-test/r/case.result +++ b/mysql-test/r/case.result @@ -63,7 +63,12 @@ nothing 2 one 1 two 1 drop table t1; +drop table if exists t1; +create table t1 (row int not null, col int not null, val varchar(255) not null); +insert into t1 values (1,1,'orange'),(1,2,'large'),(2,1,'yellow'),(2,2,'medium'),(3,1,'green'),(3,2,'small'); +select max(case col when 1 then val else null end) as color from t1 group by row; color orange yellow green +drop table if exists t1; |