1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-23 07:05:36 +03:00
2022-12-08 21:00:01 +00:00

33 lines
939 B
Plaintext

# -------------------------------------------------------------- #
# Test case migrated from regression test suite: bug4431.sql
#
# Author: Daniel Lee, daniel.lee@mariadb.com
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
#
USE tpch1;
#
--disable_warnings
drop table if exists bug4431_1;
drop table if exists bug4431_2;
drop table if exists bug4431_3;
--enable_warnings
create table bug4431_1 (date int, col2 date) engine=columnstore;
create table bug4431_2 (`date` int, col2 date) engine=columnstore;
create table bug4431_3 (col2 date) engine=columnstore;
alter table bug4431_3 add column date int;
alter table bug4431_3 drop column date;
insert into bug4431_1 values (1, '2012-06-06'),(2, '2012-06-06'),(3, '2012-06-06'),(4, '2012-06-06');
select * from bug4431_1;
--disable_warnings
drop table bug4431_1;
drop table bug4431_2;
drop table bug4431_3;
--enable_warnings
#