Skip to content

Commit

Permalink
Bug 416330 - fix oranges. CLOSED TREE. a=zpao r=sdwilsh
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwilsh committed Jun 28, 2010
1 parent 1d8ac7b commit 0a2985c
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -579,8 +579,8 @@ nsUrlClassifierStore::Close()
mPartialEntriesAfterStatement = nsnull;
mPartialEntriesBeforeStatement = nsnull;
mLastPartialEntriesStatement = nsnull;

mRandomStatement = nsnull;
mGetPageSizeStatement = nsnull;

mConnection = nsnull;
}
Expand Down Expand Up @@ -3168,7 +3168,7 @@ nsUrlClassifierDBServiceWorker::SetupUpdate()
NS_ENSURE_SUCCESS(rv, rv);

NS_ASSERTION(hasResult, "Should always be able to get page size from sqlite");
PRUint32 pageSize = mGetTableIdStatement->AsInt32(0);
PRUint32 pageSize = mGetPageSizeStatement->AsInt32(0);
PRUint32 cachePages = gUpdateCacheSize / pageSize;
nsCAutoString cacheSizePragma("PRAGMA cache_size=");
cacheSizePragma.AppendInt(cachePages);
Expand Down

0 comments on commit 0a2985c

Please sign in to comment.