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
Родитель e53f23d77a
Коммит 8a7df4c6aa
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

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