catch (StandardException ex) {
throw new SQLParserInternalException(ex);
}
sessionMonitor.enterStage(MonitorStage.OPTIMIZE);
if (transaction == null) {
transaction = new ServerTransaction(this, true, ServerTransaction.PeriodicallyCommit.OFF);
localTransaction = true;
}
if ((sqlStmt instanceof DMLStatementNode) &&
!(sqlStmt instanceof CallStatementNode))
return compiler.compileExecutableStatement((DMLStatementNode)sqlStmt, parser.getParameterList(), getParameterNames, autoGeneratedKeys, context);