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 ;