ConnectionHandler activeConnection = getActiveConnection();
DBSchema currentSchema = getCurrentSchema();
String originalStatementText = executablePsiElement == null ? executableStatement : executablePsiElement.getText();
String executeStatementText = executablePsiElement == null ? executableStatement : executablePsiElement.prepareStatementText();
StatementExecutionInput executionInput = new StatementExecutionInput(originalStatementText, executeStatementText, this);
boolean continueExecution = true;
if (executionVariables != null) {
executeStatementText = executionVariables.prepareStatementText(activeConnection, executeStatementText, false);
executionInput.setExecuteStatement(executeStatementText);
if (executionVariables.hasErrors()) {
executionResult = createErrorExecutionResult(executionInput, "Could not bind all variables. ");
continueExecution = false;
}