summaryrefslogtreecommitdiff
path: root/mozilla-1601707.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mozilla-1601707.patch')
-rw-r--r--mozilla-1601707.patch64
1 files changed, 0 insertions, 64 deletions
diff --git a/mozilla-1601707.patch b/mozilla-1601707.patch
deleted file mode 100644
index 1a0ab4f..0000000
--- a/mozilla-1601707.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-diff -up firefox-72.0/dom/indexedDB/ActorsParent.cpp.mozilla-1601707 firefox-72.0/dom/indexedDB/ActorsParent.cpp
---- firefox-72.0/dom/indexedDB/ActorsParent.cpp.mozilla-1601707 2020-01-03 19:57:54.000000000 +0100
-+++ firefox-72.0/dom/indexedDB/ActorsParent.cpp 2020-01-07 13:33:31.950688264 +0100
-@@ -24617,11 +24617,11 @@ nsresult ObjectStoreAddOrPutRequestOp::D
- // if we allow overwrite or not. By not allowing overwrite we raise
- // detectable errors rather than corrupting data.
- DatabaseConnection::CachedStatement stmt;
-- const auto& optReplaceDirective = (!mOverwrite || keyUnset)
-- ? NS_LITERAL_CSTRING("")
-- : NS_LITERAL_CSTRING("OR REPLACE ");
- rv = aConnection->GetCachedStatement(
-- NS_LITERAL_CSTRING("INSERT ") + optReplaceDirective +
-+ NS_LITERAL_CSTRING("INSERT ") +
-+ ((!mOverwrite || keyUnset)
-+ ? NS_LITERAL_CSTRING("")
-+ : NS_LITERAL_CSTRING("OR REPLACE ")) +
- NS_LITERAL_CSTRING("INTO object_data "
- "(object_store_id, key, file_ids, data) "
- "VALUES (:") +
-@@ -26457,10 +26457,6 @@ nsresult Cursor::OpenOp::DoIndexDatabase
-
- const bool usingKeyRange = mOptionalKeyRange.isSome();
-
-- const auto& indexTable = mCursor->mUniqueIndex
-- ? NS_LITERAL_CSTRING("unique_index_data")
-- : NS_LITERAL_CSTRING("index_data");
--
- // The result of MakeColumnPairSelectionList is stored in a local variable,
- // since inlining it into the next statement causes a crash on some Mac OS X
- // builds (see https://bugzilla.mozilla.org/show_bug.cgi?id=1168606#c110).
-@@ -26478,7 +26474,9 @@ nsresult Cursor::OpenOp::DoIndexDatabase
- "object_data.file_ids, "
- "object_data.data "
- "FROM ") +
-- indexTable +
-+ (mCursor->mUniqueIndex
-+ ? NS_LITERAL_CSTRING("unique_index_data")
-+ : NS_LITERAL_CSTRING("index_data")) +
- NS_LITERAL_CSTRING(
- " AS index_table "
- "JOIN object_data "
-@@ -26563,10 +26561,6 @@ nsresult Cursor::OpenOp::DoIndexKeyDatab
-
- const bool usingKeyRange = mOptionalKeyRange.isSome();
-
-- const auto& table = mCursor->mUniqueIndex
-- ? NS_LITERAL_CSTRING("unique_index_data")
-- : NS_LITERAL_CSTRING("index_data");
--
- // The result of MakeColumnPairSelectionList is stored in a local variable,
- // since inlining it into the next statement causes a crash on some Mac OS X
- // builds (see https://bugzilla.mozilla.org/show_bug.cgi?id=1168606#c110).
-@@ -26581,7 +26575,10 @@ nsresult Cursor::OpenOp::DoIndexKeyDatab
- NS_LITERAL_CSTRING(
- "object_data_key "
- " FROM ") +
-- table + NS_LITERAL_CSTRING(" WHERE index_id = :") +
-+ (mCursor->mUniqueIndex
-+ ? NS_LITERAL_CSTRING("unique_index_data")
-+ : NS_LITERAL_CSTRING("index_data")) +
-+ NS_LITERAL_CSTRING(" WHERE index_id = :") +
- kStmtParamNameId;
-
- const auto keyRangeClause = MaybeGetBindingClauseForKeyRange(
bgstack15