You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
disable tests incompatible with Maxscale
This commit is contained in:
committed by
Leonid Fedorov
parent
cfaeeeb449
commit
1640e87058
@ -5,6 +5,7 @@
|
||||
# -------------------------------------------------------------- #
|
||||
#
|
||||
--source ../include/have_columnstore.inc
|
||||
--source ../include/detect_maxscale.inc
|
||||
#
|
||||
USE autopilot;
|
||||
#
|
||||
|
@ -0,0 +1,19 @@
|
||||
DROP DATABASE IF EXISTS MCOL5744;
|
||||
CREATE DATABASE MCOL5744;
|
||||
SET old_mode='';
|
||||
CREATE TABLE t(x text CHARACTER SET utf8 COLLATE utf8_general_ci) ENGINE=COLUMNSTORE;
|
||||
SHOW CREATE TABLE t;
|
||||
Table Create Table
|
||||
t CREATE TABLE `t` (
|
||||
`x` text DEFAULT NULL
|
||||
) ENGINE=Columnstore DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci
|
||||
DROP TABLE t;
|
||||
SET old_mode='UTF8_IS_UTF8MB3';
|
||||
CREATE TABLE t(x text CHARACTER SET utf8 COLLATE utf8_general_ci) ENGINE=COLUMNSTORE;
|
||||
SHOW CREATE TABLE t;
|
||||
Table Create Table
|
||||
t CREATE TABLE `t` (
|
||||
`x` text DEFAULT NULL
|
||||
) ENGINE=Columnstore DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci
|
||||
DROP TABLE t;
|
||||
DROP DATABASE MCOL5744;
|
@ -1,3 +1,6 @@
|
||||
--source ../include/have_columnstore.inc
|
||||
--source ../include/detect_maxscale.inc
|
||||
|
||||
--disable_warnings
|
||||
DROP DATABASE IF EXISTS MCOL5744;
|
||||
--enable_warnings
|
||||
|
@ -0,0 +1,22 @@
|
||||
--source ../include/have_columnstore.inc
|
||||
--source ../include/detect_no_maxscale.inc
|
||||
|
||||
--disable_warnings
|
||||
DROP DATABASE IF EXISTS MCOL5744;
|
||||
--enable_warnings
|
||||
|
||||
CREATE DATABASE MCOL5744;
|
||||
|
||||
SET old_mode='';
|
||||
|
||||
CREATE TABLE t(x text CHARACTER SET utf8 COLLATE utf8_general_ci) ENGINE=COLUMNSTORE;
|
||||
SHOW CREATE TABLE t;
|
||||
DROP TABLE t;
|
||||
|
||||
SET old_mode='UTF8_IS_UTF8MB3';
|
||||
|
||||
CREATE TABLE t(x text CHARACTER SET utf8 COLLATE utf8_general_ci) ENGINE=COLUMNSTORE;
|
||||
SHOW CREATE TABLE t;
|
||||
DROP TABLE t;
|
||||
|
||||
DROP DATABASE MCOL5744;
|
@ -1,4 +1,5 @@
|
||||
--source ../include/have_columnstore.inc
|
||||
--source ../include/detect_maxscale.inc
|
||||
--source ctype_cmp_combinations.inc
|
||||
--source ctype_cmp_create.inc
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
--source ../include/have_columnstore.inc
|
||||
--source ../include/detect_maxscale.inc
|
||||
--source ../include/combinations.myisam-columnstore.inc
|
||||
|
||||
--echo #
|
||||
|
@ -6,15 +6,10 @@ SELECT a, b FROM test_collate ORDER BY a COLLATE latin1_german2_ci;
|
||||
a b
|
||||
1 2
|
||||
2 4
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Note 1618 COLLATE is ignored in ColumnStore
|
||||
SELECT a, b FROM test_collate ORDER BY a COLLATE latin1_german2_ci DESC;
|
||||
a b
|
||||
1 2
|
||||
2 4
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
DROP TABLE IF EXISTS test_collate;
|
||||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1 (col1 CHAR(10)) CHARSET latin1 COLLATE latin1_bin ENGINE=columnstore;
|
||||
|
@ -5,6 +5,7 @@
|
||||
# -------------------------------------------------------------- #
|
||||
#
|
||||
--source ../include/have_columnstore.inc
|
||||
--source ../include/detect_maxscale.inc
|
||||
#
|
||||
USE tpch1;
|
||||
#
|
||||
|
@ -5,6 +5,7 @@
|
||||
# -------------------------------------------------------------- #
|
||||
#
|
||||
--source ../include/have_columnstore.inc
|
||||
--source ../include/detect_maxscale.inc
|
||||
#
|
||||
USE tpch1;
|
||||
#
|
||||
|
@ -5,6 +5,7 @@
|
||||
# -------------------------------------------------------------- #
|
||||
#
|
||||
--source ../include/have_columnstore.inc
|
||||
--source ../include/detect_maxscale.inc
|
||||
#
|
||||
USE tpch1;
|
||||
#
|
||||
|
@ -18,9 +18,7 @@ DROP TABLE IF EXISTS test_collate;
|
||||
CREATE TABLE test_collate (a INT, b INT) ENGINE=columnstore;
|
||||
INSERT INTO test_collate VALUES (1,2), (2,4);
|
||||
SELECT a, b FROM test_collate ORDER BY a COLLATE latin1_german2_ci;
|
||||
SHOW WARNINGS;
|
||||
SELECT a, b FROM test_collate ORDER BY a COLLATE latin1_german2_ci DESC;
|
||||
SHOW WARNINGS;
|
||||
|
||||
--disable_warnings
|
||||
DROP TABLE IF EXISTS test_collate;
|
||||
|
@ -5,6 +5,7 @@
|
||||
# -------------------------------------------------------------- #
|
||||
#
|
||||
--source ../include/have_columnstore.inc
|
||||
--source ../include/detect_maxscale.inc
|
||||
#
|
||||
USE tpch1;
|
||||
#
|
||||
|
@ -6,6 +6,7 @@
|
||||
#
|
||||
|
||||
-- source ../include/have_columnstore.inc
|
||||
--source ../include/detect_maxscale.inc
|
||||
|
||||
USE tpch1;
|
||||
|
||||
|
@ -2,6 +2,10 @@
|
||||
# Testing replace with null args
|
||||
#
|
||||
|
||||
--source ../include/have_columnstore.inc
|
||||
--source ../include/detect_maxscale.inc
|
||||
|
||||
|
||||
SET sql_mode=ORACLE;
|
||||
SET default_storage_engine=ColumnStore;
|
||||
--echo #
|
||||
|
@ -0,0 +1,31 @@
|
||||
SET sql_mode=ORACLE;
|
||||
SET default_storage_engine=ColumnStore;
|
||||
#
|
||||
# MDEV-13003 - Oracle compatibility : Replace function
|
||||
#
|
||||
SELECT REPLACE(null,'a','b') ;
|
||||
REPLACE(null,'a','b')
|
||||
NULL
|
||||
SELECT REPLACE('ab',null,'b') ;
|
||||
REPLACE('ab',null,'b')
|
||||
ab
|
||||
SELECT REPLACE('ab','a',null) ;
|
||||
REPLACE('ab','a',null)
|
||||
b
|
||||
SELECT REPLACE('ab',null,null) ;
|
||||
REPLACE('ab',null,null)
|
||||
ab
|
||||
SELECT REPLACE('aaa','a',null) ;
|
||||
REPLACE('aaa','a',null)
|
||||
NULL
|
||||
EXPLAIN EXTENDED SELECT REPLACE('ab','a',null) ;
|
||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used
|
||||
CREATE VIEW v1 AS SELECT REPLACE('ab','a',null) ;
|
||||
SHOW CREATE VIEW v1;
|
||||
View Create View character_set_client collation_connection
|
||||
v1 CREATE VIEW "v1" AS select replace('ab','a',NULL) AS "REPLACE('ab','a',null)" latin1 latin1_swedish_ci
|
||||
SELECT * FROM v1;
|
||||
REPLACE('ab','a',null)
|
||||
b
|
||||
DROP VIEW v1;
|
@ -0,0 +1,33 @@
|
||||
#
|
||||
# Testing replace with null args
|
||||
#
|
||||
|
||||
--source ../include/have_columnstore.inc
|
||||
--source ../include/detect_no_maxscale.inc
|
||||
|
||||
|
||||
SET sql_mode=ORACLE;
|
||||
SET default_storage_engine=ColumnStore;
|
||||
--echo #
|
||||
--echo # MDEV-13003 - Oracle compatibility : Replace function
|
||||
--echo #
|
||||
|
||||
--disable_query_log
|
||||
--disable_warnings
|
||||
DROP VIEW IF EXISTS v1;
|
||||
--enable_query_log
|
||||
|
||||
|
||||
SELECT REPLACE(null,'a','b') ;
|
||||
SELECT REPLACE('ab',null,'b') ;
|
||||
SELECT REPLACE('ab','a',null) ;
|
||||
SELECT REPLACE('ab',null,null) ;
|
||||
SELECT REPLACE('aaa','a',null) ;
|
||||
|
||||
EXPLAIN EXTENDED SELECT REPLACE('ab','a',null) ;
|
||||
|
||||
CREATE VIEW v1 AS SELECT REPLACE('ab','a',null) ;
|
||||
SHOW CREATE VIEW v1;
|
||||
SELECT * FROM v1;
|
||||
DROP VIEW v1;
|
||||
--enable_warnings
|
@ -1,3 +1,6 @@
|
||||
--source ../include/have_columnstore.inc
|
||||
--source ../include/detect_maxscale.inc
|
||||
|
||||
SET sql_mode=ORACLE;
|
||||
SET default_storage_engine=ColumnStore;
|
||||
|
||||
|
Reference in New Issue
Block a user