1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-02 06:13:16 +03:00

chore(tests): now RBO tests can run without --extern

This commit is contained in:
Leonid Fedorov
2025-09-01 16:07:42 +00:00
committed by drrtuy
parent 2e9900ea24
commit 1bcb1a0982
7 changed files with 146 additions and 11 deletions

View File

@@ -1,8 +1,32 @@
--source ../include/have_columnstore.inc
--source include/have_innodb.inc
--source ../include/functions.inc
--source ../include/cross_engine.inc
# -------------------------------------------------------------- #
# Enable cross engine join
# Configure user and password in Columnstore.xml file
# -------------------------------------------------------------- #
--exec /usr/bin/mcsSetConfig CrossEngineSupport User 'cejuser'
--exec /usr/bin/mcsSetConfig CrossEngineSupport Password 'Vagrant1|0000001'
--exec $MCS_MCSSETCONFIG CrossEngineSupport Port $MASTER_MYPORT
# -------------------------------------------------------------- #
# Create corresponding in the server
# -------------------------------------------------------------- #
--disable_warnings
CREATE USER IF NOT EXISTS'cejuser'@'localhost' IDENTIFIED BY 'Vagrant1|0000001';
--enable_warnings
GRANT ALL PRIVILEGES ON *.* TO 'cejuser'@'localhost';
FLUSH PRIVILEGES;
--disable_warnings
DROP DATABASE IF EXISTS rbo_parallel_ces;
--enable_warnings
@@ -69,3 +93,4 @@ SELECT calsettrace(0);
DROP DATABASE rbo_parallel_ces;
--source ../include/drop_functions.inc
--source ../include/drop_cross_engine.inc