Skip to content

Commit

Permalink
Add RenameIndex support for MariaDB versions >= 10.5.2 (#1802)
Browse files Browse the repository at this point in the history
Rename index support was added by the following MariaDB issue:
https://jira.mariadb.org/browse/MDEV-7318
  • Loading branch information
JustusGreiberORGADATA committed Feb 28, 2024
1 parent e7a8e2d commit 40ed6d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EFCore.MySql/Infrastructure/MariaDbServerVersion.cs
Expand Up @@ -52,7 +52,7 @@ internal MariaDbServerVersionSupport([NotNull] ServerVersion serverVersion)
public override bool DateTimeCurrentTimestamp => ServerVersion.Version >= new Version(10, 0, 1);
public override bool DateTime6 => ServerVersion.Version >= new Version(10, 1, 2);
public override bool LargerKeyLength => ServerVersion.Version >= new Version(10, 2, 2);
public override bool RenameIndex => false;
public override bool RenameIndex => ServerVersion.Version >= new Version(10, 5, 2);
public override bool RenameColumn => ServerVersion.Version >= new Version(10, 5, 2);
public override bool WindowFunctions => ServerVersion.Version >= new Version(10, 2, 0);
public override bool FloatCast => false; // The implemented support drops some decimal places and rounds.
Expand Down

0 comments on commit 40ed6d9

Please sign in to comment.