1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-29 03:22:01 +03:00
Files
mariadb-columnstore-engine/mysql-test/columnstore/devregression/t/mcs7238_regression_MCOL-830.test
Daniel Lee 4c9d6e39ac Dlee mtr restructure (#2494)
* Restructured test suites and added autopilot and extended suites

* Updated autopilot with correct branch - develop

* Moved setup test case to a 'setup' directory, for consistency

* Fixed a path issue

* Updated some tests cases to keep up with development

Co-authored-by: root <root@rocky8.localdomain>
2022-08-09 21:20:56 +03: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;
#