You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-4674 Fix ColumnStore to run MTR tests in a build directory
This commit is contained in:
27
mysql-test/columnstore/basic/r/mcs232_second_function.result
Normal file
27
mysql-test/columnstore/basic/r/mcs232_second_function.result
Normal file
@ -0,0 +1,27 @@
|
||||
DROP DATABASE IF EXISTS mcs232_db;
|
||||
CREATE DATABASE mcs232_db;
|
||||
USE mcs232_db;
|
||||
CREATE TABLE t1(t1_d DATE, t1_t TIME, t1_dt DATETIME)ENGINE=Columnstore;
|
||||
INSERT INTO t1 VALUES(NULL, NULL, NULL);
|
||||
INSERT INTO t1 VALUES('2222-11-11', '12:12:12', '2020-11-11 12:12:12');
|
||||
INSERT INTO t1 VALUES('2020-01-01', '11:37:21', '2020-12-31 12:34:56');
|
||||
INSERT INTO t1 VALUES('2016-02-01', '03:41:19', '2017-02-01 12:12:12');
|
||||
SELECT t1_d, SECOND(t1_d) FROM t1 ORDER BY 1;
|
||||
t1_d SECOND(t1_d)
|
||||
NULL NULL
|
||||
2016-02-01 0
|
||||
2020-01-01 0
|
||||
2222-11-11 0
|
||||
SELECT t1_t, SECOND(t1_t) FROM t1 ORDER BY 1;
|
||||
t1_t SECOND(t1_t)
|
||||
NULL NULL
|
||||
03:41:19 19
|
||||
11:37:21 21
|
||||
12:12:12 12
|
||||
SELECT t1_dt, SECOND(t1_dt) FROM t1 ORDER BY 1;
|
||||
t1_dt SECOND(t1_dt)
|
||||
NULL NULL
|
||||
2017-02-01 12:12:12 12
|
||||
2020-11-11 12:12:12 12
|
||||
2020-12-31 12:34:56 56
|
||||
DROP DATABASE mcs232_db;
|
Reference in New Issue
Block a user