diff --git a/dbcon/joblist/tuplehashjoin.cpp b/dbcon/joblist/tuplehashjoin.cpp index a7b3bc720..53f4a8ba1 100644 --- a/dbcon/joblist/tuplehashjoin.cpp +++ b/dbcon/joblist/tuplehashjoin.cpp @@ -1938,6 +1938,7 @@ void TupleHashJoinStep::segregateJoiners() } #endif + boost::mutex::scoped_lock sl(djsLock); /* For now if there is no largeBPS all joins need to either be DJS or not, not mixed */ if (!largeBPS) {