diff --git a/toolkit/components/places/src/nsPlacesDBFlush.js b/toolkit/components/places/src/nsPlacesDBFlush.js index 8a4035e36427..c3fd9a953e74 100644 --- a/toolkit/components/places/src/nsPlacesDBFlush.js +++ b/toolkit/components/places/src/nsPlacesDBFlush.js @@ -200,7 +200,10 @@ nsPlacesDBFlush.prototype = { statements.push(this._getSyncTableStatement(aTableNames[i])); // Execute sync statements async in a transaction - this._db.executeAsync(statements, statements.length, this); + // XXX due to a bug in sqlite, we cannot wrap these in a transaction. See + // https://bugzilla.mozilla.org/show_bug.cgi?id=462379#c2 for details. + //this._db.executeAsync(statements, statements.length, this); + statements.forEach(function(stmt) stmt.executeAsync(this), this); // Finalize statements, otherwise we could get in trouble statements.forEach(function(stmt) stmt.finalize());