First cut of MySQL support for chain unlinking in sp_delete().