2008-04-10 15:14:28 +02:00
|
|
|
'#--------------------FN_DYNVARS_062_01------------------#'
|
2008-09-10 12:50:39 +02:00
|
|
|
SET @start_log= @@global.log;
|
2008-04-10 15:14:28 +02:00
|
|
|
SELECT @@global.log AS INIT_VALUE;
|
|
|
|
INIT_VALUE
|
|
|
|
1
|
|
|
|
SELECT @@log AS INIT_VALUE;
|
|
|
|
INIT_VALUE
|
|
|
|
1
|
2008-10-06 11:29:42 +02:00
|
|
|
SET @@global.general_log = ON;
|
|
|
|
SET global general_log = 0;
|
2008-04-10 15:14:28 +02:00
|
|
|
'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-------------------------#'
|
2008-09-10 12:50:39 +02:00
|
|
|
SELECT VARIABLE_VALUE
|
|
|
|
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
2008-04-10 15:14:28 +02:00
|
|
|
WHERE VARIABLE_NAME='log';
|
|
|
|
VARIABLE_VALUE
|
|
|
|
OFF
|
2008-09-10 12:50:39 +02:00
|
|
|
SET @@global.log= @start_log;
|
2008-10-29 18:38:18 +01:00
|
|
|
Warnings:
|
|
|
|
Warning 1287 The syntax '@@log' is deprecated and will be removed in MySQL 7.0. Please use '@@general_log' instead
|