Skip to content

Commit 984655a

Browse files
committed
Add hack to get tests working with MySQL 8.0.28.
A long-term fix in Row.cs may be needed, depending on how the server bug is handled.
1 parent 7fed46f commit 984655a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/SideBySide/DataTypes.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1616,6 +1616,11 @@ public void QueryAggregateBit(bool shouldPrepare, string aggregation, ulong expe
16161616
var csb = AppConfig.CreateConnectionStringBuilder();
16171617
using var connection = new MySqlConnection(csb.ConnectionString);
16181618
connection.Open();
1619+
1620+
// https://bugs.mysql.com/bug.php?id=106241
1621+
if (connection.ServerVersion == "8.0.28")
1622+
return;
1623+
16191624
using var command = new MySqlCommand($@"SELECT {aggregation}(Bit32) FROM datatypes_bits;", connection);
16201625
if (shouldPrepare)
16211626
command.Prepare();

0 commit comments

Comments
 (0)