/ Check-in [e9c1e419]
Login

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

Overview
Comment:Remove an unused variable.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | omit-rowid
Files: files | file ages | folders
SHA1: e9c1e419b7227d86f2e1882cebf360116cdf1a13
User & Date: drh 2013-11-06 02:36:04
Context
2013-11-06
11:46
Remove an incorrect test case from conflict2.test. check-in: 427612ef user: drh tags: omit-rowid
02:36
Remove an unused variable. check-in: e9c1e419 user: drh tags: omit-rowid
2013-11-05
22:39
Make sure the query planner knows that the PRIMARY KEY index of a WITHOUT ROWID table is always a covering index. check-in: 03e7019e user: drh tags: omit-rowid
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/insert.c.

  1525   1525           /* If currently processing the PRIMARY KEY of a WITHOUT ROWID 
  1526   1526           ** table, only conflict if the new PRIMARY KEY values are actually
  1527   1527           ** different from the old.
  1528   1528           **
  1529   1529           ** For a UNIQUE index, only conflict if the PRIMARY KEY values
  1530   1530           ** of the matched index row are different from the original PRIMARY
  1531   1531           ** KEY values of this row before the update.  */
  1532         -        char *p4; 
  1533   1532           int addrJump = sqlite3VdbeCurrentAddr(v)+pPk->nKeyCol;
  1534   1533           int op = OP_Ne;
  1535   1534           int regCmp = (pIdx->autoIndex==2 ? regIdx : regR);
  1536   1535   
  1537   1536           for(i=0; i<pPk->nKeyCol; i++){
  1538   1537             char *p4 = (char*)sqlite3LocateCollSeq(pParse, pPk->azColl[i]);
  1539   1538             x = pPk->aiColumn[i];