Skip to content

Commit ccfd270

Browse files
committed
Update tests for MySQL Server 8.0.29.
This reverts commit 74e1852.
1 parent 2af1d30 commit ccfd270

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.ci/docker-run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ PORT=$2
2424
OMIT_FEATURES=$3
2525
MYSQL_EXTRA=
2626

27-
if [ "$IMAGE" == "mysql:8.0.28" ]; then
27+
if [ "$IMAGE" == "mysql:8.0" ]; then
2828
MYSQL_EXTRA='--default-authentication-plugin=mysql_native_password'
2929
fi
3030
if [[ "$IMAGE" == mariadb* ]]; then

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ jobs:
223223
image: 'mysql:5.7'
224224
unsupportedFeatures: 'CachingSha2Password,Ed25519,QueryAttributes,Tls11,Tls13,UuidToBin'
225225
'MySQL 8.0':
226-
image: 'mysql:8.0.28'
226+
image: 'mysql:8.0'
227227
unsupportedFeatures: 'Ed25519,Tls11,ZeroDateTime'
228228
'MariaDB 10.4':
229229
image: 'mariadb:10.4'

tests/SideBySide/DataTypes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,7 @@ public void QueryAggregateBit(bool shouldPrepare, string aggregation, ulong expe
16141614
connection.Open();
16151615

16161616
// https://bugs.mysql.com/bug.php?id=106241
1617-
if (connection.ServerVersion == "8.0.28")
1617+
if (Version.TryParse(connection.ServerVersion, out var version) && version is { Major: 8, Minor: 0, Build: >= 28 })
16181618
return;
16191619

16201620
using var command = new MySqlCommand($@"SELECT {aggregation}(Bit32) FROM datatypes_bits;", connection);

0 commit comments

Comments
 (0)