core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLRetryAbstract.java
protected void parseRetry() throws OCommandSQLParsingException {
    retry = Integer.parseInt(parserNextWord(true));

    String temp = parseOptionalWord(true);

    if (temp.equals("WAIT")) {
      wait = Integer.parseInt(parserNextWord(true));
    } else
      parserGoBack();
  }
protected void parseRetry() throws OCommandSQLParsingException {
    retry = Integer.parseInt(parserNextWord(true));

    String temp = parseOptionalWord(true);

    if (temp.equals("WAIT")) {
      wait = Integer.parseInt(parserNextWord(true));
    } else
      parserGoBack();
  }
Parses the RETRY number of times