[fdo][FDO242][Modified] Errors due to wrong MySQL version not reported

Brent Robinson brent.robinson at autodesk.com
Tue Nov 7 14:26:25 EST 2006


You can view the artifact detail at the following URL:

    https://fdo.osgeo.org/servlets/Scarab/id/FDO242

Type:
Defect

Artifact ID:
FDO242 (Errors due to wrong MySQL version not reported)

Modified by:
Brent Robinson
brentrobinson (brent.robinson at autodesk.com)

The following modifications were made to this artifact:
---------------------------------------------------------------------

-- Defect Resolution set to new value:
Submitted
-- Artifact Status changed:
Old value:
Assigned
New value:
Resolved
-- Resolution Description set to new value:
Modified the MySQL RDBMS driver to pick up error messages for statements and the 2nd connection ( the 2nd connection is used
for DDL statements).  The main change was to ensure that mysql_xlt_status is always called when MySQL reports an error. mysql_xlt_status was modified to extract the last error message from the current statement or connection and store it in the MySQL driver's context. 

Modified mysql_xlt_status to check the MySQL client and server versions when an error occurs. If either version is too old, then information about this
is prepended to the error message. Previously, clients got a rather cryptic error message when the MySQL client (libmysql) was too old. Now they also get an explicit message telling them that it is too old.  

A side effect of the above change is that a non-unicode RDBMS driver can now emit wide-char error messages. This is done by implementing  methods->get_msgW but setting methods->get_msg to NULL. 
-- Defect Severity set to new value:
High
-- Submission Reviewed set to new value:
Yes
-- Target milestone set to new value:
3.2.1



---------------------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Fdo_issues mailing list