Bug #38721 GetOrdinal doesn't accept column names accepted by MySQL 5.0
Submitted: 11 Aug 2008 16:08 Modified: 5 Sep 2008 16:54
Reporter: Carlos Nava
Status: Closed
Category:Connector/Net Severity:S1 (Critical)
Version:5.2.2 OS:Microsoft Windows
Assigned to: Target Version:

[11 Aug 2008 16:08] Carlos Nava
Description:
If the column name has an accent the connector is not able to find the ordinal.

How to repeat:
myReader.GetValue(myReader.GetOrdinal("Descripción")
[12 Aug 2008 16:28] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/51424
[12 Aug 2008 16:28] Reggie Burnett
fixed in 5.2.3
[5 Sep 2008 16:54] Tony Bedford
An entry has been added to the 5.2.3 changelog:

The GetOrdinal() method failed to return the ordinal if the column name string contained
an accent.