1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-02 02:53:04 +03:00
Testcases for NF
This commit is contained in:
joreland@mysql.com
2004-10-08 17:44:20 +02:00
parent 46b2eae096
commit 20e5bfe839
7 changed files with 87 additions and 37 deletions

View File

@@ -1150,6 +1150,20 @@ void NDBT_Step::print(){
}
void
NDBT_Context::sync_down(const char * key){
Uint32 threads = getProperty(key, (unsigned)0);
if(threads){
decProperty(key);
}
}
void
NDBT_Context::sync_up_and_wait(const char * key, Uint32 value){
setProperty(key, value);
getPropertyWait(key, (unsigned)0);
}
template class Vector<NDBT_TestCase*>;
template class Vector<NDBT_TestCaseResult*>;
template class Vector<NDBT_Step*>;