When preparing an UPDATE statement, avoid generating VDBE code for those foreign key related actions and constraint checks that may be seen to be unnecessary by considering the subset of table columns potentially modified by the UPDATE.
Make sure the destination WhereLoop is left in a sane state when an
OOM fault occurs inside of whereLoopXfer().