summaryrefslogtreecommitdiff
path: root/mail/thunderbird/patches/patch-mozilla_storage_SQLiteMutex.h
blob: ac15b742ae8c5315e72e400d97a37703e46244ce (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-mozilla_storage_SQLiteMutex.h,v 1.1 2016/04/17 18:33:50 ryoon Exp $

--- mozilla/storage/SQLiteMutex.h.orig	2016-04-07 21:33:16.000000000 +0000
+++ mozilla/storage/SQLiteMutex.h
@@ -107,15 +107,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