Skip to content

Commit

Permalink
Diasble Oracle select-for-update for now
Browse files Browse the repository at this point in the history
  • Loading branch information
kagkarlsson committed Aug 27, 2023
1 parent 9991f0b commit 135c51b
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public String getQueryLimitPart(int limit) {

@Override
public boolean supportsGenericLockAndFetch() {
// FIXLATER: enable for versions of MariaDB that supports it
// FIXLATER: fix syntax and enable it for versions of MariaDB that supports it
return false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public String getQueryLimitPart(int limit) {

@Override
public boolean supportsGenericLockAndFetch() {
// FIXLATER: enable when mysql-syntax fixed
// FIXLATER: fix syntax and enable
return false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ public String getName() {

@Override
public boolean supportsGenericLockAndFetch() {
return true;
// FIXLATER: fix syntax and enable
return false;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class MariaDB103CompatibilityTest extends CompatibilityTest {
private static HikariDataSource pooledDatasource;

public MariaDB103CompatibilityTest() {
super(false);
super(false); // FIXLATER: fix syntax and enable
}

@BeforeAll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ public class Mysql8CompatibilityTest extends CompatibilityTest {

private static HikariDataSource pooledDatasource;

// FIXLATER: enable select-for-update tests when SKIP LOCKED is fixed for mysql
public Mysql8CompatibilityTest() {
super(false);
super(false); // FIXLATER: fix syntax and enable
}

@BeforeAll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class Oracle11gCompatibilityTest extends CompatibilityTest {
private static HikariDataSource pooledDatasource;

public Oracle11gCompatibilityTest() {
super(true);
super(false); // FIXLATER: fix syntax and enable
}

@BeforeAll
Expand Down

0 comments on commit 135c51b

Please sign in to comment.