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

MCOL-4736 Fix cross-engine tests to run without --extern

This commit is contained in:
Alexander Barkov
2021-05-27 14:33:36 +04:00
parent 7a30103925
commit aaef69040a
11 changed files with 128 additions and 20 deletions

View File

@ -2,8 +2,15 @@
# Test Aggregate Functions
# Author: Bharath, bharath.bokka@mariadb.com
#
-- source include/have_innodb.inc
-- source ../include/have_columnstore.inc
if (!$MASTER_MYPORT)
{
# Running with --extern
let $MASTER_MYPORT=`SELECT @@port`;
}
--disable_warnings
DROP DATABASE IF EXISTS mcs90_db;
--enable_warnings
@ -15,8 +22,10 @@ USE mcs90_db;
# 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 User 'cejuser'
--exec $MCS_MCSSETCONFIG CrossEngineSupport Password 'Vagrant1|0000001'
--exec $MCS_MCSSETCONFIG CrossEngineSupport Port $MASTER_MYPORT
#
# Create corresponding in the server
#