From 8ddc9b378417e011f9327c0db0ebc8778553be1e Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc kop@karlpinc.com" Date: Sun, 12 Oct 2025 20:17:18 +0000 Subject: [PATCH] Fix code comments describing too-early birth --- db/schemas/lib/triggers/create/biography_data.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/db/schemas/lib/triggers/create/biography_data.m4 b/db/schemas/lib/triggers/create/biography_data.m4 index 50b41db..4c0ad19 100644 --- a/db/schemas/lib/triggers/create/biography_data.m4 +++ b/db/schemas/lib/triggers/create/biography_data.m4 @@ -207,7 +207,7 @@ CREATE OR REPLACE FUNCTION biography_data_func () other_sex biography_data.sex%TYPE; BEGIN IF TG_OP = 'UPDATE' THEN - -- See if one of this individual's children was born too late + -- See if one of this individual's children was born too early -- (Inserts can't have existing children) SELECT biography_data.animid, biography_data.animname , biography_data.bdmax @@ -253,7 +253,8 @@ CREATE OR REPLACE FUNCTION biography_data_func () END IF; END IF; - -- See if one of this individual's parents were born too soon. + -- See if one of this individual's parents were born too late, + -- and so had offspring too early. SELECT biography_data.animid, biography_data.animname , biography_data.bdmin, biography_data.sex INTO other_animid, other_animname -- 2.34.1