Commit d0f585f1 authored by timour@mysql.com's avatar timour@mysql.com

BUG#12943 - post-merge fix

parent 54db60c0
...@@ -2922,6 +2922,7 @@ a b b ...@@ -2922,6 +2922,7 @@ a b b
select * from t1 inner join t2 using (a); select * from t1 inner join t2 using (a);
a b b a b b
1 10 10 1 10 10
drop table t1, t2;
create table t1 (a int, c int); create table t1 (a int, c int);
create table t2 (b int); create table t2 (b int);
create table t3 (b int, a int); create table t3 (b int, a int);
......
...@@ -2499,6 +2499,9 @@ insert into t2 values (1,10); ...@@ -2499,6 +2499,9 @@ insert into t2 values (1,10);
# both queries should produce the same result # both queries should produce the same result
select * from t1 inner join t2 using (A); select * from t1 inner join t2 using (A);
select * from t1 inner join t2 using (a); select * from t1 inner join t2 using (a);
drop table t1, t2;
#
# Bug #12943 Incorrect nesting of [INNER| CROSS] JOIN due to unspecified # Bug #12943 Incorrect nesting of [INNER| CROSS] JOIN due to unspecified
# associativity in the parser. # associativity in the parser.
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment