Commit 5a9864a2 authored by unknown's avatar unknown

Merge bk-internal:/home/bk/mysql-5.1-new-maint

into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
parents 2fbaf031 72fadccd
...@@ -1171,11 +1171,11 @@ i count(*) std(s1/s2) ...@@ -1171,11 +1171,11 @@ i count(*) std(s1/s2)
1 4 0.00000000 1 4 0.00000000
2 4 0.00000000 2 4 0.00000000
3 4 0.00000000 3 4 0.00000000
select i, count(*), std(o1/o2) from bug22555 group by i order by i; select i, count(*), round(std(o1/o2), 16) from bug22555 group by i order by i;
i count(*) std(o1/o2) i count(*) round(std(o1/o2), 16)
1 4 0 1 4 0.0000000000000000
2 4 0 2 4 0.0000000000000000
3 4 0 3 4 0.0000000000000000
select i, count(*), std(e1/e2) from bug22555 group by i order by i; select i, count(*), std(e1/e2) from bug22555 group by i order by i;
i count(*) std(e1/e2) i count(*) std(e1/e2)
1 4 0.00000000 1 4 0.00000000
...@@ -1197,11 +1197,11 @@ i count(*) std(s1/s2) ...@@ -1197,11 +1197,11 @@ i count(*) std(s1/s2)
1 4 0.000000000000000000000000000000 1 4 0.000000000000000000000000000000
2 4 0.000000000000000000000000000000 2 4 0.000000000000000000000000000000
3 4 0.000000000000000000000000000000 3 4 0.000000000000000000000000000000
select i, count(*), std(o1/o2) from bug22555 group by i order by i; select i, count(*), round(std(o1/o2), 16) from bug22555 group by i order by i;
i count(*) std(o1/o2) i count(*) round(std(o1/o2), 16)
1 4 0 1 4 0.0000000000000000
2 4 0 2 4 0.0000000000000000
3 4 0 3 4 0.0000000000000000
select i, count(*), std(e1/e2) from bug22555 group by i order by i; select i, count(*), std(e1/e2) from bug22555 group by i order by i;
i count(*) std(e1/e2) i count(*) std(e1/e2)
1 4 0.000000000000000000000000000000 1 4 0.000000000000000000000000000000
...@@ -1222,11 +1222,11 @@ i count(*) std(s1/s2) ...@@ -1222,11 +1222,11 @@ i count(*) std(s1/s2)
1 4 0.000000000000000000000000000000 1 4 0.000000000000000000000000000000
2 4 0.000000000000000000000000000000 2 4 0.000000000000000000000000000000
3 4 0.000000000000000000000000000000 3 4 0.000000000000000000000000000000
select i, count(*), std(o1/o2) from bug22555 group by i order by i; select i, count(*), round(std(o1/o2), 16) from bug22555 group by i order by i;
i count(*) std(o1/o2) i count(*) round(std(o1/o2), 16)
1 4 0 1 4 0.0000000000000000
2 4 0 2 4 0.0000000000000000
3 4 0 3 4 0.0000000000000000
select i, count(*), std(e1/e2) from bug22555 group by i order by i; select i, count(*), std(e1/e2) from bug22555 group by i order by i;
i count(*) std(e1/e2) i count(*) std(e1/e2)
1 4 0.000000000000000000000000000000 1 4 0.000000000000000000000000000000
......
...@@ -754,7 +754,7 @@ insert into bug22555 values (1,53,78,53,78,53,78),(2,17,78,17,78,17,78),(3,18,76 ...@@ -754,7 +754,7 @@ insert into bug22555 values (1,53,78,53,78,53,78),(2,17,78,17,78,17,78),(3,18,76
insert into bug22555 values (1,53,78,53,78,53,78),(2,17,78,17,78,17,78),(3,18,76,18,76,18,76); insert into bug22555 values (1,53,78,53,78,53,78),(2,17,78,17,78,17,78),(3,18,76,18,76,18,76);
select i, count(*), std(s1/s2) from bug22555 group by i order by i; select i, count(*), std(s1/s2) from bug22555 group by i order by i;
select i, count(*), std(o1/o2) from bug22555 group by i order by i; select i, count(*), round(std(o1/o2), 16) from bug22555 group by i order by i;
select i, count(*), std(e1/e2) from bug22555 group by i order by i; select i, count(*), std(e1/e2) from bug22555 group by i order by i;
select std(s1/s2) from bug22555; select std(s1/s2) from bug22555;
select std(o1/o2) from bug22555; select std(o1/o2) from bug22555;
...@@ -762,14 +762,14 @@ select std(e1/e2) from bug22555; ...@@ -762,14 +762,14 @@ select std(e1/e2) from bug22555;
set @saved_div_precision_increment=@@div_precision_increment; set @saved_div_precision_increment=@@div_precision_increment;
set div_precision_increment=19; set div_precision_increment=19;
select i, count(*), std(s1/s2) from bug22555 group by i order by i; select i, count(*), std(s1/s2) from bug22555 group by i order by i;
select i, count(*), std(o1/o2) from bug22555 group by i order by i; select i, count(*), round(std(o1/o2), 16) from bug22555 group by i order by i;
select i, count(*), std(e1/e2) from bug22555 group by i order by i; select i, count(*), std(e1/e2) from bug22555 group by i order by i;
select round(std(s1/s2), 17) from bug22555; select round(std(s1/s2), 17) from bug22555;
select std(o1/o2) from bug22555; select std(o1/o2) from bug22555;
select round(std(e1/e2), 17) from bug22555; select round(std(e1/e2), 17) from bug22555;
set div_precision_increment=20; set div_precision_increment=20;
select i, count(*), std(s1/s2) from bug22555 group by i order by i; select i, count(*), std(s1/s2) from bug22555 group by i order by i;
select i, count(*), std(o1/o2) from bug22555 group by i order by i; select i, count(*), round(std(o1/o2), 16) from bug22555 group by i order by i;
select i, count(*), std(e1/e2) from bug22555 group by i order by i; select i, count(*), std(e1/e2) from bug22555 group by i order by i;
select round(std(s1/s2), 17) from bug22555; select round(std(s1/s2), 17) from bug22555;
select std(o1/o2) from bug22555; select std(o1/o2) from bug22555;
......
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