/ Check-in [d99a30a2]
Login

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

Overview
Comment:Fix a typo in the "synopsis" for the OP_Lt opcode that causes an incorrect comment to be added to EXPLAIN output.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:d99a30a25d6102c389f1fb5ec389c137168615e9
User & Date: drh 2013-11-15 03:21:43
Context
2013-11-15
13:12
Add the --query option to the wordcount test program. check-in: 5960d11e user: drh tags: trunk
03:30
Merge EXPLAIN fixes from trunk. check-in: cd579727 user: drh tags: expr-codegen-enhancement
03:21
Fix a typo in the "synopsis" for the OP_Lt opcode that causes an incorrect comment to be added to EXPLAIN output. check-in: d99a30a2 user: drh tags: trunk
03:16
Another adjustment to the EXPLAIN indentation logic, in order to deal with the sorter loop on a CREATE INDEX statement. check-in: cbe85cc2 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/vdbe.c.

  1793   1793       sqlite3VdbeMemRealify(pIn1);
  1794   1794     }
  1795   1795     break;
  1796   1796   }
  1797   1797   #endif /* !defined(SQLITE_OMIT_CAST) && !defined(SQLITE_OMIT_FLOATING_POINT) */
  1798   1798   
  1799   1799   /* Opcode: Lt P1 P2 P3 P4 P5
  1800         -** Synopsis: if r[P1]<r[P3] goto P3
         1800  +** Synopsis: if r[P1]<r[P3] goto P2
  1801   1801   **
  1802   1802   ** Compare the values in register P1 and P3.  If reg(P3)<reg(P1) then
  1803   1803   ** jump to address P2.  
  1804   1804   **
  1805   1805   ** If the SQLITE_JUMPIFNULL bit of P5 is set and either reg(P1) or
  1806   1806   ** reg(P3) is NULL then take the jump.  If the SQLITE_JUMPIFNULL 
  1807   1807   ** bit is clear then fall through if either operand is NULL.