Bug #1332 Wrong errormessage in embedded mysql
Submitted: 18 Sep 2003 5:58 Modified: 6 Oct 2003 21:49
Reporter: Georg Richter Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Embedded Library ( libmysqld ) Severity:S3 (Non-critical)
Version:4.1.1 OS:
Assigned to: Alexey Botchkov CPU Architecture:Any

[18 Sep 2003 5:58] Georg Richter
Description:
Wrong errormessage when you try to execute DROP USER in embedded mysql. 

How to repeat:
 
... 
mysql_query(mysql, "DROP USER foo"); 
printf("%s\n", mysql_error(mysql)); 
 
Output: 
Out of memory;  Check if mysqld or some other process uses all available memory. If not you 
may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap space
[6 Oct 2003 21:49] Alexey Botchkov
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Fixed with "Privileges in embedded server" task's completion