/ Check-in [012d7d49]
Login

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

Overview
Comment:Simplify one of the compiler warning fixes from the previous check-in.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:012d7d49c571207087bbe24af05d639627b96df526bfcb2098a3e975b74d865d
User & Date: mistachkin 2018-01-23 00:17:27
Context
2018-01-23
03:44
Slightly faster function dispatch in the virtual machine by avoiding unnecessary reinitialization of variables that are already correctly initialized. check-in: edd4e687 user: drh tags: trunk
00:17
Simplify one of the compiler warning fixes from the previous check-in. check-in: 012d7d49 user: mistachkin tags: trunk
00:05
Fix harmless compiler warnings seen with MSVC. check-in: 76a11a80 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/session/sqlite3session.c.

  1111   1111     int op,                         /* One of SQLITE_UPDATE, INSERT, DELETE */
  1112   1112     sqlite3_session *pSession,      /* Session object pTab is attached to */
  1113   1113     SessionTable *pTab              /* Table that change applies to */
  1114   1114   ){
  1115   1115     int iHash; 
  1116   1116     int bNull = 0; 
  1117   1117     int rc = SQLITE_OK;
  1118         -  SessionStat1Ctx stat1 = {0, 0};
         1118  +  SessionStat1Ctx stat1 = {0};
  1119   1119   
  1120   1120     if( pSession->rc ) return;
  1121   1121   
  1122   1122     /* Load table details if required */
  1123   1123     if( sessionInitTable(pSession, pTab) ) return;
  1124   1124   
  1125   1125     /* Check the number of columns in this xPreUpdate call matches the