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
310afc80
Commit
310afc80
authored
Aug 22, 2005
by
timour@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test case for BUG#10646
The bug itself is fixed by WL #2486.
parent
c04138ec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
mysql-test/r/select.result
mysql-test/r/select.result
+5
-0
mysql-test/t/select.test
mysql-test/t/select.test
+10
-0
No files found.
mysql-test/r/select.result
View file @
310afc80
...
@@ -2775,3 +2775,8 @@ empnum name grp
...
@@ -2775,3 +2775,8 @@ empnum name grp
1 bob 1
1 bob 1
drop table t1,t2;
drop table t1,t2;
drop view v1;
drop view v1;
create table t1 (pk int primary key, b int);
create table t2 (pk int primary key, c int);
select pk from t1 inner join t2 using (pk);
pk
drop table t1,t2;
mysql-test/t/select.test
View file @
310afc80
...
@@ -2371,3 +2371,13 @@ create view v1 as select * from t2 inner join t1 using (empnum);
...
@@ -2371,3 +2371,13 @@ create view v1 as select * from t2 inner join t1 using (empnum);
select
*
from
v1
;
select
*
from
v1
;
drop
table
t1
,
t2
;
drop
table
t1
,
t2
;
drop
view
v1
;
drop
view
v1
;
#
# Bug #10646 Columns included in the join between two tables are ambigious
# in the select
#
create
table
t1
(
pk
int
primary
key
,
b
int
);
create
table
t2
(
pk
int
primary
key
,
c
int
);
select
pk
from
t1
inner
join
t2
using
(
pk
);
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