diff options
author | drh <drh@noemail.net> | 2013-11-08 01:09:15 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-11-08 01:09:15 +0000 |
commit | ce60aa469af3f9bb58ea403db5c5a67b57dc274e (patch) | |
tree | bcffd43fb8ced99a6d7d459983be3961fb447d9d /src/insert.c | |
parent | 24f1985a250093211e0df527e1245c0655689ffc (diff) | |
download | sqlite-ce60aa469af3f9bb58ea403db5c5a67b57dc274e.tar.gz sqlite-ce60aa469af3f9bb58ea403db5c5a67b57dc274e.zip |
Optimize out a NotExists/NotFound opcode that occurs in UPDATE processing
after constraint checks if there is no possiblity that the constraint checking
code might have moved the cursor.
FossilOrigin-Name: 74e3ee2ee6ea89af2c12dd0bce248467fd0f1310
Diffstat (limited to 'src/insert.c')
-rw-r--r-- | src/insert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insert.c b/src/insert.c index e380d1b3d..d789d298c 100644 --- a/src/insert.c +++ b/src/insert.c @@ -1587,7 +1587,7 @@ void sqlite3GenerateConstraintChecks( if( pbMayReplace ){ *pbMayReplace = seenReplace; } - VdbeModuleComment((v, "END: GenCnstCks()")); + VdbeModuleComment((v, "END: GenCnstCks(%d)", seenReplace)); } /* |