/ Check-in [3b6fa95e]
Login

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

Overview
Comment:Fix a harmless compiler warning.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3b6fa95eebfa01703d9ef4f530674d17e965c512
User & Date: drh 2015-06-24 13:32:10
Context
2015-06-24
14:36
Fix the progress handler so that it does not fire too soon during an sqlite3_step() call other than the first. check-in: b41ef5d6 user: drh tags: trunk
13:32
Fix a harmless compiler warning. check-in: 3b6fa95e user: drh tags: trunk
13:25
Rig the fuzzcheck test program so that it times out after 10 seconds in case of an infinite loop in the test case. check-in: 659cfc9d user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/btree.c.

  5419   5419     if( n>=mxPage ){
  5420   5420       return SQLITE_CORRUPT_BKPT;
  5421   5421     }
  5422   5422     if( n>0 ){
  5423   5423       /* There are pages on the freelist.  Reuse one of those pages. */
  5424   5424       Pgno iTrunk;
  5425   5425       u8 searchList = 0; /* If the free-list must be searched for 'nearby' */
  5426         -    int nSearch = 0;   /* Count of the number of search attempts */
         5426  +    u32 nSearch = 0;   /* Count of the number of search attempts */
  5427   5427       
  5428   5428       /* If eMode==BTALLOC_EXACT and a query of the pointer-map
  5429   5429       ** shows that the page 'nearby' is somewhere on the free-list, then
  5430   5430       ** the entire-list will be searched for that page.
  5431   5431       */
  5432   5432   #ifndef SQLITE_OMIT_AUTOVACUUM
  5433   5433       if( eMode==BTALLOC_EXACT ){