Bug #53460 ER_SET_CONSTANTS_ONLY is inaccurate
Submitted: 6 May 2010 8:52
Reporter: Mikiya Okuno Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Errors Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[6 May 2010 8:52] Mikiya Okuno
Description:
ER_SET_CONSTANTS_ONLY doesn't describe the error correctly. This error happens when:

- Memory cannot be allocated for user variables.
- Number of arguments is not 1 for KILL command.

How to repeat:
issue "KILL (1,2)"

or

assign a user variable under a low memory environment.

Suggested fix:
ER_SET_CONSTANTS_ONLY should be separated into two independent errors.