Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
cfac9175
Commit
cfac9175
authored
Feb 28, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
into mysql.com:/home/ram/work/b25834/b25834.5.0
parents
65fc5852
9bbd385a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
mysql-test/r/func_group.result
mysql-test/r/func_group.result
+15
-15
mysql-test/t/func_group.test
mysql-test/t/func_group.test
+3
-3
No files found.
mysql-test/r/func_group.result
View file @
cfac9175
...
@@ -1180,11 +1180,11 @@ i count(*) std(s1/s2)
...
@@ -1180,11 +1180,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
...
@@ -1206,11 +1206,11 @@ i count(*) std(s1/s2)
...
@@ -1206,11 +1206,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
...
@@ -1231,11 +1231,11 @@ i count(*) std(s1/s2)
...
@@ -1231,11 +1231,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
...
...
mysql-test/t/func_group.test
View file @
cfac9175
...
@@ -747,7 +747,7 @@ insert into bug22555 values (1,53,78,53,78,53,78),(2,17,78,17,78,17,78),(3,18,76
...
@@ -747,7 +747,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
;
...
@@ -755,14 +755,14 @@ select std(e1/e2) from bug22555;
...
@@ -755,14 +755,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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment