Commit aec81618 authored by unknown's avatar unknown

Fix bug introduced, attempted an optimisation not very successfully

parent 6d1bd029
...@@ -1376,8 +1376,6 @@ void PollGuard::wait_for_input(int wait_time) ...@@ -1376,8 +1376,6 @@ void PollGuard::wait_for_input(int wait_time)
receiving data we will check if all data is received, if not we receiving data we will check if all data is received, if not we
poll again. poll again.
*/ */
if (t_poll_owner)
{
#ifdef NDB_SHM_TRANSPORTER #ifdef NDB_SHM_TRANSPORTER
/* /*
If shared memory transporters are used we need to set our sigmask If shared memory transporters are used we need to set our sigmask
...@@ -1388,7 +1386,6 @@ void PollGuard::wait_for_input(int wait_time) ...@@ -1388,7 +1386,6 @@ void PollGuard::wait_for_input(int wait_time)
#endif #endif
m_tp->set_poll_owner(m_waiter); m_tp->set_poll_owner(m_waiter);
m_waiter->set_poll_owner(true); m_waiter->set_poll_owner(true);
}
m_tp->external_poll((Uint32)wait_time); m_tp->external_poll((Uint32)wait_time);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment