Skip to content

Commit 578c993

Browse files
committed
Add comment linking to Connector/NET bug.
1 parent d155628 commit 578c993

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/content/tutorials/migrating-from-connector-net.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,3 +215,4 @@ The following bugs in Connector/NET are fixed by switching to MySqlConnector. (~
215215
* [#97738](https://bugs.mysql.com/bug.php?id=97738): Cannot use PEM files when account uses `require subject`
216216
* [#97872](https://bugs.mysql.com/bug.php?id=97872): `KeepAlive` in connection string throws exception on .NET Core
217217
* [#98322](https://bugs.mysql.com/bug.php?id=98322): `new MySqlConnection(null)` throws `NullReferenceException`
218+
* [#99091](https://bugs.mysql.com/bug.php?id=99091): Unexpected return value getting integer for `TINYINT(1)` column

tests/SideBySide/QueryTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,7 @@ public void GetIntForTinyInt1(bool treatTinyAsBoolean, bool prepare)
12431243
{
12441244
Assert.True(reader.Read());
12451245
#if !BASELINE
1246+
// https://bugs.mysql.com/bug.php?id=99091
12461247
Assert.Equal((sbyte) expected[i], reader.GetSByte(0));
12471248
if (treatTinyAsBoolean)
12481249
Assert.Equal((byte) expected[i], reader.GetByte(0));
@@ -1251,14 +1252,14 @@ public void GetIntForTinyInt1(bool treatTinyAsBoolean, bool prepare)
12511252
Assert.Equal(expected[i], reader.GetInt32(0));
12521253
Assert.Equal((long) expected[i], reader.GetInt64(0));
12531254
#if !BASELINE
1255+
// https://bugs.mysql.com/bug.php?id=99091
12541256
Assert.Equal(expected[i], reader.GetFieldValue<int>(0));
12551257
#endif
12561258
}
12571259

12581260
Assert.False(reader.Read());
12591261
}
12601262

1261-
12621263
class BoolTest
12631264
{
12641265
public int Id { get; set; }

0 commit comments

Comments
 (0)