13 lines
204 B
MySQL
13 lines
204 B
MySQL
|
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 ;
|