1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Tweaks to the new shared-memory interface design - mostly comment changes.

FossilOrigin-Name: 6336de7aa96a6e1e68cc123e5d5f485d790d95a2
This commit is contained in:
drh
2010-07-13 23:41:40 +00:00
parent 0c1736026a
commit 6e1f482824
6 changed files with 35 additions and 27 deletions

View File

@@ -5213,11 +5213,11 @@ case OP_JournalMode: { /* out2-prerelease */
zFilename = sqlite3PagerFilename(pPager);
/* Do not allow a transition to journal_mode=WAL for a database
** in temporary storage or if the VFS does not support xShmOpen.
** in temporary storage or if the VFS does not support shared memory
*/
if( eNew==PAGER_JOURNALMODE_WAL
&& (zFilename[0]==0 /* Temp file */
|| !sqlite3PagerWalSupported(pPager)) /* No xShmOpen support */
|| !sqlite3PagerWalSupported(pPager)) /* No shared-memory support */
){
eNew = eOld;
}