feat: refs #6822 entry_clone
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Robert Ferrús 2024-07-11 09:39:06 +02:00
parent 5a7d5787f7
commit d60a1a3424
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
DELIMITER $$ DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`entry_clone`(IN vSelf INT, OUT vNewEntryFk INT) CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`entry_clone`(IN vSelf INT, OUT newEntryFk INT)
BEGIN BEGIN
/** /**
* clones an entry. * clones an entry.
@ -20,6 +20,7 @@ BEGIN
CALL entry_copyBuys(vSelf, vNewEntryFk); CALL entry_copyBuys(vSelf, vNewEntryFk);
COMMIT; COMMIT;
SET newEntryFk = vNewEntryFk;
END$$ END$$
DELIMITER ; DELIMITER ;