perf testing bug 431758 (a=mconnor)
git-svn-id: svn://10.0.0.236/trunk@251207 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8fc5693af7
commit
fe0deac70b
@ -636,6 +636,12 @@ nsNavHistory::InitDB(PRInt16 *aMadeChanges)
|
||||
rv = mDBConn->ExecuteSimpleSQL(pageSizePragma);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
#ifdef IN_MEMORY_SQLITE_TEMP_STORE
|
||||
rv = mDBConn->ExecuteSimpleSQL(NS_LITERAL_CSTRING(
|
||||
"PRAGMA temp_store = MEMORY"));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
#endif
|
||||
|
||||
mozStorageTransaction transaction(mDBConn, PR_FALSE);
|
||||
|
||||
// Initialize the other places services' database tables. We do this before
|
||||
|
||||
@ -91,6 +91,9 @@
|
||||
// set to use more optimized (in-memory database) link coloring
|
||||
//#define IN_MEMORY_LINKS
|
||||
|
||||
// define to maintain sqlite temporary tables in memory rather than on disk
|
||||
#define IN_MEMORY_SQLITE_TEMP_STORE
|
||||
|
||||
// define to enable lazy link adding
|
||||
#define LAZY_ADD
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user