X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/640adf5897913667b2b50148cc651bacafb0481e..fdebfd5d0c558cb156849b01c9c9268b29dc443b:/sql/Pg-upgrade2/requirement_specs.sql diff --git a/sql/Pg-upgrade2/requirement_specs.sql b/sql/Pg-upgrade2/requirement_specs.sql index 7647c2e91..be7acb5e2 100644 --- a/sql/Pg-upgrade2/requirement_specs.sql +++ b/sql/Pg-upgrade2/requirement_specs.sql @@ -279,9 +279,9 @@ CREATE OR REPLACE FUNCTION update_requirement_spec_item_time_estimation(item_id SELECT * INTO item FROM requirement_spec_items WHERE id = item_id; RAISE DEBUG 'updateRSIE: item_id % item_type %', item_id, item.item_type; - IF (item.item_type = 'section') OR (item.item_type = 'sub-function-block') THEN - -- Don't do anything for sections and sub-function-blocks. - RAISE DEBUG 'updateRSIE: this is a section/sub-function-block, not updating.'; + IF (item.item_type = 'sub-function-block') THEN + -- Don't do anything for sub-function-blocks. + RAISE DEBUG 'updateRSIE: this is a sub-function-block, not updating.'; RETURN FALSE; END IF;