Bug 462379 - (NS_ERROR_FAILURE) [nsINavBookmarksService.insertBookmark] when trying to star a bookmark

r=dietrich
This commit is contained in:
Shawn Wilsher 2008-10-30 17:20:33 -04:00
parent 7e2b8e95de
commit a2d0e846cb

View File

@ -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());