mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Test case for BUG#10646
The bug itself is fixed by WL #2486. mysql-test/r/select.result: Test for BUG#10646 mysql-test/t/select.test: Test for BUG#10646
This commit is contained in:
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Reference in New Issue
Block a user