summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/sys_vars/t/allow_suspicious_udfs.test
blob: f5645e012295acb6b0c968239bdc588821faab15 (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