1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fixes after last merge

mysql-test/r/func_if.result:
  Fixed results after merge
sql/ha_innodb.cc:
  fixed typo after merge
This commit is contained in:
unknown
2002-08-12 07:02:08 +03:00
parent 514e60480d
commit 689a438746
2 changed files with 7 additions and 1 deletions

View File

@ -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;