1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-4943 Moved SQL script call into columnstore-post-install

This commit is contained in:
Roman Nozdrin
2021-12-17 20:32:30 +00:00
parent 753fc26dda
commit 22b0e4addc
2 changed files with 4 additions and 3 deletions

View File

@ -110,10 +110,7 @@ CREATE TABLE IF NOT EXISTS infinidb_querystats.priority
insert ignore into infinidb_querystats.priority values ('High', 100),('Medium', 66), ('Low', 33); insert ignore into infinidb_querystats.priority values ('High', 100),('Medium', 66), ('Low', 33);
EOD EOD
$MDB <@ENGINE_SUPPORTDIR@/syscatalog_mysql.sql 2>/dev/null
$MDB <@ENGINE_SUPPORTDIR@/calsetuserpriority.sql 2>/dev/null $MDB <@ENGINE_SUPPORTDIR@/calsetuserpriority.sql 2>/dev/null
$MDB <@ENGINE_SUPPORTDIR@/calremoveuserpriority.sql 2>/dev/null $MDB <@ENGINE_SUPPORTDIR@/calremoveuserpriority.sql 2>/dev/null
$MDB <@ENGINE_SUPPORTDIR@/calshowprocesslist.sql 2>/dev/null $MDB <@ENGINE_SUPPORTDIR@/calshowprocesslist.sql 2>/dev/null
$MDB <@ENGINE_SUPPORTDIR@/columnstore_info.sql 2>/dev/null $MDB <@ENGINE_SUPPORTDIR@/columnstore_info.sql 2>/dev/null

View File

@ -275,6 +275,10 @@ Continue to install the engine though. \
Please resolve the issues and run necessary scripts manually." Please resolve the issues and run necessary scripts manually."
fi fi
# Create syscat tables that uses COLUMNSTORE engine after MDB
# loads the engine plugin .so up.
$MDB <@ENGINE_SUPPORTDIR@/syscatalog_mysql.sql 2>/dev/null
if [ -z "$MCS_USE_S3_STORAGE" ]; then if [ -z "$MCS_USE_S3_STORAGE" ]; then
MCS_USE_S3_STORAGE="$(find_env_var "MCS_USE_S3_STORAGE")" MCS_USE_S3_STORAGE="$(find_env_var "MCS_USE_S3_STORAGE")"
MCS_S3_BUCKET="$(find_env_var "MCS_S3_BUCKET")" MCS_S3_BUCKET="$(find_env_var "MCS_S3_BUCKET")"