HHH-14777 Enabled skip locked rendering for MariaDB 10.6+
This commit is contained in:
parent
e0c77e82ad
commit
dffe592cde
|
@ -144,8 +144,8 @@ public class MariaDBDialect extends MySQLDialect {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean supportsSkipLocked() {
|
public boolean supportsSkipLocked() {
|
||||||
//only supported on MySQL
|
//only supported on MySQL and as of 10.6
|
||||||
return false;
|
return getVersion() >= 1060;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue