Destroy statements when their rows are gone [#86773]
Merge pull request #157 from tablexi/86773-statement-row-destroy

Destroy statements when their rows are gone [#86773]