aboutsummaryrefslogtreecommitdiff
path: root/src/build.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2010-06-11 17:01:24 +0000
committerdrh <drh@noemail.net>2010-06-11 17:01:24 +0000
commit0b9b4301b886153ab88df439ae26f3cc20916ee9 (patch)
treef655857bcdf80ca7a85ea47a6f9eacc38e71f4fd /src/build.c
parent5130c31b0c2cd11a34573898e95c7778c87e165c (diff)
downloadsqlite-0b9b4301b886153ab88df439ae26f3cc20916ee9.tar.gz
sqlite-0b9b4301b886153ab88df439ae26f3cc20916ee9.zip
Refactor and simplify the logic used to change journalmode.
FossilOrigin-Name: 95cc3f6fdec5494560c3cd4439d06870d1c62506
Diffstat (limited to 'src/build.c')
-rw-r--r--src/build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.c b/src/build.c
index 38166ce7f..4c00e398e 100644
--- a/src/build.c
+++ b/src/build.c
@@ -3422,7 +3422,7 @@ int sqlite3OpenTempDatabase(Parse *pParse){
db->mallocFailed = 1;
return 1;
}
- sqlite3PagerJournalMode(sqlite3BtreePager(pBt), db->dfltJournalMode);
+ sqlite3PagerSetJournalMode(sqlite3BtreePager(pBt), db->dfltJournalMode);
}
return 0;
}