mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-04-21 19:45:56 +03:00
33 lines
783 B
Plaintext
33 lines
783 B
Plaintext
# -------------------------------------------------------------- #
|
|
# Test case migrated from regression test suite: bug5315.sql
|
|
#
|
|
# Author: Daniel Lee, daniel.lee@mariadb.com
|
|
# -------------------------------------------------------------- #
|
|
#
|
|
--source ../include/have_columnstore.inc
|
|
#
|
|
USE tpch1;
|
|
#
|
|
--disable_warnings
|
|
drop table if exists trow;
|
|
--enable_warnings
|
|
|
|
create table trow(col1 int, col2 int) engine=columnstore;
|
|
insert into trow values(1,2),(3,4);
|
|
select * from trow;
|
|
update trow set col1 = 10;
|
|
select * from trow;
|
|
update trow set col1 = 11 where col2=20;
|
|
update trow set col1 = 11;
|
|
update trow set col1 = 12 where col2=20;
|
|
select * from trow;
|
|
delete from trow;
|
|
delete from trow where col2=20;
|
|
select * from trow;
|
|
|
|
--disable_warnings
|
|
drop table trow;
|
|
--enable_warnings
|
|
#
|
|
|