/ Check-in [9e6d340f]
Login

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

Overview
Comment:If the SQLITE_FCNTL_PRAGMA file control returns something other than SQLITE_NOTFOUND, then skip the rest of Pragma code generation.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9e6d340f557c2f2c8a07300ac60357af9906a7fa
User & Date: drh 2012-02-24 00:03:12
Context
2012-02-24
14:33
Add #ifdef SQLITE_ENABLE_ZIPVFS around those bits of code that are only used by ZIPVFS. check-in: 3130275c user: drh tags: trunk
00:03
If the SQLITE_FCNTL_PRAGMA file control returns something other than SQLITE_NOTFOUND, then skip the rest of Pragma code generation. check-in: 9e6d340f user: drh tags: trunk
00:02
A simple change that allows the SQLITE_32BIT_ROWID compile-time option to work better. check-in: f9df4063 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/pragma.c.

   370    370     }else if( rc!=SQLITE_NOTFOUND ){
   371    371       if( aFcntl[0] ){
   372    372         sqlite3ErrorMsg(pParse, "%s", aFcntl[0]);
   373    373         sqlite3_free(aFcntl[0]);
   374    374       }
   375    375       pParse->nErr++;
   376    376       pParse->rc = rc;
   377         -  }
          377  +  }else
   378    378                               
   379    379    
   380    380   #if !defined(SQLITE_OMIT_PAGER_PRAGMAS) && !defined(SQLITE_OMIT_DEPRECATED)
   381    381     /*
   382    382     **  PRAGMA [database.]default_cache_size
   383    383     **  PRAGMA [database.]default_cache_size=N
   384    384     **