1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-26 11:48:52 +03:00
2022-12-09 02:24:40 +00:00

18 lines
363 B
Plaintext

USE tpch1;
select date('2010-02-01') into @xxx;
select @xxx;
@xxx
2010-02-01
drop table if exists bug3021;
create table bug3021(c1 date)engine=columnstore;
insert into bug3021 values ('2001-01-01');
update bug3021 set c1=@xxx;
select * from bug3021;
c1
2010-02-01
update bug3021 set c1=date('2010-11-14');
select * from bug3021;
c1
2010-11-14
drop table bug3021;