# -------------------------------------------------------------- #
# Test case migrated from regression test suite: bug5091.sql
#
# Author: Daniel Lee, daniel.lee@mariadb.com
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
#
USE tpch1;
#
select count(*) from customer left join (select * from nation) t1 on c_custkey=n_regionkey and c_nationkey=n_nationkey;

select count(*) from customer left join (select * from nation) t1 on c_custkey=n_regionkey and n_nationkey=c_nationkey;

#