summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_if.result
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-08-12 07:02:08 +0300
committerunknown <monty@hundin.mysql.fi>2002-08-12 07:02:08 +0300
commit689a43874659ca5714edcd5effd3dcef2e3930cb (patch)
tree9e11aafdd1181f916b001d220350797b71c91612 /mysql-test/r/func_if.result
parent514e60480d77236aedb1ab69c0e7754e060e495a (diff)
downloadmariadb-git-689a43874659ca5714edcd5effd3dcef2e3930cb.tar.gz
Fixes after last merge
mysql-test/r/func_if.result: Fixed results after merge sql/ha_innodb.cc: fixed typo after merge
Diffstat (limited to 'mysql-test/r/func_if.result')
-rw-r--r--mysql-test/r/func_if.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/func_if.result b/mysql-test/r/func_if.result
index 16fb0358d51..0ab41258091 100644
--- a/mysql-test/r/func_if.result
+++ b/mysql-test/r/func_if.result
@@ -46,3 +46,9 @@ select sum(if(num is null,0.00,num)) from t1;
sum(if(num is null,0.00,num))
144.54
drop table t1;
+create table t1 (x int, y int);
+insert into t1 values (0,6),(10,16),(20,26),(30,10),(40,46),(50,56);
+select min(if(y -x > 5,y,NULL)), max(if(y - x > 5,y,NULL)) from t1;
+min(if(y -x > 5,y,NULL)) max(if(y - x > 5,y,NULL))
+6 56
+drop table t1;