aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-09-29 15:42:01 +0000
committerdrh <drh@noemail.net>2014-09-29 15:42:01 +0000
commit39c4b82b5a82977db329f688ebf4bf0a2d901ec1 (patch)
tree4c60804d0c5e4053d9ef6b205d546ae78a92ea8f /src
parent7682a476f6da4808691d6387d330a3f5d7378e7b (diff)
downloadsqlite-39c4b82b5a82977db329f688ebf4bf0a2d901ec1.tar.gz
sqlite-39c4b82b5a82977db329f688ebf4bf0a2d901ec1.zip
Fix the header comment in sqlite3VdbeDeletePriorOpcode(). No changes to
code. FossilOrigin-Name: 7fb1626866c2f8dad84c7e6184824be3efd71ca2
Diffstat (limited to 'src')
-rw-r--r--src/vdbeaux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vdbeaux.c b/src/vdbeaux.c
index 87b14a6d8..2562c63b6 100644
--- a/src/vdbeaux.c
+++ b/src/vdbeaux.c
@@ -752,7 +752,8 @@ void sqlite3VdbeChangeToNoop(Vdbe *p, int addr){
}
/*
-** Remove the last opcode inserted
+** If the last opcode is "op" and it is not a jump destination,
+** then remove it. Return true if and only if an opcode was removed.
*/
int sqlite3VdbeDeletePriorOpcode(Vdbe *p, u8 op){
if( (p->nOp-1)>(p->pParse->iFixedOp) && p->aOp[p->nOp-1].opcode==op ){