#2687 - Travel CloneWithEntries #1887

Merged
jsegarra merged 20 commits from 2687_travel_cloneWithEntries into dev 2024-01-24 10:55:20 +00:00
3 changed files with 36 additions and 0 deletions
Showing only changes of commit 64fbbd5dda - Show all commits

View File

@ -0,0 +1,12 @@
DROP PROCEDURE IF EXISTS util.tx_commit;
DELIMITER $$
$$
CREATE DEFINER=`root`@`localhost` PROCEDURE `util`.`tx_commit`(IN tx BOOL)
BEGIN
IF tx THEN
COMMIT;
END IF;
END
$$
DELIMITER ;

View File

@ -0,0 +1,12 @@
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 ;

View File

@ -0,0 +1,12 @@
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 ;