diff options
author | sergefp@mysql.com <> | 2005-06-23 19:05:36 +0200 |
---|---|---|
committer | sergefp@mysql.com <> | 2005-06-23 19:05:36 +0200 |
commit | f1085fb3bef15ffc49d01b7b7ab93f0e44efa15d (patch) | |
tree | e0afc2c296413ff6fa8f5eea640a265be1b2cc77 /mysql-test/t/case.test | |
parent | 7e7987eed9fcae293e24bc204ca30c3a4582902e (diff) | |
parent | ef85deab927e73be671d2adc6d0b2bf72e2909a4 (diff) | |
download | mariadb-git-f1085fb3bef15ffc49d01b7b7ab93f0e44efa15d.tar.gz |
Merge
Diffstat (limited to 'mysql-test/t/case.test')
-rw-r--r-- | mysql-test/t/case.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/case.test b/mysql-test/t/case.test index f2cfce9085d..e942333d5fe 100644 --- a/mysql-test/t/case.test +++ b/mysql-test/t/case.test @@ -111,6 +111,17 @@ explain extended SELECT SHOW CREATE TABLE t1; DROP TABLE t1; +# Test for BUG#10151 +SELECT 'case+union+test' +UNION +SELECT CASE LOWER('1') WHEN LOWER('2') THEN 'BUG' ELSE 'nobug' END; + +SELECT CASE LOWER('1') WHEN LOWER('2') THEN 'BUG' ELSE 'nobug' END; + +SELECT 'case+union+test' +UNION +SELECT CASE '1' WHEN '2' THEN 'BUG' ELSE 'nobug' END; + # # Tests for bug #9939: conversion of the arguments for COALESCE and IFNULL # |