sqldata/sqldata.cpp
// For trigger task, check that all sequences already created (already in critical session)
For trigger task, check that all sequences already created (already in critical session)
For trigger task check that all sequences already created ( already in critical session )
bool SqlData::IsSequencesCreated()
{
	for(std::list<SqlMetaTask>::iterator i = _meta_in_progress.begin(); i != _meta_in_progress.end(); i++)
	{
		if((*i).type == SQLDATA_CMD_CREATE_SEQUENCE)
			return false;
	}
	for(std::list<SqlMetaTask>::iterator i = _meta_tasks.begin(); i != _meta_tasks.end(); i++)
	{
		if((*i).type == SQLDATA_CMD_CREATE_SEQUENCE)
			return false;
	}
	return true;
}
bool SqlData :: IsSequencesCreated ( ) { for ( std :: list < SqlMetaTask > :: iterator i = _meta_in_progress . begin ( ) ; i != _meta_in_progress . end ( ) ; i ++ ) { if ( ( * i ) . type == SQLDATA_CMD_CREATE_SEQUENCE ) return false ; } for ( std :: list < SqlMetaTask > :: iterator i = _meta_tasks . begin ( ) ; i != _meta_tasks . end ( ) ; i ++ ) { if ( ( * i ) . type == SQLDATA_CMD_CREATE_SEQUENCE ) return false ; } return true ; }
For trigger task, check that all sequences already created (already in critical session)
For trigger task check that all sequences already created ( already in critical session )
// First check currently executed metadata tasks // Check any create sequence // Check not selected tasks // Check any create sequence