Changes On Branch Mistake
Not logged in

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

Changes In Branch Mistake Excluding Merge-Ins

This is equivalent to a diff from cb745cc789 to 01c83bfbbf

2010-12-20
17:29
Fix an off-by-one error in the delta generator. check-in: d7dfb5ae42 user: drh tags: trunk
17:17
This change was accidentally committed by a test script, specifically the test/merge5.test test script. There is some problem with "make test". Closed-Leaf check-in: 01c83bfbbf user: drh tags: Mistake, m1
16:57
Additional lookaside buffer measurements associated with an experimental version of SQLite, enabled only when --sqltrace is used. Closed-Leaf check-in: 9688ec1d00 user: drh tags: experimental
14:52
Update the --sqltrace debugging option so that it outputs memory usage statistics within SQL comments. check-in: cb745cc789 user: drh tags: trunk
13:15
Update the unix Makefile to shift all build products other than the file executable into the OBJDIR folder. check-in: e084092a07 user: drh tags: trunk

Changes to src/delta.c.

436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
          DEBUG2( printf("lastRead becomes %d\n", lastRead); )
        }
        bestCnt = 0;
        break;
      }

      /* If we reach this point, it means no match is found so far */
      if( base+i+NHASH>lenOut ){
        /* We have reached the end of the file and have not found any
        ** matches.  Do an "insert" for everything that does not match */
        putInt(lenOut-base, &zDelta);
        *(zDelta++) = ':';
        memcpy(zDelta, &zOut[base], lenOut-base);
        zDelta += lenOut-base;
        base = lenOut;







|







436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
          DEBUG2( printf("lastRead becomes %d\n", lastRead); )
        }
        bestCnt = 0;
        break;
      }

      /* If we reach this point, it means no match is found so far */
      if( base+i+NHASH>=lenOut ){
        /* We have reached the end of the file and have not found any
        ** matches.  Do an "insert" for everything that does not match */
        putInt(lenOut-base, &zDelta);
        *(zDelta++) = ':';
        memcpy(zDelta, &zOut[base], lenOut-base);
        zDelta += lenOut-base;
        base = lenOut;