Overview
| SHA1 Hash: | 2722f4074fd8d189b7bd2b9107484b66500e5e9b |
|---|---|
| Date: | 2012-12-08 13:26:23 |
| User: | drh |
| Comment: | Fix the header comment on the OP_Compare operator. |
Tags And Properties
- branch=ticket-71e333e7 inherited from [cc6e0785df]
- sym-ticket-71e333e7 inherited from [cc6e0785df]
Changes
Changes to src/vdbe.c
1904 } 1904 } 1905 1905 1906 /* Opcode: Compare P1 P2 P3 P4 P5 1906 /* Opcode: Compare P1 P2 P3 P4 P5 1907 ** 1907 ** 1908 ** Compare two vectors of registers in reg(P1)..reg(P1+P3-1) (call this 1908 ** Compare two vectors of registers in reg(P1)..reg(P1+P3-1) (call this 1909 ** vector "A") and in reg(P2)..reg(P2+P3-1) ("B"). Save the result of 1909 ** vector "A") and in reg(P2)..reg(P2+P3-1) ("B"). Save the result of 1910 ** the comparison for use by the next OP_Jump instruct. 1910 ** the comparison for use by the next OP_Jump instruct. > 1911 ** > 1912 ** If P5 has the OPFLAG_PERMUTE bit set, then the order of comparison is > 1913 ** determined by the most recent OP_Permutation operator. If the > 1914 ** OPFLAG_PERMUTE bit is clear, then register are compared in sequential > 1915 ** order. 1911 ** 1916 ** 1912 ** P4 is a KeyInfo structure that defines collating sequences and sort 1917 ** P4 is a KeyInfo structure that defines collating sequences and sort 1913 ** orders for the comparison. The permutation applies to registers 1918 ** orders for the comparison. The permutation applies to registers 1914 ** only. The KeyInfo elements are used sequentially. 1919 ** only. The KeyInfo elements are used sequentially. 1915 ** 1920 ** 1916 ** The comparison is a sort comparison, so NULLs compare equal, 1921 ** The comparison is a sort comparison, so NULLs compare equal, 1917 ** NULLs are less than numbers, numbers are less than strings, 1922 ** NULLs are less than numbers, numbers are less than strings,