Commit 454339b2 authored by monty@hundin.mysql.fi's avatar monty@hundin.mysql.fi

Fixes after last merge

parent 3ef9d44e
...@@ -46,3 +46,9 @@ select sum(if(num is null,0.00,num)) from t1; ...@@ -46,3 +46,9 @@ select sum(if(num is null,0.00,num)) from t1;
sum(if(num is null,0.00,num)) sum(if(num is null,0.00,num))
144.54 144.54
drop table t1; 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;
...@@ -309,7 +309,7 @@ innobase_mysql_print_thd( ...@@ -309,7 +309,7 @@ innobase_mysql_print_thd(
buf[0]='\n'; buf[0]='\n';
buf[1]=0; buf[1]=0;
ut_a(strlen(old_buf) < 400); ut_a(strlen(buf) < 400);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment