sqlparser/statements.cpp
// Actions after converting each procedure, function or trigger
Actions after converting each procedure, function or trigger
Actions after converting each procedure function or trigger
void SqlParser::SplPostActions()
{
	if(_source == SQL_DB2 && _target == SQL_ORACLE)
		OracleTruncateTemporaryTablesWithReplace();
	if(_spl_moved_if_select > 0 && _target == SQL_ORACLE)
		OracleIfSelectDeclarations();
	ClearCopy(COPY_SCOPE_PROC);
	ClearSplScope();
	return;
}
void SqlParser :: SplPostActions ( ) { if ( _source == SQL_DB2 && _target == SQL_ORACLE ) OracleTruncateTemporaryTablesWithReplace ( ) ; if ( _spl_moved_if_select > 0 && _target == SQL_ORACLE ) OracleIfSelectDeclarations ( ) ; ClearCopy ( COPY_SCOPE_PROC ) ; ClearSplScope ( ) ; return ; }
Actions after converting each procedure, function or trigger
Actions after converting each procedure function or trigger
// Check if temporary table need to be truncated at the beginning of block in Oracle // Add declarations for SELECT statement moved out of IF condition // Remove Copy/Paste blocks // In case of parser error can enter to this function recursively, reset variables