Bug #48387 Log the start and stop of init_file execution
Submitted: 28 Oct 2009 18:29 Modified: 25 Apr 2011 19:00
Reporter: Lig Isler-Turmelle Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: General Severity:S4 (Feature request)
Version: OS:Any
Assigned to: Tatiana Azundris Nuernberg CPU Architecture:Any

[28 Oct 2009 18:29] Lig Isler-Turmelle
Description:
Request additional logging regarding init_file for the start and end of the execution of the init_file.  

Maybe something like:
YYMMDD HH:MM:SS Execution of init_file '<fill in name here>' started.
YYMMDD HH:MM:SS Execution of init_file '<fill in name here>' ended.

Currently there is nothing logged in the error log unless there is a problem with the init_file.

How to repeat:
na

Suggested fix:
Add additional information to the log
[20 Jan 2011 11:42] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/129268

3229 Tatiana Azundris Nurnberg	2011-01-20
      Bug#48387: Log the start and stop of init_file execution
      
      Parenthesizes init-file results, if any, with the file's name
      in the log so it's more obvious where the statements were read
      from.
[3 Mar 2011 12:08] Tatiana Azundris Nuernberg
correcting, pushed for 5.6.2-m5
[25 Apr 2011 19:00] Paul DuBois
Noted in 5.6.2 changelog.

If the --init-file option is given, the server now writes messages
indicating the beginning and end of file execution to the error log.

CHANGESET - http://lists.mysql.com/commits/129268