Bug #68894 --innodb_flush_log_at_timeout value range incorrect in docs or code
Submitted: 9 Apr 2013 6:16 Modified: 10 Apr 2013 1:47
Reporter: Roel Van de Paar (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S2 (Serious)
Version:5.6 OS:Any
Assigned to: Paul Dubois CPU Architecture:Any

[9 Apr 2013 6:16] Roel Van de Paar
Description:
Not sure if this is docs or dev issue.

http://dev.mysql.com/doc/refman/5.6/en/innodb-parameters.html#sysvar_innodb_flush_log_at_t...

Range	0 .. 27000

Yet

2013-04-07 03:33:09 15069 [Warning] option 'innodb-flush-log-at-timeout': unsigned value 27000 adjusted to 2700

How to repeat:
--innodb-flush-log-at-timeout=27000

Suggested fix:
* Fix docs or dev fix allowed option value range
* Would also be great if warnings in the error log would list the underscore named option: "innodb_flush_log_at_timeout", otherwise users always have to s/-/_/ when searching the manual.
[9 Apr 2013 7:23] Umesh Shastry
Hello Roel,

Thank you for the report.
Verified as described.

Regards,
Umesh
[9 Apr 2013 7:24] Umesh Shastry
#### Started MySQLD with Error log details innodb-flush-log-at-timeout=27000

2013-04-09 12:49:40 5328 [Note] Plugin 'FEDERATED' is disabled.
2013-04-09 12:49:40 5328 [Warning] option 'innodb-flush-log-at-timeout': unsigned value 27000 adjusted to 2700

mysql> show global variables like 'innodb_flush_log_at_timeout';
+-----------------------------+-------+
| Variable_name               | Value |
+-----------------------------+-------+
| innodb_flush_log_at_timeout | 2700  |
+-----------------------------+-------+
1 row in set (0.08 sec)

mysql> show global variables like 'innodb_flush_log_at_trx_commit';
+--------------------------------+-------+
| Variable_name                  | Value |
+--------------------------------+-------+
| innodb_flush_log_at_trx_commit | 2     |
+--------------------------------+-------+
1 row in set (0.00 sec)

mysql> select version();
+--------------+
| version()    |
+--------------+
| 5.6.10-debug |
+--------------+
1 row in set (0.00 sec)

mysql>
[10 Apr 2013 1:47] Paul Dubois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.

A look into the source shows that the value is 2700. I'll correct the docs.