Bug 559217 - Browser freezes due a lock contentions across Places statements. r=sdwilsh

This commit is contained in:
Marco Bonardo 2010-04-29 10:40:08 +02:00
Родитель 758f7c7864
Коммит 9f441bdba1
1 изменённых файлов: 0 добавлений и 3 удалений

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

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