mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
WL#4681: Took the system variable tests out of the main test suite, put them into "sys_vars", updated some reult files and tests.
This commit is contained in:
17
mysql-test/suite/sys_vars/r/log_basic.result
Normal file
17
mysql-test/suite/sys_vars/r/log_basic.result
Normal file
@ -0,0 +1,17 @@
|
||||
'#--------------------FN_DYNVARS_062_01------------------#'
|
||||
SELECT @@global.log AS INIT_VALUE;
|
||||
INIT_VALUE
|
||||
1
|
||||
SELECT @@log AS INIT_VALUE;
|
||||
INIT_VALUE
|
||||
1
|
||||
SET @@global.general_log = ON;
|
||||
SET global general_log = 0;
|
||||
'Bug# 34832: log is a system but it is not accessible using SET @@global.log;'
|
||||
'SET GLOBAL log; and SELECT @@global.log. SHOW VARIABLES shows the value of log.'
|
||||
'#--------------------FN_DYNVARS_062_02-------------------------#'
|
||||
SELECT VARIABLE_VALUE
|
||||
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
||||
WHERE VARIABLE_NAME='log';
|
||||
VARIABLE_VALUE
|
||||
OFF
|
Reference in New Issue
Block a user