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

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


The file modifications were missing in the original mail message:

 

------------------------------------------------------------------------

r624 | jacklee | 2007-01-12 17:11:59 -0500 (Fri, 12 Jan 2007) | 1 line

Changed paths:

   M /branches/3.2.x/Providers/GenericRdbms/Nls/fdordbmsmsg.mc

   M /branches/3.2.x/Providers/GenericRdbms/Src/MySQL/Driver/connect.c

   M /branches/3.2.x/Providers/GenericRdbms/Src/MySQL/Driver/nls.h

 

Handle the case when the host is invalid

------------------------------------------------------------------------

 

------------------------------------------------------------------------

r625 | jacklee | 2007-01-12 17:40:03 -0500 (Fri, 12 Jan 2007) | 1 line

Changed paths:

   M /trunk/Providers/GenericRdbms/Nls/fdordbmsmsg.mc

   M /trunk/Providers/GenericRdbms/Src/MySQL/Driver/connect.c

   M /trunk/Providers/GenericRdbms/Src/MySQL/Driver/nls.h

 

Handle the case when the host is invalid

------------------------------------------------------------------------

  _____  

From: fdo-internals-bounces at lists.osgeo.org
[mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Jack Lee
Sent: January 12, 2007 5:46 PM
To: fdo-internals at lists.osgeo.org
Subject: [fdo-internals] Handle the case for invalid MySql host

 

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/4122c967/attachment.html


More information about the fdo-internals mailing list