HHH-14777 Enabled skip locked rendering for MariaDB 10.6+

This commit is contained in:
Christian Beikov 2021-08-16 17:08:35 +02:00
parent e0c77e82ad
commit dffe592cde
1 changed files with 2 additions and 2 deletions

View File

@ -144,8 +144,8 @@ public class MariaDBDialect extends MySQLDialect {
@Override
public boolean supportsSkipLocked() {
//only supported on MySQL
return false;
//only supported on MySQL and as of 10.6
return getVersion() >= 1060;
}
@Override