1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Improved description of the ElseNotEq opcode in comments. No changes to code.

FossilOrigin-Name: e011435e2f57ddfe315d5da48e93185d6789fc80
This commit is contained in:
drh
2016-09-17 17:39:01 +00:00
parent 8145fc6eda
commit fd7459e0aa
3 changed files with 13 additions and 13 deletions

View File

@@ -2121,11 +2121,11 @@ compare_op:
/* Opcode: ElseNotEq * P2 * * *
**
** This opcode must immediately follow an Lt or Gt comparison operator.
** If the operands in that previous comparison had been used with an Eq
** operator and if the result of that Eq would be NULL or false (0), then
** then jump to P2. If the result of comparing the two previous operands
** using Eq would have been true (1), then fall through.
** This opcode must immediately follow an OP_Lt or OP_Gt comparison operator.
** If result of an OP_Eq comparison on the same two operands
** would have be NULL or false (0), then then jump to P2.
** If the result of an OP_Eq comparison on the two previous operands
** would have been true (1), then fall through.
*/
case OP_ElseNotEq: { /* same as TK_ESCAPE, jump */
assert( pOp>aOp );