You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-4166 Change UDF functions called during post/pre-install
Set plugin_maturity = beta
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
[mysqld]
|
[mysqld]
|
||||||
plugin-load-add=ha_columnstore.so
|
plugin-load-add=ha_columnstore.so
|
||||||
plugin-maturity=gamma
|
plugin-maturity=beta
|
||||||
|
|
||||||
# Enable compression by default on create, set to NONE to turn off
|
# Enable compression by default on create, set to NONE to turn off
|
||||||
#columnstore_compression_type=SNAPPY
|
#columnstore_compression_type=SNAPPY
|
||||||
|
@ -19,6 +19,9 @@ fi
|
|||||||
# DELETE libcalmysql.so entries first as they are in ha_columnstore.so in 1.4.2 onwards
|
# DELETE libcalmysql.so entries first as they are in ha_columnstore.so in 1.4.2 onwards
|
||||||
$MDB 2> ${tmpdir}/mysql_install.log <<EOD
|
$MDB 2> ${tmpdir}/mysql_install.log <<EOD
|
||||||
DELETE FROM mysql.func WHERE dl='libcalmysql.so';
|
DELETE FROM mysql.func WHERE dl='libcalmysql.so';
|
||||||
|
DELETE FROM mysql.func WHERE dl='ha_columnstore.so';
|
||||||
|
DELETE FROM mysql.func WHERE dl='libregr_mysql.so';
|
||||||
|
DELETE FROM mysql.func WHERE dl='libudf_mysql.so';
|
||||||
INSERT INTO mysql.func VALUES ('calgetstats',0,'ha_columnstore.so','function');
|
INSERT INTO mysql.func VALUES ('calgetstats',0,'ha_columnstore.so','function');
|
||||||
INSERT INTO mysql.func VALUES ('calsettrace',2,'ha_columnstore.so','function');
|
INSERT INTO mysql.func VALUES ('calsettrace',2,'ha_columnstore.so','function');
|
||||||
INSERT INTO mysql.func VALUES ('calsetparms',0,'ha_columnstore.so','function');
|
INSERT INTO mysql.func VALUES ('calsetparms',0,'ha_columnstore.so','function');
|
||||||
|
@ -18,13 +18,17 @@ else
|
|||||||
MDB="/usr/bin/mysql"
|
MDB="/usr/bin/mysql"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$MDB -e 'DROP DATABASE IF EXISTS infinidb_querystats;' 2>/dev/null
|
$MDB 2> ${tmpdir}/mysql_uninstall.log <<EOD
|
||||||
$MDB -e 'DELETE FROM mysql.func WHERE dl="libcalmysql.so"' 2>/dev/null
|
DROP DATABASE IF EXISTS infinidb_querystats;
|
||||||
$MDB -e 'DROP DATABASE IF EXISTS calpontsys;' 2>/dev/null
|
DELETE FROM mysql.func WHERE dl="ha_columnstore.so";
|
||||||
$MDB -e 'DROP PROCEDURE IF EXISTS infinidb_querystats.calSetUserPriority;' 2>/dev/null
|
DELETE FROM mysql.func WHERE dl="libregr_mysql.so";
|
||||||
$MDB -e "DROP PROCEDURE IF EXISTS infinidb_querystats.calRemoveUserPriority(IN host VARCHAR(50), IN usr VARCHAR(50))" 2>/dev/null
|
DELETE FROM mysql.func WHERE dl="libudf_mysql.so";
|
||||||
$MDB -e "DROP PROCEDURE IF EXISTS infinidb_querystats.calShowProcessList;" 2>/dev/null
|
DROP DATABASE IF EXISTS calpontsys;
|
||||||
$MDB -e "DROP DATABASE IF EXISTS columnstore_info;" 2>/dev/null
|
DROP PROCEDURE IF EXISTS infinidb_querystats.calSetUserPriority;
|
||||||
|
DROP PROCEDURE IF EXISTS infinidb_querystats.calRemoveUserPriority(IN host VARCHAR(50), IN usr VARCHAR(50));
|
||||||
|
DROP PROCEDURE IF EXISTS infinidb_querystats.calShowProcessList;
|
||||||
|
DROP DATABASE IF EXISTS columnstore_info;
|
||||||
|
EOD
|
||||||
|
|
||||||
# Test we are using systemd
|
# Test we are using systemd
|
||||||
systemctl cat mariadb-columnstore.service > /dev/null 2>&1
|
systemctl cat mariadb-columnstore.service > /dev/null 2>&1
|
||||||
|
Reference in New Issue
Block a user