mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 462379 - (NS_ERROR_FAILURE) [nsINavBookmarksService.insertBookmark] when trying to star a bookmark
r=dietrich
This commit is contained in:
parent
7e2b8e95de
commit
a2d0e846cb
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user