Skip to content

Commit 891c5b5

Browse files
author
Jose Ramirez
committed
Fixed bug where the manifest token was incorrectly determined.
1 parent ed870b5 commit 891c5b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/MySql.Data.EntityFramework5/ProviderServices.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ protected override string GetDbProviderManifestToken(DbConnection connection)
262262
if (version < new Version(5, 6)) return "5.5";
263263
if (version < new Version(5, 7)) return "5.6";
264264
if (version < new Version(8, 0, 4)) return "5.7";
265-
return "8.0";
265+
return c.ServerVersion.Substring(0, 5);
266266

267267
}
268268
}

0 commit comments

Comments
 (0)