[Commits] 40f6bcb856c: Add missing WSREP(thd) condition and remove unnecessary DBUG_RETURN.