diff options
Diffstat (limited to 'mail/thunderbird45/patches/patch-mozilla_storage_SQLiteMutex.h')
-rw-r--r-- | mail/thunderbird45/patches/patch-mozilla_storage_SQLiteMutex.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mail/thunderbird45/patches/patch-mozilla_storage_SQLiteMutex.h b/mail/thunderbird45/patches/patch-mozilla_storage_SQLiteMutex.h new file mode 100644 index 00000000000..989cf5eb2b0 --- /dev/null +++ b/mail/thunderbird45/patches/patch-mozilla_storage_SQLiteMutex.h @@ -0,0 +1,24 @@ +$NetBSD: patch-mozilla_storage_SQLiteMutex.h,v 1.1 2017/04/27 13:38:19 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 + |