1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

More disable tests in case of testing via Maxscale

This commit is contained in:
Timofey Turenko
2025-06-10 18:42:42 +03:00
committed by Leonid Fedorov
parent 1640e87058
commit 7fd29de377
10 changed files with 8 additions and 12 deletions

View File

@ -2,6 +2,7 @@
#This test verifies show databases and tables with engine=columnstore.
#
-- source ../include/have_columnstore.inc
--source ../include/detect_maxscale.inc
-- source include/have_innodb.inc
-- source ../include/check_maxscale.inc

View File

@ -5,6 +5,7 @@
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
--source ../include/detect_maxscale.inc
#
USE tpch1;
#

View File

@ -5,6 +5,7 @@
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
--source ../include/detect_maxscale.inc
#
USE tpch1;
#

View File

@ -5,6 +5,7 @@
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
--source ../include/detect_maxscale.inc
#
USE tpch1;
#

View File

@ -5,6 +5,8 @@
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
--source ../include/detect_maxscale.inc
#
USE tpch1;
#

View File

@ -5,6 +5,7 @@
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
--source ../include/detect_maxscale.inc
#
USE tpch1;
#

View File

@ -5,6 +5,7 @@
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
--source ../include/detect_maxscale.inc
#
USE tpch1;
#

View File

@ -13,37 +13,29 @@ USE tpch1;
#--Test COLLATE in ORDER BY
--disable_warnings
DROP TABLE IF EXISTS test_collate;
--enable_warnings
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;
SELECT a, b FROM test_collate ORDER BY a COLLATE latin1_german2_ci DESC;
--disable_warnings
DROP TABLE IF EXISTS test_collate;
--enable_warnings
#--Test COLLATE in table definition and column definition
--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings
CREATE TABLE t1 (col1 CHAR(10)) CHARSET latin1 COLLATE latin1_bin ENGINE=columnstore;
INSERT INTO t1 VALUES ('a'), ('1'), ('-1');
SELECT col1 FROM t1;
DESCRIBE t1;
--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings
CREATE TABLE t1 (col1 CHAR(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci) ENGINE=columnstore;
INSERT INTO t1 VALUES ('a'), ('1'), ('-1');
SELECT col1 FROM t1;
DESCRIBE t1;
--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings
#

View File

@ -61,9 +61,6 @@ DECODE(a,1,'x1',NULL,'xNULL','xELSE') AS d2,
DECODE_ORACLE(a,1,'x1',NULL,'xNULL') AS d3,
DECODE_ORACLE(a,1,'x1',NULL,'xNULL','xELSE') AS d4
FROM t1;
SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection
v1 CREATE VIEW "v1" AS select decode("t1"."a",1,'x1',NULL,'xNULL') AS "d1",decode("t1"."a",1,'x1',NULL,'xNULL','xELSE') AS "d2",decode("t1"."a",1,'x1',NULL,'xNULL') AS "d3",decode("t1"."a",1,'x1',NULL,'xNULL','xELSE') AS "d4" from "t1" latin1 latin1_swedish_ci
DROP VIEW v1;
DROP TABLE t1;
SELECT DECODE(TIME'10:20:31','10:20:31','then1','10:20:32','then2','def');

View File

@ -58,7 +58,6 @@ CREATE VIEW v1 AS
DECODE_ORACLE(a,1,'x1',NULL,'xNULL') AS d3,
DECODE_ORACLE(a,1,'x1',NULL,'xNULL','xELSE') AS d4
FROM t1;
SHOW CREATE VIEW v1;
DROP VIEW v1;
DROP TABLE t1;