Commit d2a0a4d5 authored by unknown's avatar unknown

- Fix cross compatibility issues by exchanging pthread_yield with my_sleep(0)

parent 733bd4fe
......@@ -1084,7 +1084,7 @@ Query_cache::send_result_to_client(THD *thd, char *sql, uint query_length)
spin_count++;
if (spin_count%5)
new_time= my_clock();
pthread_yield();
my_sleep(0);
}
if (lock_status != 0)
......
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