StatementContext sc = lcc.getStatementContext();
/* make sure that the cleanup is on the new SC */
if (sc != null && active_sc != sc)
{
sc.cleanupOnError(e);
}
/* Handle dynamic recompiles */
if (e.getMessageId().equals(SQLState.LANG_STATEMENT_NEEDS_RECOMPILE))
{