chore: refs #7207 drop transaction
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-10-07 17:50:36 +02:00
parent ebe763dc9b
commit 330c1f3de6
1 changed files with 0 additions and 7 deletions

View File

@ -12,11 +12,6 @@ BEGIN
DECLARE vNewQueue VARCHAR(10); DECLARE vNewQueue VARCHAR(10);
DECLARE vExtension VARCHAR(10); DECLARE vExtension VARCHAR(10);
DECLARE exit handler FOR SQLEXCEPTION DECLARE exit handler FOR SQLEXCEPTION
BEGIN
ROLLBACK;
END;
START TRANSACTION;
SELECT d.pbxQueue, s.extension SELECT d.pbxQueue, s.extension
INTO vNewQueue, vExtension INTO vNewQueue, vExtension
@ -30,7 +25,5 @@ BEGIN
INSERT IGNORE INTO pbx.queueMember (queue, extension) INSERT IGNORE INTO pbx.queueMember (queue, extension)
VALUES (vNewQueue, vExtension); VALUES (vNewQueue, vExtension);
COMMIT;
END$$ END$$
DELIMITER ; DELIMITER ;