ENG-5320: Fix memory access problem caused by refactoring of persistent table's
insert call.

Retain the tuple that's used to create the constraint failure exceptions.