Bug #48410 clarification of documentation on init_file
Submitted: 29 Oct 2009 13:32 Modified: 16 Dec 2009 5:04
Reporter: Lig Isler-Turmelle Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S4 (Feature request)
Version: OS:Any
Assigned to: Paul DuBois CPU Architecture:Any

[29 Oct 2009 13:32] Lig Isler-Turmelle
Description:
The only information given is "Each statement must be on a single line and should not include comments."

There is no information given on if delimiters (';') are needed for each line or if the new line character (\n) is the delimiter itself.  It would be nice if you can clarify whether the semicolon is needed.

How to repeat:
na

Suggested fix:
Add the information on if the semicolon is needed or not after each line.
[29 Oct 2009 14:52] Simon Mudd
This is in relation to: http://dev.mysql.com/doc/refman/5.1/en/server-options.html#option_mysqld_init-file

To be clear adding an extra sentence such as:

"No statement terminator such as ;, \g or \G is required at the end of the line."

would clarify this.
[16 Dec 2009 5:04] 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.

Updated per Simon's comment.