mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
87a75bdf30
the local tree contains a fix for Bug#32748 "Inconsistent handling of assignments to general_log_file/slow_query_log_file", which changes output of a number of tests.
19 lines
734 B
Text
19 lines
734 B
Text
SET @start_value = @@global.general_log_file;
|
|
SELECT @start_value;
|
|
@start_value
|
|
test.log
|
|
'#---------------------FN_DYNVARS_004_01-------------------------#'
|
|
SET @@global.general_log_file = DEFAULT;
|
|
SELECT RIGHT(@@global.general_log_file,10) AS log_file;
|
|
log_file
|
|
master.log
|
|
'#--------------------FN_DYNVARS_004_02------------------------#'
|
|
SET @@global.general_log_file = mytest.log;
|
|
SET @@global.general_log_file = 12;
|
|
ERROR 42000: Incorrect argument type to variable 'general_log_file'
|
|
'#----------------------FN_DYNVARS_004_03------------------------#'
|
|
SELECT @@global.general_log_file = VARIABLE_VALUE
|
|
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
|
WHERE VARIABLE_NAME='general_log_file';
|
|
@@global.general_log_file = VARIABLE_VALUE
|
|
1
|