Bug #35437 potential crash with ALTER SERVER statement when out of memory
Submitted: 19 Mar 2008 13:01 Modified: 19 Mar 2008 14:02
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Verified Impact on me:
Category:MySQL Server: Federated storage engine Severity:S3 (Non-critical)
Version:5.1.x OS:Any
Assigned to: CPU Architecture:Any
Tags: alter server, OOM

[19 Mar 2008 13:01] Shane Bester
Related to bug #34790 ('create server' doesn't handle out of memory scenario well enough)

In low-memory situations it is possible ALTER SERVER can crash the server.

How to repeat:
Read the code.  Memory allocation failures can be better detected in some places in sql_servers.cc:

[19 Mar 2008 14:02] Valeriy Kravchuk
Thank you for a bug report.