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
04dc7c88
Commit
04dc7c88
authored
Mar 28, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disabled a test reuturning wrong result (reported separately)
parent
6e93d293
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
mysql-test/r/subselect3.result
mysql-test/r/subselect3.result
+0
-6
mysql-test/t/subselect3.test
mysql-test/t/subselect3.test
+3
-2
No files found.
mysql-test/r/subselect3.result
View file @
04dc7c88
...
...
@@ -661,12 +661,6 @@ SELECT * FROM t1 GROUP by t1.a
HAVING (MAX(t1.b) > (SELECT MAX(t2.b) FROM t2 WHERE t2.c < t1.c
HAVING MAX(t2.b+t1.a) < 10));
a b c
SELECT a, AVG(b), (SELECT t.c FROM t1 AS t WHERE t1.a=t.a AND t.b=AVG(t1.b))
AS test FROM t1 GROUP BY a;
a AVG(b) test
1 4.0000 NULL
2 2.0000 k
3 2.5000 NULL
SELECT a,b,c FROM t1 WHERE b in (9,3,4) ORDER BY b,c;
a b c
1 3 c
...
...
mysql-test/t/subselect3.test
View file @
04dc7c88
...
...
@@ -507,8 +507,9 @@ SELECT a, MAX(b), (SELECT t.c FROM t1 AS t WHERE t1.a=t.a AND t.b=MAX(t1.b))
SELECT
*
FROM
t1
GROUP
by
t1
.
a
HAVING
(
MAX
(
t1
.
b
)
>
(
SELECT
MAX
(
t2
.
b
)
FROM
t2
WHERE
t2
.
c
<
t1
.
c
HAVING
MAX
(
t2
.
b
+
t1
.
a
)
<
10
));
SELECT
a
,
AVG
(
b
),
(
SELECT
t
.
c
FROM
t1
AS
t
WHERE
t1
.
a
=
t
.
a
AND
t
.
b
=
AVG
(
t1
.
b
))
AS
test
FROM
t1
GROUP
BY
a
;
#FIXME: Enable this test after fixing bug #27321
#SELECT a, AVG(b), (SELECT t.c FROM t1 AS t WHERE t1.a=t.a AND t.b=AVG(t1.b))
# AS test FROM t1 GROUP BY a;
SELECT
a
,
b
,
c
FROM
t1
WHERE
b
in
(
9
,
3
,
4
)
ORDER
BY
b
,
c
;
...
...
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