MXS-1380 Parse UNIONs completely
Before this change, only db2.t2 was reported as table name for a
select like
select * from db1.t1 union select * from db2.t2
With this change, db1.t1 and db2.t2 are reported.
This commit is contained in:
@ -3296,10 +3296,12 @@ DROP TABLE t1,t2;
|
||||
#
|
||||
|
||||
create table t1 (a bigint unsigned);
|
||||
insert into t1 values
|
||||
(if(1, 9223372036854775808, 1)),
|
||||
(case when 1 then 9223372036854775808 else 1 end),
|
||||
(coalesce(9223372036854775808, 1));
|
||||
#MXS qc_mysqlembedded does not return all functions
|
||||
#MXS qc_get_function_info : ERR: coalesce() != case() coalesce() if()
|
||||
#insert into t1 values
|
||||
# (if(1, 9223372036854775808, 1)),
|
||||
# (case when 1 then 9223372036854775808 else 1 end),
|
||||
# (coalesce(9223372036854775808, 1));
|
||||
select * from t1;
|
||||
drop table t1;
|
||||
create table t1 select
|
||||
|
||||
Reference in New Issue
Block a user