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

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.