diff options
author | sergefp@mysql.com <> | 2005-06-20 11:43:38 +0200 |
---|---|---|
committer | sergefp@mysql.com <> | 2005-06-20 11:43:38 +0200 |
commit | ef85deab927e73be671d2adc6d0b2bf72e2909a4 (patch) | |
tree | d7414859ad9adf0e5ac7dce1ff50a30b66e1b866 /mysql-test/r/case.result | |
parent | 917276f2541fde10e117a3e785f2b38d30cdd37d (diff) | |
download | mariadb-git-ef85deab927e73be671d2adc6d0b2bf72e2909a4.tar.gz |
Fix for BUG#10151: In Item_func_case::find_item don't assume that parameter str != &(this->str_value)
Diffstat (limited to 'mysql-test/r/case.result')
-rw-r--r-- | mysql-test/r/case.result | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/r/case.result b/mysql-test/r/case.result index 541560afd36..fb0bc19a67e 100644 --- a/mysql-test/r/case.result +++ b/mysql-test/r/case.result @@ -154,3 +154,18 @@ t1 CREATE TABLE `t1` ( `COALESCE('a' COLLATE latin1_bin,'b')` char(1) character set latin1 collate latin1_bin NOT NULL default '' ) ENGINE=MyISAM DEFAULT CHARSET=latin1 DROP TABLE t1; +SELECT 'case+union+test' +UNION +SELECT CASE LOWER('1') WHEN LOWER('2') THEN 'BUG' ELSE 'nobug' END; +case+union+test +case+union+test +nobug +SELECT CASE LOWER('1') WHEN LOWER('2') THEN 'BUG' ELSE 'nobug' END; +CASE LOWER('1') WHEN LOWER('2') THEN 'BUG' ELSE 'nobug' END +nobug +SELECT 'case+union+test' +UNION +SELECT CASE '1' WHEN '2' THEN 'BUG' ELSE 'nobug' END; +case+union+test +case+union+test +nobug |