/ Check-in [5e3b9ecc]
Login

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

Overview
Comment:Minor bugfix in main.c so that the library builds with SQLITE_OMIT_WSD defined.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5e3b9ecc7b2b2e50952de819b99bafdb7b9ff59e
User & Date: dan 2014-01-28 17:49:13
Context
2014-01-28
18:53
Fix a potential over-size and hence undefined shift operation. check-in: 6379b072 user: drh tags: trunk
18:06
Bring in the latest updates from trunk. check-in: 7b5f3773 user: drh tags: sessions
17:49
Minor bugfix in main.c so that the library builds with SQLITE_OMIT_WSD defined. check-in: 5e3b9ecc user: dan tags: trunk
2014-01-27
16:35
Fix a couple of problems with new test scripts causing the permutations test to fail. check-in: 48d736c0 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/main.c.

  3299   3299       ** Set or clear a flag that indicates that the database file is always well-
  3300   3300       ** formed and never corrupt.  This flag is clear by default, indicating that
  3301   3301       ** database files might have arbitrary corruption.  Setting the flag during
  3302   3302       ** testing causes certain assert() statements in the code to be activated
  3303   3303       ** that demonstrat invariants on well-formed database files.
  3304   3304       */
  3305   3305       case SQLITE_TESTCTRL_NEVER_CORRUPT: {
  3306         -      sqlite3Config.neverCorrupt = va_arg(ap, int);
         3306  +      sqlite3GlobalConfig.neverCorrupt = va_arg(ap, int);
  3307   3307         break;
  3308   3308       }
  3309   3309   
  3310   3310     }
  3311   3311     va_end(ap);
  3312   3312   #endif /* SQLITE_OMIT_BUILTIN_TEST */
  3313   3313     return rc;