mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
18 lines
757 B
Text
18 lines
757 B
Text
SET @start_value = @@global.slow_query_log_file;
|
|
SELECT @start_value;
|
|
@start_value
|
|
slowtest.log
|
|
'#---------------------FN_DYNVARS_004_01-------------------------#'
|
|
SET @@global.slow_query_log_file = DEFAULT;
|
|
SELECT RIGHT(@@global.slow_query_log_file,15);
|
|
RIGHT(@@global.slow_query_log_file,15)
|
|
master-slow.log
|
|
'#--------------------FN_DYNVARS_004_02------------------------#'
|
|
SET @@global.slow_query_log_file = mytest.log;
|
|
ERROR 42000: Variable 'slow_query_log_file' can't be set to the value of 'log'
|
|
'#----------------------FN_DYNVARS_004_03------------------------#'
|
|
SELECT @@global.slow_query_log_file = VARIABLE_VALUE
|
|
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
|
WHERE VARIABLE_NAME='slow_query_log_file';
|
|
@@global.slow_query_log_file = VARIABLE_VALUE
|
|
1
|