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