Bug #43972 | Schema Information Bug (System.Byte[] and Invalid Cast) | ||
---|---|---|---|
Submitted: | 31 Mar 2009 6:44 | Modified: | 17 Apr 2009 20:32 |
Reporter: | Armando Bañuelos | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | Connector / NET | Severity: | S1 (Critical) |
Version: | 5.2.5, 6.0.0 | OS: | Any (Error in Schema Information) |
Assigned to: | CPU Architecture: | Any | |
Tags: | .net, 5.2.5, 6.0.0, cast, configure, System.Byte[], TableAdapter |
[31 Mar 2009 6:44]
Armando Bañuelos
[7 Apr 2009 9:33]
Tonci Grgin
Hi Armando and thanks for your report. Partially I have reported it in Bug#43991 (fixed). Can you please make complete test case for second part of your report? Are you using MySQL server 4.1 or higher?
[9 Apr 2009 23:44]
Armando Bañuelos
Hi! I'm using server 4.1.11 . Ok, the second part of the report is an issue casting the variable. You asume is long, but it returns another type at runtime. So i think you must convert it, and not only cast the value.
[17 Apr 2009 9:56]
Bogdan Degtyariov
VS 2005 Server explorer displayed the list of table columns correctly for me. I used MySQL Server 4.1.11 and Connector/NET 6.0. Did I miss anything?
[17 Apr 2009 20:32]
Armando Bañuelos
I checked and is present in 5.2.5 and also in 6.0.0. 1) Do a normal connection, Don't modify anything. 2) The Server Explorer shows tables and columns, but carefully check the Columns properties "Character Set", "Collation", "Default Value" they apper to be "System.Byte[]" 3) Try to do an "Alter Table" in the Table in Server Explorer. Hope you can repeat it. Try to follow the screenshoots with the Problem. Thanks.
[17 Apr 2009 20:38]
Armando Bañuelos
Incorrect Column Information
Attachment: ScreenShoot-1.PNG (image/png, text), 157.16 KiB.
[17 Apr 2009 20:39]
Armando Bañuelos
Error trying to "Alter Table"
Attachment: ScreenShoot-2.PNG (image/png, text), 280.70 KiB.