d6869a8a93
* Remove reference to devel/xulrunner. * Move some common files for firefox/xulrunner-21.0. * Move patches from devel/sulrunner. * Take MAINTAINERship.
24 lines
788 B
Text
24 lines
788 B
Text
$NetBSD: patch-bg,v 1.1 2013/05/23 13:12:13 ryoon Exp $
|
|
|
|
--- storage/src/SQLiteMutex.h.orig 2013-01-04 23:44:44.000000000 +0000
|
|
+++ storage/src/SQLiteMutex.h
|
|
@@ -108,15 +108,19 @@ public:
|
|
void assertCurrentThreadOwns()
|
|
{
|
|
NS_ASSERTION(mMutex, "No mutex associated with this wrapper!");
|
|
+#if 0 /* XXX tnn: this breaks the debug build. */
|
|
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 /* XXX tnn: this breaks the debug build. */
|
|
NS_ASSERTION(sqlite3_mutex_notheld(mMutex),
|
|
"Mutex is held, but we expect it to not be!");
|
|
+#endif
|
|
}
|
|
#endif // ifndef DEBUG
|
|
|