1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-25 20:23:16 +03:00
Files
mariadb-columnstore-engine/mtr/csinternal/devregression/t/mcs7063_regression_bug3279.test
mariadb-RomanNavrotskiy 73b4147cf3 move mtr suites here
2021-01-31 01:38:31 +02:00

31 lines
1.0 KiB
Plaintext

# -------------------------------------------------------------- #
# Test case migrated from regression test suite: bug3279.sql
#
# Author: Daniel Lee, daniel.lee@mariadb.com
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
#
USE tpch1;
#
set autocommit=0;
select 'q1', nation.* from nation;
update nation set n_comment='x' where n_nationkey <= n_regionkey;
select 'q2', nation.* from nation;
rollback;
select 'q3', nation.* from nation;
update nation set n_comment='x' where n_nationkey = n_regionkey;
select 'q4', nation.* from nation;
rollback;
select 'q5', nation.* from nation;
update nation set n_comment='x' where n_nationkey > n_regionkey;
select 'q6', nation.* from nation;
rollback;
select 'q7', count(*) from orders where o_orderkey<o_custkey and o_shippriority < o_custkey;
update orders set o_orderkey=o_custkey where o_orderkey<o_custkey and o_shippriority < o_custkey;
select 'q8', count(*) from orders where o_orderkey=o_custkey and o_shippriority < o_custkey;
rollback;
#