Bug #70117 Syntax error in MySQL 5.5, 5.6, 5.7 Reference Manual
Submitted: 22 Aug 2013 6:36 Modified: 5 Sep 2013 9:21
Reporter: Hua Lee Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.5,5.6,5.7 OS:Any
Assigned to: Jon Stephens CPU Architecture:Any
Tags: Offline HTML Documentation

[22 Aug 2013 6:36] Hua Lee
Description:
calculating base date has syntax error in function addOnload() for every html pages. 

How to repeat:
>Download MySQL Reference Manual from http://downloads.mysql.com/docs/refman-5.6-en.html-chaper.zip
>Unzip and open any one html page with text editor.
At line 33:
    var base = new Date(1376968693+*1000);

This definition has syntax error (+* is not a valid operator).

Suggested fix:
var base = new Date(1376968693*1000);
[22 Aug 2013 7:44] MySQL Verification Team
Download and extract http://downloads.mysql.com/docs/refman-5.6-en.html-chapter.zip

Chrome javascript console reports:
Uncaught SyntaxError: Unexpected token *
[2 Sep 2013 14:00] Jon Stephens
I'll take this one.
[5 Sep 2013 9:21] Jon Stephens
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.

Fixed in mysqldoc-toolset rev 2287. Closed.