feat: refs #7141
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Robert Ferrús 2024-03-26 16:27:49 +01:00
parent 3e2e0ccadb
commit 8e2770aa56
1 changed files with 2 additions and 1 deletions

View File

@ -78,7 +78,8 @@ BEGIN
SELECT price INTO vNewPrice SELECT price INTO vNewPrice
FROM tmp.ticketComponentPrice FROM tmp.ticketComponentPrice
WHERE (vQuantity % `grouping` = 0); ORDER BY (vQuantity % `grouping`) ASC
LIMIT 1;
IF vNewPrice IS NULL THEN IF vNewPrice IS NULL THEN
CALL util.throw('price retrieval failed'); CALL util.throw('price retrieval failed');