2023-12-11 13:53:55 +00:00
|
|
|
DELIMITER $$
|
|
|
|
$$
|
2024-01-23 15:36:53 +00:00
|
|
|
|
|
|
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `util`.`tx_commit`(IN tx BOOL)
|
|
|
|
BEGIN
|
2024-01-23 10:22:59 +00:00
|
|
|
/**
|
|
|
|
* Procedimiento para confirmar los cambios asociados a una transacción
|
|
|
|
*
|
2024-01-23 07:33:15 +00:00
|
|
|
* @param tx BOOL es true si existe transacción asociada
|
|
|
|
*/
|
2023-12-11 13:53:55 +00:00
|
|
|
IF tx THEN
|
|
|
|
COMMIT;
|
|
|
|
END IF;
|
2024-01-23 15:36:53 +00:00
|
|
|
END$$
|
2023-12-11 13:53:55 +00:00
|
|
|
DELIMITER ;
|