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