Page 1 of 1

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

Posted: Tue 11 Oct 2005 22:53
by irfan
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!

Posted: Wed 12 Oct 2005 11:57
by Serious
We have fixed this problem for the MySQLDirect .NET.

Look forward for the next build.