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
9a63c8e0
Commit
9a63c8e0
authored
Sep 05, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fixes
parent
e85e5739
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
mysql-test/r/merge.result
mysql-test/r/merge.result
+2
-2
mysql-test/r/union.result
mysql-test/r/union.result
+4
-4
mysql-test/t/union.test
mysql-test/t/union.test
+0
-1
No files found.
mysql-test/r/merge.result
View file @
9a63c8e0
...
...
@@ -647,7 +647,7 @@ create table t2 (a int);
insert into t1 values (0);
insert into t2 values (1);
create table t3 engine=merge union=(t1, t2) select * from t1;
INSERT TABLE 't1' isn't allowed in FROM table list
ERROR HY000: You can't specify target table 't1' for update in FROM clause
create table t3 engine=merge union=(t1, t2) select * from t2;
INSERT TABLE 't2' isn't allowed in FROM table list
ERROR HY000: You can't specify target table 't2' for update in FROM clause
drop table t1, t2;
mysql-test/r/union.result
View file @
9a63c8e0
...
...
@@ -431,7 +431,6 @@ create table t1 select a from t1 union select a from t2;
ERROR HY000: You can't specify target table 't1' for update in FROM clause
select a from t1 union select a from t2 order by t2.a;
ERROR 42S02: Unknown table 't2' in order clause
drop table t1;
drop table t1,t2;
select length(version()) > 1 as `*` UNION select 2;
*
...
...
@@ -440,9 +439,10 @@ select length(version()) > 1 as `*` UNION select 2;
create table t1 (a int);
insert into t1 values (0), (3), (1), (2);
explain (select * from t1) union (select * from t1) order by a;
table type possible_keys key key_len ref rows Extra
t1 ALL NULL NULL NULL NULL 4
t1 ALL NULL NULL NULL NULL 4
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 ALL NULL NULL NULL NULL 4
2 UNION t1 ALL NULL NULL NULL NULL 4
NULL UNION RESULT <union1,2> ALL NULL NULL NULL NULL NULL Using filesort
drop table t1;
CREATE TABLE t1 ( id int(3) unsigned default '0') ENGINE=MyISAM;
INSERT INTO t1 (id) VALUES("1");
...
...
mysql-test/t/union.test
View file @
9a63c8e0
...
...
@@ -256,7 +256,6 @@ drop temporary table t1;
create
table
t1
select
a
from
t1
union
select
a
from
t2
;
--
error
1109
select
a
from
t1
union
select
a
from
t2
order
by
t2
.
a
;
drop
table
t1
;
# Drop temporary table
drop
table
t1
,
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