Bug #13028 connector.net can't get charsets
Submitted: 7 Sep 2005 3:05 Modified: 11 Nov 2005 9:08
Reporter: Unal KARA Email Updates:
Status: No Feedback Impact on me:
None 
Category:Connector / NET Severity:S1 (Critical)
Version:1.0.5.13785 OS:Windows (win2000)
Assigned to: CPU Architecture:Any

[7 Sep 2005 3:05] Unal KARA
Description:
mysql version : 5.0.12 beta nt max 
myconnector.net version : 1.0.5.13785

i did try your example table Editor
i m using  vs2003, and  i m using c# , 

i did install your tool , 
when i run your example "table editor" , vs2003 giving error "
An unhandled exception of type 'System.IndexOutOfRangeException' occurred in mysql.data.dll

Additional information: Could not find specified column in results
" 
when i follow code steps , 
file : driver.cs , namespace : MySql.Data.MySqlClient 
method : private void LoadCharacterSets() 
code : while (reader.Read()) 
				{
					//charSets[ Convert.ToInt32(reader["Id"]) ] = reader["Charset"]; 
					charSets[ Convert.ToInt32(reader["id"]) ] = reader["charset"]; 
				}

i can't find solution , 
thx for all , 

my server char set = latin5 

How to repeat:
always,
[11 Oct 2005 9:08] Vasily Kishkin
I was not able to reproduce the bug on 1.0.6. Could you please create and attach simple test case ? Thanks
[12 Nov 2005 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".