/ Check-in [e9508ab1]
Login

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

Overview
Comment:Fix harmless compiler warning seen with MSVC.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:e9508ab1f86ac70a3ca5622ce44141bc05186b199bf32fb8739aef36b95aa05c
User & Date: mistachkin 2018-03-24 20:06:52
Context
2018-03-24
23:16
Fix a couple issues in the 'session' module tests. check-in: ccf734f7 user: mistachkin tags: trunk
20:06
Fix harmless compiler warning seen with MSVC. check-in: e9508ab1 user: mistachkin tags: trunk
18:01
Add testcase() macros and improve comments in the LEFT JOIN strength reduction optimization. check-in: 56134577 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/session/sqlite3session.c.

  5185   5185           rc = SQLITE_ERROR;
  5186   5186         }
  5187   5187   
  5188   5188         /* Append a table header to the output for this new table */
  5189   5189         sessionAppendByte(&sOut, pIter->bPatchset ? 'P' : 'T', &rc);
  5190   5190         sessionAppendVarint(&sOut, pIter->nCol, &rc);
  5191   5191         sessionAppendBlob(&sOut, pIter->abPK, pIter->nCol, &rc);
  5192         -      sessionAppendBlob(&sOut, (u8*)pIter->zTab, strlen(pIter->zTab)+1, &rc);
         5192  +      sessionAppendBlob(&sOut,(u8*)pIter->zTab,(int)strlen(pIter->zTab)+1,&rc);
  5193   5193       }
  5194   5194   
  5195   5195       if( pTab && rc==SQLITE_OK ){
  5196   5196         int iHash = sessionChangeHash(pTab, 0, aRec, pTab->nChange);
  5197   5197   
  5198   5198         for(pChange=pTab->apChange[iHash]; pChange; pChange=pChange->pNext){
  5199   5199           if( sessionChangeEqual(pTab, 0, aRec, 0, pChange->aRecord) ){