# -------------------------------------------------------------- #
# Test case migrated from regression test suite: bug4394.sql
#
# Author: Daniel Lee, daniel.lee@mariadb.com
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
#
USE tpch1;
#
# Prior to bug 4629, this was a negative test case.  The year range was expanded from 1000 on the low end to the year 0 on the low end with the bug.

--disable_warnings
drop table if exists bug4394;
--enable_warnings

create table bug4394(c1 datetime) engine=columnstore;
insert into bug4394 values('1000-01-01 00:00:00'); 
select * from bug4394;

--disable_warnings
drop table bug4394;
--enable_warnings
#