mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-02 02:53:04 +03:00 
			
		
		
		
	drop table after test (if created & success)
This commit is contained in:
		@@ -182,10 +182,6 @@ static int drop_all_tables()
 | 
			
		||||
    case NdbDictionary::Object::IndexTrigger:
 | 
			
		||||
    case NdbDictionary::Object::SubscriptionTrigger:
 | 
			
		||||
    case NdbDictionary::Object::ReadOnlyConstraint:
 | 
			
		||||
    case NdbDictionary::Object::Tablespace:
 | 
			
		||||
    case NdbDictionary::Object::LogfileGroup:
 | 
			
		||||
    case NdbDictionary::Object::Datafile:
 | 
			
		||||
    case NdbDictionary::Object::Undofile:
 | 
			
		||||
    default:
 | 
			
		||||
      break;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -859,6 +859,11 @@ void NDBT_TestSuite::execute(Ndb* ndb, const NdbDictionary::Table* pTab,
 | 
			
		||||
    else
 | 
			
		||||
      numTestsOk++;
 | 
			
		||||
    numTestsExecuted++;
 | 
			
		||||
 | 
			
		||||
    if (result == NDBT_OK && createTable == true){
 | 
			
		||||
      pDict->dropTable(pTab->getName());
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    delete ctx;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user