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
7ac525fc
Commit
7ac525fc
authored
Sep 05, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
union.test: drop table added
parent
079678be
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
.bzrignore
.bzrignore
+1
-0
mysql-test/r/union.result
mysql-test/r/union.result
+1
-0
mysql-test/t/union.test
mysql-test/t/union.test
+1
-0
No files found.
.bzrignore
View file @
7ac525fc
...
...
@@ -545,3 +545,4 @@ vio/test-sslserver
vio/viotest-ssl
scripts/make_win_binary_distribution
EXCEPTIONS-CLIENT
support-files/my-innodb-heavy-4G.cnf
mysql-test/r/union.result
View file @
7ac525fc
...
...
@@ -420,6 +420,7 @@ a
(SELECT * FROM t1) UNION all (SELECT SQL_CALC_FOUND_ROWS * FROM t2) LIMIT 1;
Wrong usage/placement of 'SQL_CALC_FOUND_ROWS'
create temporary table t1 select a from t1 union select a from t2;
drop table t1;
create table t1 select a from t1 union select a from t2;
INSERT TABLE 't1' isn't allowed in FROM table list
select a from t1 union select a from t2 order by t2.a;
...
...
mysql-test/t/union.test
View file @
7ac525fc
...
...
@@ -224,6 +224,7 @@ SELECT * FROM t1 UNION SELECT * FROM t2 ORDER BY a desc LIMIT 1;
(
SELECT
*
FROM
t1
)
UNION
all
(
SELECT
SQL_CALC_FOUND_ROWS
*
FROM
t2
)
LIMIT
1
;
create
temporary
table
t1
select
a
from
t1
union
select
a
from
t2
;
drop
table
t1
;
--
error
1093
create
table
t1
select
a
from
t1
union
select
a
from
t2
;
--
error
1054
...
...
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