salix/db/changes/240601/00-util_tx_rollback.sql

13 lines
204 B
MySQL
Raw Normal View History

DROP PROCEDURE IF EXISTS util.tx_rollback;
DELIMITER $$
$$
CREATE DEFINER=`root`@`localhost` PROCEDURE `util`.`tx_rollback`(tx BOOL)
BEGIN
IF tx THEN
ROLLBACK;
END IF;
END
$$
DELIMITER ;