| 1 |
--echo # |
| 2 |
--echo # MDEV-24815 Show "--allow-suspicious-udfs" state in SYSTEM VARIABLES |
| 3 |
--echo # |
| 4 |
|
| 5 |
SELECT @@allow_suspicious_udfs AS EXPECT_0; |
| 6 |
|
| 7 |
# Restart the server the server with "--allow-suspicious-udfs" option |
| 8 |
--let $restart_parameters = --allow-suspicious-udfs |
| 9 |
--source include/restart_mysqld.inc |
| 10 |
SELECT @@allow_suspicious_udfs AS EXPECT_1; |
| 11 |
|
| 12 |
# Disable "--allow-suspicious-udfs" to restore the original state |
| 13 |
--let $restart_parameters = --skip-allow-suspicious-udfs |
| 14 |
--source include/restart_mysqld.inc |