1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-25 20:23:16 +03:00
Files
mariadb-columnstore-engine/mtr/csinternal/devregression/r/mcs7144_regression_bug4359.result
mariadb-RomanNavrotskiy 73b4147cf3 move mtr suites here
2021-01-31 01:38:31 +02:00

20 lines
545 B
Plaintext

USE tpch1;
drop table if exists bug4359;
Warnings:
Note 1051 Unknown table 'tpch1.bug4359'
CREATE TABLE bug4359 (
sdate datetime DEFAULT NULL,
edate datetime DEFAULT NULL
) engine=columnstore;
insert into bug4359 values ('2009-01-05 13:30:00','2009-01-05 14:30:00');
insert into bug4359 values ('2009-01-05 13:30:00','2009-01-05 14:00:00');
select timediff(edate,sdate) from bug4359;
timediff(edate,sdate)
01:00:00
00:30:00
select time_to_sec(timediff(edate,sdate)) from bug4359;
time_to_sec(timediff(edate,sdate))
3600
1800
drop table bug4359;