fix: refs #7760 tmp.ticketIPT
gitea/salix/pipeline/pr-dev Build started... Details
gitea/salix/pipeline/pr-test This commit looks good Details

This commit is contained in:
Sergio De la torre 2024-09-16 14:26:58 +02:00
parent 9d50b228f6
commit 12dd069298
1 changed files with 4 additions and 4 deletions

View File

@ -73,8 +73,6 @@ BEGIN
SET s.ticketFk = stm.ticketFk SET s.ticketFk = stm.ticketFk
WHERE stm.ticketFk; WHERE stm.ticketFk;
DROP TEMPORARY TABLE tSalesToMove;
CREATE OR REPLACE TEMPORARY TABLE tmp.ticketIPT( CREATE OR REPLACE TEMPORARY TABLE tmp.ticketIPT(
ticketFk INT, ticketFk INT,
itemPackingTypeFk VARCHAR(1) itemPackingTypeFk VARCHAR(1)
@ -82,5 +80,7 @@ BEGIN
SELECT ticketFk, itemPackingTypeFk SELECT ticketFk, itemPackingTypeFk
FROM tSalesToMove FROM tSalesToMove
GROUP BY ticketFk; GROUP BY ticketFk;
DROP TEMPORARY TABLE tSalesToMove;
END$$ END$$
DELIMITER ; DELIMITER ;