Bug 1256593 - remvoed dead code. r?sicking draft
authorBogdan Postelnicu <bogdan.postelnicu@softvision.ro>
Tue, 15 Mar 2016 11:36:53 +0200
changeset 340453 b5c20af06d2445e769100d8138457f4d34bc9113
parent 339874 f0c0480732d36153e8839c7f17394d45f679f87d
child 516189 43f048a20f4f294f0c04de75f463caee0073f53a
push id12968
push userBogdan.Postelnicu@softvision.ro
push dateTue, 15 Mar 2016 09:39:45 +0000
reviewerssicking
bugs1256593
milestone48.0a1
Bug 1256593 - remvoed dead code. r?sicking MozReview-Commit-ID: CqeAV6I0Jme
dom/indexedDB/ActorsParent.cpp
--- a/dom/indexedDB/ActorsParent.cpp
+++ b/dom/indexedDB/ActorsParent.cpp
@@ -17823,21 +17823,17 @@ DatabaseMaintenance::CheckIntegrity(mozI
       if (NS_WARN_IF(NS_FAILED(rv))) {
         return rv;
       }
     }
 
     if (changedForeignKeys) {
       nsAutoCString stmtSQL;
       stmtSQL.AssignLiteral("PRAGMA foreign_keys = ");
-      if (foreignKeysWereEnabled) {
-        stmtSQL.AppendLiteral("ON");
-      } else {
-        stmtSQL.AppendLiteral("OFF");
-      }
+      stmtSQL.AppendLiteral("OFF");
       stmtSQL.Append(';');
 
       rv = aConnection->ExecuteSimpleSQL(stmtSQL);
       if (NS_WARN_IF(NS_FAILED(rv))) {
         return rv;
       }
     }