Bug 408914 - "Disable sqlite async IO" [p=vladimir@pobox.com (Vladimir Vukicevic [vlad]) r=sdwilsh a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@242551 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
385238db97
commit
a08ae508d1
@ -91,6 +91,9 @@ mozStorageService::Init()
|
||||
// cache.
|
||||
sqlite3_enable_shared_cache(1);
|
||||
|
||||
// Disable async IO; need to test to see whether corruption is
|
||||
// caused by it or not
|
||||
#if 0
|
||||
nsresult rv;
|
||||
nsCOMPtr<nsIObserverService> observerService =
|
||||
do_GetService("@mozilla.org/observer-service;1", &rv);
|
||||
@ -101,6 +104,7 @@ mozStorageService::Init()
|
||||
|
||||
rv = observerService->AddObserver(this, kShutdownMessage, PR_FALSE);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
#endif
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user