1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-29 03:22:01 +03:00
Files
mariadb-columnstore-engine/mysql-test/columnstore/devregression/t/mcs7164_regression_bug5096.test
Daniel Lee 4c9d6e39ac Dlee mtr restructure (#2494)
* Restructured test suites and added autopilot and extended suites

* Updated autopilot with correct branch - develop

* Moved setup test case to a 'setup' directory, for consistency

* Fixed a path issue

* Updated some tests cases to keep up with development

Co-authored-by: root <root@rocky8.localdomain>
2022-08-09 21:20:56 +03:00

34 lines
879 B
Plaintext

# -------------------------------------------------------------- #
# Test case migrated from regression test suite: bug5096.sql
#
# Author: Daniel Lee, daniel.lee@mariadb.com
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
#
USE tpch1;
#
create table if not exists bug5096 (id int, c1 int)engine=columnstore;
insert into bug5096 values (1,1),(2,2),(3,3),(4,4);
set autocommit=0;
update bug5096 set id = 10 limit 2;
select * from bug5096;
rollback;
update bug5096 set id = 10 where c1 in (select r_regionkey from region) limit 3;
select * from bug5096;
rollback;
delete from bug5096 limit 2;
select * from bug5096;
rollback;
set @@sql_select_limit=1;
update bug5096 set c1=10;
select * from bug5096;
select * from bug5096 limit 10;
rollback;
delete from bug5096 limit 2;
select * from bug5096;
drop table bug5096;
#