getBoolean() for DataReader in 3.0.2.0 not compatible with 2.8.x

getBoolean() for DataReader in 3.0.2.0 not compatible with 2.8.x

Postby irfan » Tue 11 Oct 2005 22:53

I just upgraded my driver from CoreLab.MySql version 2.8 to 3.0.2 for .NET paltform and the getBoolean(int) method for the datareader always returned true for columns of type tinyint(1). Version 2.8 worked correctly, if the column has 0, it returns false, otherwise it returns true. But the 3.0.2 version returns true when the value is 0. I have performed a workaround by using Convert.ToBoolean(reader.GetValue(0)) but I would like to know if there are any other Gotchas or backward compatibility issues with the 3.0.2 release.

Thanks!
irfan
 
Posts: 15
Joined: Wed 13 Apr 2005 00:56

Postby Serious » Wed 12 Oct 2005 11:57

We have fixed this problem for the MySQLDirect .NET.

Look forward for the next build.
Serious
 


Return to dotConnect for MySQL