Bug #51837 | AllowDBNull and DefaultValue on DataColumn are never correct | ||
---|---|---|---|
Submitted: | 8 Mar 2010 16:41 | Modified: | 10 Apr 2010 15:00 |
Reporter: | Israel DiPeri | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 5.0 | OS: | Windows (XP) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[8 Mar 2010 16:41]
Israel DiPeri
[8 Mar 2010 17:37]
Valeriy Kravchuk
Do you use Connector/Net 5.1.4? What exact version of MySQL server are you working with?
[8 Mar 2010 18:28]
Israel DiPeri
I'm using the .NET connector version 5.1.4.0 with MySQL version 5.0 - I'm not sure if there's more detailed version info somewhere but the exe etc have no version information 5.0 is as much as I can get from it.
[8 Mar 2010 18:45]
Tonci Grgin
Israel, Valeriy, I believe there is a similar report already in BugsDB. Will take it from here.
[10 Mar 2010 8:44]
Tonci Grgin
Israel, we no longer support c/NET 5.x, please use our newer drivers and retest. According to Rev 181: Added checks on each type safe datareader method to keep them from working on null columns. You should use .IsDbNull to check for null. This could be, at least in part, a duplicate of Bug#49936.
[10 Mar 2010 14:55]
Israel DiPeri
Tonci, From what I read Bug#49936 doesn't seem like a duplicate of this issue. I don't have an issue with specific values being null I have issues when I check the schema and want to know if a field is nullable (or has a default). I need to know that for another piece of code which tried to automatically generate some SQL for the table and I need to know if I can set a value to null or if I have to do something else. I'm not sure what you mean by "no longer support c/NET 5.x" do you mean the .NET connection ver 5.1.4.0 is no longer supported? Note I mistakenly said the version of MySQL was 5.1.4.0 but I really meant to say it was 5.0.
[10 Mar 2010 14:56]
Israel DiPeri
I mistakenly said the MySQL version was 5.1.4.0 but I really mean that the .NET connector was 5.1.4.0 and MySQL was version 5.0
[10 Mar 2010 15:00]
Tonci Grgin
Israel, thanks for info added. Unfortunately, we do not support c/NET 5.x any more so please try repeating with newer versions.
[10 Apr 2010 23: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".