fix: refs #7760 tmp.ticketIPT
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Andrés 2024-09-16 14:41:29 +02:00
parent 8803ae0534
commit 2e03fe8193
1 changed files with 5 additions and 5 deletions

View File

@ -73,14 +73,14 @@ 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(
ticketFk INT,
CREATE OR REPLACE TEMPORARY TABLE tmp.ticketIPT(
ticketFk INT,
itemPackingTypeFk VARCHAR(1) itemPackingTypeFk VARCHAR(1)
) ENGINE=MEMORY; ) ENGINE=MEMORY
SELECT ticketFk, itemPackingTypeFk SELECT ticketFk, itemPackingTypeFk
FROM tSalesToMove FROM tSalesToMove
GROUP BY ticketFk; GROUP BY ticketFk;
DROP TEMPORARY TABLE tSalesToMove;
END$$ END$$
DELIMITER ; DELIMITER ;