24 lines
720 B
Plaintext
24 lines
720 B
Plaintext
$OpenBSD: patch-netwerk_cache_nsDiskCacheDeviceSQL_cpp,v 1.2 2019/03/11 19:04:37 semarie Exp $
|
|
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=1470961
|
|
|
|
Index: netwerk/cache/nsDiskCacheDeviceSQL.cpp
|
|
--- netwerk/cache/nsDiskCacheDeviceSQL.cpp.orig
|
|
+++ netwerk/cache/nsDiskCacheDeviceSQL.cpp
|
|
@@ -48,7 +48,6 @@
|
|
|
|
#include "mozilla/Telemetry.h"
|
|
|
|
-#include "sqlite3.h"
|
|
#include "mozilla/storage.h"
|
|
#include "nsVariant.h"
|
|
#include "mozilla/BasePrincipal.h"
|
|
@@ -204,7 +203,6 @@ nsOfflineCacheEvictionFunction::OnFunctionCall(mozISto
|
|
|
|
// If the key is currently locked, refuse to delete this row.
|
|
if (mDevice->IsLocked(fullKey)) {
|
|
- NS_ADDREF(*_retval = new IntegerVariant(SQLITE_IGNORE));
|
|
return NS_OK;
|
|
}
|
|
|