[fdo-internals] Handle the case for invalid MySql host

Jack Lee jack.lee at autodesk.com
Fri Jan 12 17:45:43 EST 2007


This submission fixes a problem that the message returned is in English
when trying to connect to an invalid host. 

 

Since the language setting is only used by the MySql server daemon and
the client does not use the language setting, the mysql api returns the
message in English when calling msg_error when using an invalid host.

 

The MySQL provider has been changed to handle this special case of
invalid host by checking the error number and replacing with our own
message.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-internals/attachments/20070112/e97e74ff/attachment.html


More information about the fdo-internals mailing list