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
04974868
Commit
04974868
authored
Dec 26, 2004
by
igor@rurik.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
subselect.result, subselect.test:
Added a couple of new test cases for bug #7351.
parent
d3fa2453
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
mysql-test/r/subselect.result
mysql-test/r/subselect.result
+12
-0
mysql-test/t/subselect.test
mysql-test/t/subselect.test
+7
-0
No files found.
mysql-test/r/subselect.result
View file @
04974868
...
@@ -2140,3 +2140,15 @@ WHERE f1 <> ALL ( SELECT f1 FROM t2 WHERE f1 > 2 );
...
@@ -2140,3 +2140,15 @@ WHERE f1 <> ALL ( SELECT f1 FROM t2 WHERE f1 > 2 );
f1
f1
NULL
NULL
1
1
SELECT f1 FROM t1
WHERE f1 <> ALL ( SELECT f1 FROM t2 WHERE f1 > 2
UNION
SELECT f1 FROM t2 WHERE f1 > 3);
f1
NULL
1
SELECT f1 FROM t1
WHERE f1 <> ALL ( SELECT SUM(f1) AS sf1 FROM t2 HAVING sf1 > 10000);
f1
NULL
1
mysql-test/t/subselect.test
View file @
04974868
...
@@ -1405,3 +1405,10 @@ INSERT INTO t2 VALUES (1), (2);
...
@@ -1405,3 +1405,10 @@ INSERT INTO t2 VALUES (1), (2);
SELECT
f1
FROM
t1
SELECT
f1
FROM
t1
WHERE
f1
<>
ALL
(
SELECT
f1
FROM
t2
WHERE
f1
>
2
);
WHERE
f1
<>
ALL
(
SELECT
f1
FROM
t2
WHERE
f1
>
2
);
SELECT
f1
FROM
t1
WHERE
f1
<>
ALL
(
SELECT
f1
FROM
t2
WHERE
f1
>
2
UNION
SELECT
f1
FROM
t2
WHERE
f1
>
3
);
SELECT
f1
FROM
t1
WHERE
f1
<>
ALL
(
SELECT
SUM
(
f1
)
AS
sf1
FROM
t2
HAVING
sf1
>
10000
);
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