public StatementExecutionVariablesBundle getExecutionVariables() {
return executionVariables;
}
protected StatementExecutionResult createExecutionResult(Statement statement, StatementExecutionInput executionInput) throws SQLException {
StatementExecutionResult executionResult = new StatementExecutionBasicResult(getResultName(), executionInput);
String message = executablePsiElement.getPresentableText() + " executed successfully";
int updateCount = statement.getUpdateCount();
if (updateCount > -1) {
message = message + ": " + updateCount + (updateCount != 1 ? " rows" : " row") + " affected";
}
executionResult.updateExecutionMessage(MessageType.INFO, message);
executionResult.setExecutionStatus(StatementExecutionResult.STATUS_SUCCESS);
return executionResult;
}