Merge adventure.(none):/home/thek/Development/cpp/bug21074/my50-bug21074
into adventure.(none):/home/thek/Development/cpp/mysql-5.0-runtime sql/sql_cache.cc: Auto merged
This commit is contained in:
commit
0f70a032c2
@ -1093,7 +1093,7 @@ Query_cache::send_result_to_client(THD *thd, char *sql, uint query_length)
|
|||||||
spin_count++;
|
spin_count++;
|
||||||
if (spin_count%5)
|
if (spin_count%5)
|
||||||
new_time= my_clock();
|
new_time= my_clock();
|
||||||
pthread_yield();
|
my_sleep(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lock_status != 0)
|
if (lock_status != 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user