diff options
author | unknown <knielsen@knielsen-hq.org> | 2012-08-24 13:57:39 +0200 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2012-08-24 13:57:39 +0200 |
commit | caa535eb9fa97bd7c2190292bb4a3a3c1aaa71e3 (patch) | |
tree | 443fee6698968975faaeadba6ca0d5a532667b18 /mysql-test/t/case.test | |
parent | 6c3a756dd92af851f421bd9791d4b6b95063b484 (diff) | |
parent | e44a800d91a887119d3b612276b37f09b076fee1 (diff) | |
download | mariadb-git-caa535eb9fa97bd7c2190292bb4a3a3c1aaa71e3.tar.gz |
Merge from 5.3
Diffstat (limited to 'mysql-test/t/case.test')
-rw-r--r-- | mysql-test/t/case.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/case.test b/mysql-test/t/case.test index 9d6cc7d375a..69a4cb71430 100644 --- a/mysql-test/t/case.test +++ b/mysql-test/t/case.test @@ -182,3 +182,13 @@ create table t1 (f1 time); insert t1 values ('00:00:00'),('00:01:00'); select case t1.f1 when '00:00:00' then 1 end from t1; drop table t1; + +# +# LP BUG#1001510 +# Bug #11764313 57135: CRASH IN ITEM_FUNC_CASE::FIND_ITEM WITH CASE WHEN +# ELSE CLAUSE +# + +CREATE TABLE t1(a YEAR); +SELECT 1 FROM t1 WHERE a=1 AND CASE 1 WHEN a THEN 1 ELSE 1 END; +DROP TABLE t1; |