bugs.gh_8598_test. Don't fire referential integrity triggers if primary or unique keys haven't changed