зеркало из https://github.com/mozilla/gecko-dev.git
Bug 462379 - (NS_ERROR_FAILURE) [nsINavBookmarksService.insertBookmark] when trying to star a bookmark
r=dietrich
This commit is contained in:
Родитель
e53f23d77a
Коммит
8a7df4c6aa
|
@ -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());
|
||||
|
|
Загрузка…
Ссылка в новой задаче