Bug #1488 mysql_sqlstate returns empty string (embedded)
Submitted: 4 Oct 2003 23:46 Modified: 6 Oct 2003 4:28
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

[4 Oct 2003 23:46] Georg Richter
Description:
If an api call returns without an error mysql_sqlstate returns an empty string instead of "00000" 

How to repeat:
mysql_select_db(mysql, "test"); 
printf("SqlState: %s\n", mysql_sqlstate(mysql));
[6 Oct 2003 4:28] 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

changeset #1618