Skip to content

Commit

Permalink
Mark HA STATUS idempotent so it can be used from SQL API.
Browse files Browse the repository at this point in the history
  • Loading branch information
timw committed Aug 14, 2022
1 parent 71c6b90 commit 19c3ca7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ public OHaStatusStatement(OrientSql p, int id) {
super(p, id);
}

@Override
public boolean isIdempotent() {
return true;
}

@Override
public void toString(Map<Object, Object> params, StringBuilder builder) {
builder.append("HA STATUS");
Expand Down

0 comments on commit 19c3ca7

Please sign in to comment.