1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-22 20:42:36 +03:00
Files
mariadb-columnstore-engine/mysql-test/columnstore/devregression/r/mcs7237_regression_MCOL-812.result
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

30 lines
972 B
Plaintext

USE tpch1;
DROP TABLE IF EXISTS test.mcol812a;
Warnings:
Note 1051 Unknown table 'test.mcol812a'
DROP TABLE IF EXISTS test.mcol812b;
Warnings:
Note 1051 Unknown table 'test.mcol812b'
CREATE USER IF NOT EXISTS'cejuser'@'localhost' IDENTIFIED BY 'Vagrant1!0000001';
GRANT ALL PRIVILEGES ON *.* TO 'cejuser'@'localhost';
FLUSH PRIVILEGES;
CREATE TABLE test.mcol812a (
`a` int(11) DEFAULT NULL,
`b` varchar(10) DEFAULT NULL
) ENGINE=InnoDB;
CREATE TABLE test.mcol812b (
`a` int(11) DEFAULT NULL
) ENGINE=Columnstore;
insert into test.mcol812a values (1, '\'');
insert into test.mcol812a values (1, '\\');
insert into test.mcol812b values (1);
select * from test.mcol812b join test.mcol812a on test.mcol812b.a = test.mcol812a.a where test.mcol812a.b='\'';
a a b
1 1 '
select * from test.mcol812b join test.mcol812a on test.mcol812b.a = test.mcol812a.a where test.mcol812a.b='\\';
a a b
1 1 \
DROP TABLE test.mcol812a;
DROP TABLE test.mcol812b;
DROP USER 'cejuser'@'localhost';