summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/t/allow_suspicious_udfs.test
blob: 9179cfbef4d37634d24a9c650e400bf0c59acedb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--echo #
--echo # MDEV-24815 Show "--allow-suspicious-udfs" state in SYSTEM VARIABLES
--echo #

SELECT @@allow_suspicious_udfs AS EXPECT_0;

# Restart the server the server with "--allow-suspicious-udfs" option
--let $restart_parameters = "--allow-suspicious-udfs"
--source include/restart_mysqld.inc
SELECT @@allow_suspicious_udfs AS EXPECT_1;

# Disable "--allow-suspicious-udfs" to restore the original state
--let $restart_parameters = "--skip-allow-suspicious-udfs"
--source include/restart_mysqld.inc