summaryrefslogtreecommitdiff
path: root/www/firefox31/patches/patch-bg
blob: f67ac9fe325cf248fc45ce95a3d77d47079ee4d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-bg,v 1.1 2014/11/03 12:18:32 ryoon Exp $

--- storage/src/SQLiteMutex.h.orig	2013-10-25 22:27:40.000000000 +0000
+++ storage/src/SQLiteMutex.h
@@ -108,15 +108,19 @@ public:
   void assertCurrentThreadOwns()
   {
     NS_ASSERTION(mMutex, "No mutex associated with this wrapper!");
+#if 0
     NS_ASSERTION(sqlite3_mutex_held(mMutex),
                  "Mutex is not held, but we expect it to be!");
+#endif
   }
 
   void assertNotCurrentThreadOwns()
   {
     NS_ASSERTION(mMutex, "No mutex associated with this wrapper!");
+#if 0
     NS_ASSERTION(sqlite3_mutex_notheld(mMutex),
                  "Mutex is held, but we expect it to not be!");
+#endif
   }
 #endif // ifndef DEBUG