/ Check-in [acd78df6]
Login

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

Overview
Comment:Fix the "Synopsis" on the OP_BitNot opcode.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: acd78df61188591d33ddb9b1b8c16bcc015f4dffac66314529caa747d4395c70
User & Date: drh 2018-06-12 13:16:57
Context
2018-06-12
13:52
Improvements to SCopy correctness tracking when SQLITE_DEBUG is enabled. check-in: b2973f23 user: drh tags: trunk
13:16
Fix the "Synopsis" on the OP_BitNot opcode. check-in: acd78df6 user: drh tags: trunk
2018-06-11
21:33
Improvements to the --enable and --disable options for the amalgamation tarball. check-in: 02e337e0 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/vdbe.c.

  2253   2253     }else{
  2254   2254       sqlite3VdbeMemSetNull(pOut);
  2255   2255     }
  2256   2256     break;
  2257   2257   }
  2258   2258   
  2259   2259   /* Opcode: BitNot P1 P2 * * *
  2260         -** Synopsis: r[P1]= ~r[P1]
         2260  +** Synopsis: r[P2]= ~r[P1]
  2261   2261   **
  2262   2262   ** Interpret the content of register P1 as an integer.  Store the
  2263   2263   ** ones-complement of the P1 value into register P2.  If P1 holds
  2264   2264   ** a NULL then store a NULL in P2.
  2265   2265   */
  2266   2266   case OP_BitNot: {             /* same as TK_BITNOT, in1, out2 */
  2267   2267     pIn1 = &aMem[pOp->p1];