Debian Codegraph @

mysql-test/suite/sys_vars/r/slow_query_log_file_basic.result

raw
1 SET @start_value = @@global.slow_query_log_file;
2 '#---------------------FN_DYNVARS_004_01-------------------------#'
3 SET @@global.slow_query_log_file = DEFAULT;
4 SET @a=concat(left(@@hostname, instr(concat(@@hostname, '.'), '.')-1), '-slow.log');
5 SELECT RIGHT(@@global.slow_query_log_file, length(@a)) = @a;
6 RIGHT(@@global.slow_query_log_file, length(@a)) = @a
7 1
8 '#--------------------FN_DYNVARS_004_02------------------------#'
9 SET @@global.slow_query_log_file = mytest.log;
10 ERROR 42000: Incorrect argument type to variable 'slow_query_log_file'
11 SET @@global.slow_query_log_file = 12;
12 ERROR 42000: Incorrect argument type to variable 'slow_query_log_file'
13 '#----------------------FN_DYNVARS_004_03------------------------#'
14 SELECT @@global.slow_query_log_file = VARIABLE_VALUE
15 FROM performance_schema.global_variables
16 WHERE VARIABLE_NAME='slow_query_log_file';
17 @@global.slow_query_log_file = VARIABLE_VALUE
18 1
19 SET @@global.slow_query_log_file= @start_value;