Versioning

Fork/mirror of https://gitlab.com/depesz/Versioning
git clone https://ccx.te2000.cz/git/Versioning
Log | Files | Refs | README | LICENSE

commit cbcf40710e5ffdacd13adbb0282725616e80ff7b
parent 9e2302df9905330113e187e7cec961fa557d0b83
Author: Hubert depesz Lubaczewski <depesz@depesz.com>
Date:   Tue, 29 Oct 2013 10:47:16 +0100

Fix missing prerequisites reporting

Stupid error caused prerequisites not to be shown in error message. How
come I never saw it happening?
Anyway - reported by Alessio Gennari and fixed (trivially) by me.
Thanks Alessio.

Diffstat:
Minstall.versioning.sql | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install.versioning.sql b/install.versioning.sql @@ -47,7 +47,7 @@ BEGIN FOR i IN array_lower( in_requirements, 1 ) .. array_upper( in_requirements, 1 ) LOOP SELECT patch_name INTO t_text FROM _v.patches WHERE patch_name = in_requirements[i]; IF NOT FOUND THEN - t_text_a := t_text_a || t_text; + t_text_a := t_text_a || in_requirements[i]; END IF; END LOOP; IF array_upper( t_text_a, 1 ) IS NOT NULL THEN