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

13 lines
207 B
SQL

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