зеркало из https://github.com/mozilla/pjs.git
Bug 559217 - Browser freezes due a lock contentions across Places statements. r=sdwilsh
This commit is contained in:
Родитель
758f7c7864
Коммит
9f441bdba1
|
@ -78,9 +78,6 @@ public:
|
||||||
mozIStorageStatement* stmt = navHist->GetStatementById(DB_IS_PAGE_VISITED);
|
mozIStorageStatement* stmt = navHist->GetStatementById(DB_IS_PAGE_VISITED);
|
||||||
NS_ENSURE_STATE(stmt);
|
NS_ENSURE_STATE(stmt);
|
||||||
|
|
||||||
// Be sure to reset our statement!
|
|
||||||
mozStorageStatementScoper scoper(stmt);
|
|
||||||
|
|
||||||
// Bind by index for performance.
|
// Bind by index for performance.
|
||||||
nsresult rv = URIBinder::Bind(stmt, 0, aURI);
|
nsresult rv = URIBinder::Bind(stmt, 0, aURI);
|
||||||
NS_ENSURE_SUCCESS(rv, rv);
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче