/ Check-in [c8ff2a48]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a typo in a comment for PRAGMA journal_mode. Also amplify that same comment.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c8ff2a484005ca48c52407db9f4a9a7d9f747158
User & Date: drh 2011-10-10 12:04:14
Context
2011-10-10
16:06
Enhance sqlite3_analyzer so that it is able to deal with multiplexed databases that have 8+3 filenames. check-in: e5169f9a user: drh tags: trunk
12:04
Fix a typo in a comment for PRAGMA journal_mode. Also amplify that same comment. check-in: c8ff2a48 user: drh tags: trunk
2011-10-08
21:39
All the soft_heap_limit to be exceeded by 10% in test cases. check-in: 4be9dccc user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/pragma.c.

   529    529     **  PRAGMA [database.]journal_mode =
   530    530     **                      (delete|persist|off|truncate|memory|wal|off)
   531    531     */
   532    532     if( sqlite3StrICmp(zLeft,"journal_mode")==0 ){
   533    533       int eMode;        /* One of the PAGER_JOURNALMODE_XXX symbols */
   534    534       int ii;           /* Loop counter */
   535    535   
   536         -    /* Force the schema to be loaded on all databases.  This cases all
   537         -    ** database files to be opened and the journal_modes set. */
          536  +    /* Force the schema to be loaded on all databases.  This causes all
          537  +    ** database files to be opened and the journal_modes set.  This is
          538  +    ** necessary because subsequent processing must know if the databases
          539  +    ** are in WAL mode. */
   538    540       if( sqlite3ReadSchema(pParse) ){
   539    541         goto pragma_out;
   540    542       }
   541    543   
   542    544       sqlite3VdbeSetNumCols(v, 1);
   543    545       sqlite3VdbeSetColName(v, 0, COLNAME_NAME, "journal_mode", SQLITE_STATIC);
   544    546