1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-3713: Join abort problem

Noticed a race on djsJoiners in abort() and segregateJoiners().
Re-added the mutex lock, but after risk of double lock grab.
This commit is contained in:
Patrick LeBlanc
2020-01-08 16:05:22 -05:00
parent 0dbf3280bb
commit 04807c3ef8

View File

@ -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)
{