1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

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
This commit is contained in:
drh
2013-11-08 01:09:15 +00:00
parent 24f1985a25
commit ce60aa469a
4 changed files with 24 additions and 19 deletions

View File

@@ -1587,7 +1587,7 @@ void sqlite3GenerateConstraintChecks(
if( pbMayReplace ){
*pbMayReplace = seenReplace;
}
VdbeModuleComment((v, "END: GenCnstCks()"));
VdbeModuleComment((v, "END: GenCnstCks(%d)", seenReplace));
}
/*