Bug #34832 log is not recognized as a system variable.
Submitted: 26 Feb 2008 12:34 Modified: 27 Feb 2008 19:43
Reporter: Rizwan Maredia Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.1.22 OS:Any
Assigned to: CPU Architecture:Any
Tags: log, logging

[26 Feb 2008 12:34] Rizwan Maredia
Description:
log is documented as dynamic system variable but it is not accessible using following methods

SET @@global.log;
SET GLOBAL log;
SELECT @@global.log

The following statement returns log as a system variable with a value of OFF

show variables like 'log'

How to repeat:
N/A

Suggested fix:
It should be either accessible using the SET and SELECT statements or not available in show variables. Also if its not dynamic than documentation should be updated.
[27 Feb 2008 19:43] Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on
how to report a bug at http://bugs.mysql.com/how-to-report.php

You should assign some value to the variable.