With Oracle's MySql.Data, when you read a TINYINT column - you can read it as a bool or as an Int32 - either way works.
And it only makes sense as TINYINT is not explicitly a boolean, it's just so tiny that it can only hold 0 or 1... And it's called TINYINT.
Seems like an easy fix.
It currently throws: Can't convert Bool to Int32
From: MySqlConnector\Core\Row.cs:line 224
For me - this was an unexpected breaking change when trying the transition to this library.
With Oracle's
MySql.Data, when you read a TINYINT column - you can read it as aboolor as anInt32- either way works.And it only makes sense as
TINYINTis not explicitly a boolean, it's just so tiny that it can only hold 0 or 1... And it's called TINYINT.Seems like an easy fix.
It currently throws:
Can't convert Bool to Int32From:
MySqlConnector\Core\Row.cs:line 224For me - this was an unexpected breaking change when trying the transition to this library.