summaryrefslogtreecommitdiff
path: root/ndb/test/ndbapi/benchronja.cpp
diff options
context:
space:
mode:
authorunknown <tulin@mysql.com>2005-02-01 19:01:37 +0100
committerunknown <tulin@mysql.com>2005-02-01 19:01:37 +0100
commitcf660b001ef6ba154b1d8d15b534a253dcfc14e0 (patch)
tree7e9b65ed010e4892f4b52ca72eb4f85ef5fd3347 /ndb/test/ndbapi/benchronja.cpp
parent514b2364b4156e23fb15f4506a50877011b9c7ef (diff)
downloadmariadb-git-cf660b001ef6ba154b1d8d15b534a253dcfc14e0.tar.gz
cleanup and streamlining of thread create/exit in ndb
Diffstat (limited to 'ndb/test/ndbapi/benchronja.cpp')
-rw-r--r--ndb/test/ndbapi/benchronja.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/ndb/test/ndbapi/benchronja.cpp b/ndb/test/ndbapi/benchronja.cpp
index 91b2a041186..a7523e8e416 100644
--- a/ndb/test/ndbapi/benchronja.cpp
+++ b/ndb/test/ndbapi/benchronja.cpp
@@ -984,7 +984,6 @@ void* ThreadExec(void* ThreadData){
delete pMyNdb;
pMyNdb = NULL ;
ThreadReady[thread_no] = 1;
- NdbThread_Exit(0) ;
return 0 ;
}//if
@@ -1197,7 +1196,6 @@ void* ThreadExec(void* ThreadData){
} // for(;;)
delete pMyNdb ;
- NdbThread_Exit(0) ;
- return 0 ; // Compiler is happy now
+ return 0 ;
}