From 5068d086ee0973bd1b5ae006c98c627f0a1af22e Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Wed, 18 Nov 2020 10:47:20 +0100 Subject: [PATCH] DOC: wrong source docs corrected --- procedures/entityVersioning.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/procedures/entityVersioning.sql b/procedures/entityVersioning.sql index 02a4a11..baf1e56 100644 --- a/procedures/entityVersioning.sql +++ b/procedures/entityVersioning.sql @@ -245,8 +245,8 @@ CREATE FUNCTION db_2_0._get_head_iversion( RETURNS INT UNSIGNED READS SQL DATA BEGIN - -- This implementation assumes that the distance from the head equals the - -- difference between the _iversion numbers. This will not be correct anymore + -- This implementation assumes that the history is linear and the highest + -- _iversion number is always the head. This will not be correct anymore -- as soon as branches may split and merge. Then, a walk over the primary -- parents (_ipparent) will be necessary. RETURN ( -- GitLab