~percona-dev/percona-server/release-5.1.51-12-bug_fix_658274

« back to all changes in this revision

Viewing changes to status_wait_query_cache_mutex.patch

  • Committer: Oleg Tsarev
  • Date: 2010-09-15 18:36:30 UTC
  • mfrom: (108.1.2 percona-server)
  • Revision ID: tsarev@percona-20100915183630-088jd9sdbqcloors
port tsarev's patches to 5.1.50

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
diff -Nur a/sql/sql_cache.cc b/sql/sql_cache.cc
20
20
--- a/sql/sql_cache.cc  2010-07-21 01:37:51.190424002 +0400
21
21
+++ b/sql/sql_cache.cc  2010-07-22 14:55:17.930424002 +0400
22
 
@@ -609,7 +609,13 @@
 
22
@@ -610,7 +610,13 @@
23
23
   bool interrupt= FALSE;
24
24
   DBUG_ENTER("Query_cache::try_lock");
25
25
 
33
33
   while (1)
34
34
   {
35
35
     if (m_cache_lock_status == Query_cache::UNLOCKED)
36
 
@@ -657,6 +663,7 @@
 
36
@@ -658,6 +664,7 @@
37
37
     }
38
38
   }
39
39
   pthread_mutex_unlock(&structure_guard_mutex);