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
51badadd
Commit
51badadd
authored
Apr 15, 2007
by
evgen@moonbone.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
subselect.test, subselect.result:
After merge fix.
parent
922a5a96
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
mysql-test/r/subselect.result
mysql-test/r/subselect.result
+1
-0
mysql-test/t/subselect.test
mysql-test/t/subselect.test
+1
-0
No files found.
mysql-test/r/subselect.result
View file @
51badadd
...
@@ -3988,6 +3988,7 @@ a test
...
@@ -3988,6 +3988,7 @@ a test
1 n
1 n
2 o
2 o
3 p
3 p
DROP TABLE t1;
CREATE TABLE t1 (a int, b int);
CREATE TABLE t1 (a int, b int);
INSERT INTO t1 VALUES (2,22),(1,11),(2,22);
INSERT INTO t1 VALUES (2,22),(1,11),(2,22);
SELECT a FROM t1 WHERE (SELECT COUNT(b) FROM DUAL) > 0 GROUP BY a;
SELECT a FROM t1 WHERE (SELECT COUNT(b) FROM DUAL) > 0 GROUP BY a;
...
...
mysql-test/t/subselect.test
View file @
51badadd
...
@@ -2818,6 +2818,7 @@ SELECT tt.a, MAX(
...
@@ -2818,6 +2818,7 @@ SELECT tt.a, MAX(
FROM
t1
WHERE
t1
.
a
=
tt
.
a
GROUP
BY
a
LIMIT
1
))
as
test
FROM
t1
WHERE
t1
.
a
=
tt
.
a
GROUP
BY
a
LIMIT
1
))
as
test
FROM
t1
as
tt
GROUP
BY
tt
.
a
;
FROM
t1
as
tt
GROUP
BY
tt
.
a
;
DROP
TABLE
t1
;
#
#
# Bug #27348: SET FUNCTION used in a subquery from WHERE condition
# Bug #27348: SET FUNCTION used in a subquery from WHERE condition
#
#
...
...
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