我的存储过程忽略了退出处理程序。我执行以下行:CALLupdateTemplate('MyObject','NewTemplate');并收到错误:ErrorCode:1452.Cannotaddorupdateachildrow:aforeignkeyconstraintfails(db.objects,CONSTRAINTObject:TemplateForeignKeyFOREIGNKEY(TemplateId)REFERENCEStemplates(TemplateId)ONUPDATECASCADE)确实,约束确实失败了,因为模板表中不存在“NewTemplate”。但为什么