diff --git a/db/changes/10320-monitors/.keep b/db/changes/10320-monitors/.keep deleted file mode 100644 index 3a94d75a8..000000000 --- a/db/changes/10320-monitors/.keep +++ /dev/null @@ -1 +0,0 @@ -Delete me \ No newline at end of file diff --git a/db/changes/10320-monitors/00-ticket_componentMakeUpdate.sql b/db/changes/10320-monitors/00-ticket_componentMakeUpdate.sql index d21a0ed09..242b09d34 100644 --- a/db/changes/10320-monitors/00-ticket_componentMakeUpdate.sql +++ b/db/changes/10320-monitors/00-ticket_componentMakeUpdate.sql @@ -29,16 +29,9 @@ BEGIN */ DECLARE vPrice DECIMAL(10,2); DECLARE vBonus DECIMAL(10,2); -# DECLARE EXIT HANDLER FOR SQLEXCEPTION -# BEGIN -# ROLLBACK; -# RESIGNAL; -# END; CALL ticket_componentPreview (vTicketFk, vLanded, vAddressFk, vZoneFk, vWarehouseFk); -# START TRANSACTION; - IF (SELECT addressFk FROM ticket WHERE id = vTicketFk) <> vAddressFk THEN UPDATE ticket t @@ -92,7 +85,6 @@ BEGIN DROP TEMPORARY TABLE tmp.sale; DROP TEMPORARY TABLE IF EXISTS tmp.ticketComponent; END IF; -# COMMIT; DROP TEMPORARY TABLE tmp.zoneGetShipped, tmp.ticketComponentPreview; END;;$$