You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
547 B

  1. '#--------------------FN_DYNVARS_062_01------------------#'
  2. SELECT @@global.log AS INIT_VALUE;
  3. INIT_VALUE
  4. 1
  5. SELECT @@log AS INIT_VALUE;
  6. INIT_VALUE
  7. 1
  8. SET @@global.general_log = ON;
  9. SET global general_log = 0;
  10. 'Bug# 34832: log is a system but it is not accessible using SET @@global.log;'
  11. 'SET GLOBAL log; and SELECT @@global.log. SHOW VARIABLES shows the value of log.'
  12. '#--------------------FN_DYNVARS_062_02-------------------------#'
  13. SELECT VARIABLE_VALUE
  14. FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
  15. WHERE VARIABLE_NAME='log';
  16. VARIABLE_VALUE
  17. OFF