/ Check-in [51d0aed8]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

Overview
Comment:Fix a simple comment typo. No changes to code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | unpacked-IdxInsert
Files: files | file ages | folders
SHA1: 51d0aed8d63d0710e4aa8925ff18cf3c45dc9e42
User & Date: drh 2016-11-09 16:03:36
Context
2016-11-09
20:14
Comment changes that attempt to better explain the behavior of the "seekResult" field on VdbeCursor objects and the seekResult parameter to sqlite3BtreeInsert() and the OPFLAG_USESEEKRESULT flag on insert opcodes. No changes to code. check-in: 345b46be user: drh tags: unpacked-IdxInsert
16:03
Fix a simple comment typo. No changes to code. check-in: 51d0aed8 user: drh tags: unpacked-IdxInsert
01:38
Make use of the unpacked key on the OP_IdxInsert on sorters with a LIMIT. check-in: 42db7cd2 user: drh tags: unpacked-IdxInsert
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/insert.c.

  1373   1373       if( overrideError!=OE_Default ){
  1374   1374         onError = overrideError;
  1375   1375       }else if( onError==OE_Default ){
  1376   1376         onError = OE_Abort;
  1377   1377       }
  1378   1378   
  1379   1379       if( isUpdate ){
  1380         -      /* pkChng!=0 does not mean that the rowid has change, only that
         1380  +      /* pkChng!=0 does not mean that the rowid has changed, only that
  1381   1381         ** it might have changed.  Skip the conflict logic below if the rowid
  1382   1382         ** is unchanged. */
  1383   1383         sqlite3VdbeAddOp3(v, OP_Eq, regNewData, addrRowidOk, regOldData);
  1384   1384         sqlite3VdbeChangeP5(v, SQLITE_NOTNULL);
  1385   1385         VdbeCoverage(v);
  1386   1386       }
  1387   1387