1
0
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:
Alexander Barkov
2021-04-13 11:25:25 +04:00
parent d8b473329f
commit 75e3bbc31e
1874 changed files with 1 additions and 0 deletions

View File

@ -0,0 +1,35 @@
DROP DATABASE IF EXISTS unsigned_bug5712_db;
CREATE DATABASE unsigned_bug5712_db;
USE unsigned_bug5712_db;
DROP TABLE IF EXISTS bug5712;
Warnings:
Note 1051 Unknown table 'unsigned_bug5712_db.bug5712'
CREATE TABLE bug5712 (`time_tk` INT(11) UNSIGNED NOT NULL) ENGINE=Columnstore DEFAULT CHARSET=latin1;
INSERT INTO bug5712 VALUES
(2013113023),
(1900010100),
(2199123100),
(2199123100),
(2147483646),
(2147483647),
(2147483648);
SELECT LEFT(time_tk,6) AS time_tk_left FROM bug5712;
time_tk_left
201311
190001
219912
219912
214748
214748
214748
SELECT RIGHT(time_tk,6) AS time_tk_right FROM bug5712;
time_tk_right
113023
010100
123100
123100
483646
483647
483648
DROP TABLE IF EXISTS bug5712;
DROP DATABASE unsigned_bug5712_db;