7806_devToTest_2332 #2801

Merged
alexm merged 126 commits from 7806_devToTest_2330 into test 2024-07-30 06:14:09 +00:00
1 changed files with 0 additions and 9 deletions
Showing only changes of commit 96d2bacb3d - Show all commits

View File

@ -8,11 +8,6 @@ BEGIN
*
* @param vSelf Id ruta
*/
DECLARE EXIT HANDLER FOR SQLEXCEPTION
BEGIN
ROLLBACK;
RESIGNAL;
END;
CREATE OR REPLACE TEMPORARY TABLE tRouteVolume
ENGINE = MEMORY
@ -20,8 +15,6 @@ BEGIN
FROM saleVolume
WHERE routeFk = vSelf;
START TRANSACTION;
-- Hago el INTO para que no de error en los triggers
SELECT id INTO vSelf FROM `route` WHERE id = vSelf FOR UPDATE;
@ -29,8 +22,6 @@ BEGIN
SET m3 = (SELECT volume FROM tRouteVolume)
WHERE id = vSelf;
COMMIT;
DROP TEMPORARY TABLE tRouteVolume;
END$$
DELIMITER ;