GNOME Bugzilla – Bug 636219
MySQL error code ignored and not available via gda_connection_event_get_code
Last modified: 2010-12-01 21:32:31 UTC
Created attachment 175625 [details] [review] Sets proper MySQL errno Documentation to gda_connection_event_get_code () says: Returns : event's code (the code is specific to the provider being used) This is invalid in case of MySQL provider. GDA_CONNECTION_EVENT_CODE_UNKNOWN is set as error code, always. Proposed patch fix the issue for mysql and mysql_stmt.
Patch applied, thanks! http://git.gnome.org/browse/libgda/commit/?id=42c1f5195acaf9390ee58eaa799e12cb13109069