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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
9eca4014
Commit
9eca4014
authored
Jan 06, 2010
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Addendum to Bug #49734 : fixed an unstable test case.
parent
efcbc349
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
mysql-test/r/union.result
mysql-test/r/union.result
+0
-3
mysql-test/t/union.test
mysql-test/t/union.test
+2
-0
No files found.
mysql-test/r/union.result
View file @
9eca4014
...
@@ -1640,9 +1640,6 @@ Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` union select `test`.`t1
...
@@ -1640,9 +1640,6 @@ Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` union select `test`.`t1
# Should not crash
# Should not crash
SELECT * FROM t1 UNION SELECT * FROM t1
SELECT * FROM t1 UNION SELECT * FROM t1
ORDER BY (SELECT a FROM t2 WHERE b = 12);
ORDER BY (SELECT a FROM t2 WHERE b = 12);
a
1
2
# Should not crash
# Should not crash
SELECT * FROM t2 UNION SELECT * FROM t2
SELECT * FROM t2 UNION SELECT * FROM t2
ORDER BY (SELECT * FROM t1 WHERE MATCH(a) AGAINST ('+abc' IN BOOLEAN MODE));
ORDER BY (SELECT * FROM t1 WHERE MATCH(a) AGAINST ('+abc' IN BOOLEAN MODE));
...
...
mysql-test/t/union.test
View file @
9eca4014
...
@@ -1144,8 +1144,10 @@ SELECT * FROM t1 UNION SELECT * FROM t1
...
@@ -1144,8 +1144,10 @@ SELECT * FROM t1 UNION SELECT * FROM t1
ORDER
BY
(
SELECT
a
FROM
t2
WHERE
b
=
12
);
ORDER
BY
(
SELECT
a
FROM
t2
WHERE
b
=
12
);
--
echo
# Should not crash
--
echo
# Should not crash
--
disable_result_log
SELECT
*
FROM
t1
UNION
SELECT
*
FROM
t1
SELECT
*
FROM
t1
UNION
SELECT
*
FROM
t1
ORDER
BY
(
SELECT
a
FROM
t2
WHERE
b
=
12
);
ORDER
BY
(
SELECT
a
FROM
t2
WHERE
b
=
12
);
--
enable_result_log
--
echo
# Should not crash
--
echo
# Should not crash
SELECT
*
FROM
t2
UNION
SELECT
*
FROM
t2
SELECT
*
FROM
t2
UNION
SELECT
*
FROM
t2
...
...
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