mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
a5e248d402
- Updated slow_query_log_file_basic and general_log_file basis instead of the func version as the func version run good but the basic versions fail. - Sent innodb.test to dev@innodb.com. - variables.test has differences probably due to a bug in mtr or in the SET statement (see bug#39369). - general_log_file_basic.test and slow_query_log_file_bsaic.test have differences, which might be produced by the new mtr (see bug#38124).
20 lines
779 B
Text
20 lines
779 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
|
|
mysqld.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
|
|
SET @@global.general_log_file= @start_value;
|