From: drh Date: Sat, 27 Aug 2016 01:41:53 +0000 (+0000) Subject: Fix the "Synopsis" on the OP_Lt, OP_Le, OP_Gt, and OP_Ge opcodes, which X-Git-Tag: version-3.15.0~110^2~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88e665fd0bf40251472a6349faf9e6fbf04b1511;p=thirdparty%2Fsqlite.git Fix the "Synopsis" on the OP_Lt, OP_Le, OP_Gt, and OP_Ge opcodes, which has been backwards for time out of mind. FossilOrigin-Name: f51248dcfa22e989dacde41021e96a65f12c5ca8 --- diff --git a/manifest b/manifest index f0a6286386..ec178d85bc 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Fix\sa\sminor\sproblem\sin\ssqlite3FindInIndex()\srelated\sto\srowids\sbeing\sused\nas\spart\sof\sthe\sindex. -D 2016-08-26T22:09:01.711 +C Fix\sthe\s"Synopsis"\son\sthe\sOP_Lt,\sOP_Le,\sOP_Gt,\sand\sOP_Ge\sopcodes,\swhich\nhas\sbeen\sbackwards\sfor\stime\sout\sof\smind. +D 2016-08-27T01:41:53.133 F Makefile.in cfd8fb987cd7a6af046daa87daa146d5aad0e088 F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434 F Makefile.msc 5017381e4853b1472e01d5bb926be1268eba429c @@ -451,7 +451,7 @@ F src/update.c 8179e699dbd45b92934fd02d3d8e3732e8da8802 F src/utf.c 699001c79f28e48e9bcdf8a463da029ea660540c F src/util.c 810ec3f22e2d1b62e66c30fe3621ebdedd23584d F src/vacuum.c 913970b9d86dd6c2b8063ef1af421880f1464ec3 -F src/vdbe.c 68d56c11d5c5e704dde6d2d8748750a2f6352a09 +F src/vdbe.c 4be39068ea1412a21a2566c71007c87b67928d67 F src/vdbe.h 67bc551f7faf04c33493892e4b378aada823ed10 F src/vdbeInt.h c59381049af5c7751a83456c39b80d1a6fde1f9d F src/vdbeapi.c a32d61b7dd05e6890d8fd44d2805f55e2f5ba9f3 @@ -1521,7 +1521,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 -P b9fc89e432fbe4e5b41959a42797641907e075e3 -R 4de3e6777e68cb197039afe2926927d7 +P 829f802be7d4647dd815b739bbc9e1d1ac6a224d +R 90bb9a2e80849dad7e38b09045c0c98d U drh -Z 2cb9a82dfc67b60efaaa214dda6ee177 +Z ce5881477602b96772cc87ff99cdf3de diff --git a/manifest.uuid b/manifest.uuid index 407491af35..cc0a3022ca 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -829f802be7d4647dd815b739bbc9e1d1ac6a224d \ No newline at end of file +f51248dcfa22e989dacde41021e96a65f12c5ca8 \ No newline at end of file diff --git a/src/vdbe.c b/src/vdbe.c index 24828ace3b..b640e0b4f5 100644 --- a/src/vdbe.c +++ b/src/vdbe.c @@ -1881,7 +1881,7 @@ case OP_Cast: { /* in1 */ #endif /* SQLITE_OMIT_CAST */ /* Opcode: Eq P1 P2 P3 P4 P5 -** Synopsis: IF r[P1]==r[P3] +** Synopsis: IF r[P3]==r[P1] ** ** Compare the values in register P1 and P3. If reg(P3)==reg(P1) then ** jump to address P2. Or if the SQLITE_STOREP2 flag is set in P5, then @@ -1915,7 +1915,7 @@ case OP_Cast: { /* in1 */ ** content of r[P2] is only set to 1 (true) if it was not previously NULL. */ /* Opcode: Ne P1 P2 P3 P4 P5 -** Synopsis: IF r[P1]!=r[P3] +** Synopsis: IF r[P3]!=r[P1] ** ** This works just like the Eq opcode except that the jump is taken if ** the operands in registers P1 and P3 are not equal. See the Eq opcode for @@ -1925,7 +1925,7 @@ case OP_Cast: { /* in1 */ ** content of r[P2] is only set to 0 (false) if it was not previously NULL. */ /* Opcode: Lt P1 P2 P3 P4 P5 -** Synopsis: IF r[P1]r[P3] +** Synopsis: IF r[P3]>r[P1] ** ** This works just like the Lt opcode except that the jump is taken if ** the content of register P3 is greater than the content of ** register P1. See the Lt opcode for additional information. */ /* Opcode: Ge P1 P2 P3 P4 P5 -** Synopsis: IF r[P1]>=r[P3] +** Synopsis: IF r[P3]>=r[P1] ** ** This works just like the Lt opcode except that the jump is taken if ** the content of register P3 is greater than or equal to the content of