/ Check-in [622b1089]
Login

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

Overview
Comment:Fix a comment on the UnpackedRecord.r1 and UnpackedRecord.r2 fields. No changes to code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 622b108915c7982b29ca9920abde941fff55234b70af9ac4122e4827b35d985c
User & Date: drh 2017-07-26 10:04:51
Context
2017-07-26
19:59
Add the new sqlite3.mDbFlags field. Factor out bits of sqlite3.flags that do not interact with PRAGMA statements into sqlite3.mDbFlags. check-in: 3808a00f user: drh tags: trunk
18:26
Allow ATTACH and DETACH to occur inside of a transaction. Closed-Leaf check-in: ac1fd6be user: drh tags: attach-in-trans
10:04
Fix a comment on the UnpackedRecord.r1 and UnpackedRecord.r2 fields. No changes to code. check-in: 622b1089 user: drh tags: trunk
2017-07-25
01:34
Fix a bug in the deterministic date/time function logic that can only appear with STAT3 or STAT4. check-in: 1ca707a4 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sqliteInt.h.

  2085   2085   */
  2086   2086   struct UnpackedRecord {
  2087   2087     KeyInfo *pKeyInfo;  /* Collation and sort-order information */
  2088   2088     Mem *aMem;          /* Values */
  2089   2089     u16 nField;         /* Number of entries in apMem[] */
  2090   2090     i8 default_rc;      /* Comparison result if keys are equal */
  2091   2091     u8 errCode;         /* Error detected by xRecordCompare (CORRUPT or NOMEM) */
  2092         -  i8 r1;              /* Value to return if (lhs > rhs) */
  2093         -  i8 r2;              /* Value to return if (rhs < lhs) */
         2092  +  i8 r1;              /* Value to return if (lhs < rhs) */
         2093  +  i8 r2;              /* Value to return if (lhs > rhs) */
  2094   2094     u8 eqSeen;          /* True if an equality comparison has been seen */
  2095   2095   };
  2096   2096   
  2097   2097   
  2098   2098   /*
  2099   2099   ** Each SQL index is represented in memory by an
  2100   2100   ** instance of the following structure.