You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
skip all tests with LOAD DATA in case of tests via Maxscale
This commit is contained in:
committed by
Leonid Fedorov
parent
0112e7b13c
commit
b7dbf89482
9
mysql-test/columnstore/include/check_maxscale.inc
Normal file
9
mysql-test/columnstore/include/check_maxscale.inc
Normal file
@ -0,0 +1,9 @@
|
||||
--disable_abort_on_error
|
||||
let $maxscale = 0;
|
||||
let $maxscalerepl = `SELECT @is_maxscale`;
|
||||
if ($maxscalerepl == "YES")
|
||||
{
|
||||
let $maxscale = 1;
|
||||
}
|
||||
|
||||
--enable_abort_on_error
|
10
mysql-test/columnstore/include/detect_maxscale.inc
Normal file
10
mysql-test/columnstore/include/detect_maxscale.inc
Normal file
@ -0,0 +1,10 @@
|
||||
--disable_abort_on_error
|
||||
|
||||
let $maxscale = `SELECT @is_maxscale`;
|
||||
|
||||
if ($maxscale == "YES")
|
||||
{
|
||||
--skip Test can not be used with Maxscale.
|
||||
}
|
||||
|
||||
--enable_abort_on_error
|
10
mysql-test/columnstore/include/detect_no_maxscale.inc
Normal file
10
mysql-test/columnstore/include/detect_no_maxscale.inc
Normal file
@ -0,0 +1,10 @@
|
||||
--disable_abort_on_error
|
||||
|
||||
let $maxscale = `SELECT @is_maxscale`;
|
||||
|
||||
if ($maxscale != "YES")
|
||||
{
|
||||
--skip Test requires connection via Maxscale.
|
||||
}
|
||||
|
||||
--enable_abort_on_error
|
Reference in New Issue
Block a user