sqldata/sqldata.cpp
// Check is a DDL task is running for the specified object (already in critical session)
Check is a DDL task is running for the specified object (already in critical session)
Check is a DDL task is running for the specified object ( already in critical session )
bool SqlData::IsDdlRunning(std::string &table)
{
	for(std::list<SqlMetaTask>::iterator i = _meta_in_progress.begin(); i != _meta_in_progress.end(); i++)
	{
		if(_stricmp(table.c_str(), (*i).s_name.c_str()) == 0)
			return true;
	}
	return false;
}
bool SqlData :: IsDdlRunning ( std :: string & table ) { for ( std :: list < SqlMetaTask > :: iterator i = _meta_in_progress . begin ( ) ; i != _meta_in_progress . end ( ) ; i ++ ) { if ( _stricmp ( table . c_str ( ) , ( * i ) . s_name . c_str ( ) ) == 0 ) return true ; } return false ; }
Check is a DDL task is running for the specified object (already in critical session)
Check is a DDL task is running for the specified object ( already in critical session )
// Check currently executed metadata tasks // Compare table name