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/t/mcs7238_regression_MCOL-830.test
mariadb-RomanNavrotskiy 73b4147cf3 move mtr suites here
2021-01-31 01:38:31 +02:00

29 lines
908 B
Plaintext

# -------------------------------------------------------------- #
# Test case migrated from regression test suite: MCOL-830.sql
#
# Author: Daniel Lee, daniel.lee@mariadb.com
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
#
USE tpch1;
#
#-- Make sure UTF8 works during cross engine
DROP TABLE IF EXISTS test.mcol830a;
DROP TABLE IF EXISTS test.mcol830b;
CREATE TABLE test.mcol830a (
`c1` int(11) DEFAULT NULL,
`c2` varchar(64) DEFAULT NULL
) ENGINE=Columnstore DEFAULT CHARSET=utf8;
CREATE TABLE test.mcol830b (
`c1` int(11) DEFAULT NULL,
`c2` varchar(64) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
insert into test.mcol830a values(1, 'cs测试');
insert into test.mcol830b values(2, 'myisam测试');
select * from test.mcol830a union select * from test.mcol830b order by c1 desc;
DROP TABLE test.mcol830a;
DROP TABLE test.mcol830b;
#