SQLite
Check-in [6cc023bb]
Not logged in
Overview
SHA1 Hash:6cc023bb29be51847fbbfab95c24fc89993ccdba
Date: 2013-11-19 18:17:20
User: drh
Comment:Fix a harmless MSVC compiler warning.
Tags And Properties
Context
2013-11-20
00:59
[96a65388] Performance improvement for the OP_MustBeInt opcode in the VDBE. (user: drh, tags: trunk)
2013-11-19
18:17
[6cc023bb] Fix a harmless MSVC compiler warning. (user: drh, tags: trunk)
13:55
[17e8524f] Minor performance improvement to sqlite3SerialTypeGet(). (user: drh, tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ext/fts3/fts3.c

356
357
358
359
360
361
362
363
364
365
366
367
368
369
370

  for(shift=28; shift<=63; shift+=7){
    u64 c = *p++;
    b += (c&0x7F) << shift;
    if( (c & 0x80)==0 ) break;
  }
  *v = b;
  return p - pStart;
}

/*
** Similar to sqlite3Fts3GetVarint(), except that the output is truncated to a
** 32-bit integer before it is returned.
*/
int sqlite3Fts3GetVarint32(const char *p, int *pi){







|







356
357
358
359
360
361
362
363
364
365
366
367
368
369
370

  for(shift=28; shift<=63; shift+=7){
    u64 c = *p++;
    b += (c&0x7F) << shift;
    if( (c & 0x80)==0 ) break;
  }
  *v = b;
  return (int)(p - pStart);
}

/*
** Similar to sqlite3Fts3GetVarint(), except that the output is truncated to a
** 32-bit integer before it is returned.
*/
int sqlite3Fts3GetVarint32(const char *p, int *pi){