Bug #36284 mysqld does not report when memory is NOT allocated with memlock
Submitted: 23 Apr 2008 10:45 Modified: 25 Apr 2008 7:17
Reporter: Oli Sennhauser Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: General Severity:S3 (Non-critical)
Version:5.0.58 and others OS:Any
Assigned to: CPU Architecture:Any
Triage: Triaged: D4 (Minor)

[23 Apr 2008 10:45] Oli Sennhauser
Description:
When mysqld is started with a user != root and memory should be allocated with memlock NO warning is displayed. The memory is just allocated normally.

This could be not wanted...

How to repeat:
start mysql with a user != root (for example mysql) and with memlock in my.cnf

Suggested fix:
at least a warning should be written to the error log file
[25 Apr 2008 7:17] Sveta Smirnova
Thank you for the report.

Verified as described.