2024-02-14 07:45:50 +00:00
|
|
|
DELIMITER $$
|
2024-06-04 14:43:09 +00:00
|
|
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `util`.`tx_commit`(vIsTx BOOL)
|
2024-02-14 07:45:50 +00:00
|
|
|
BEGIN
|
|
|
|
/**
|
2024-02-15 06:49:57 +00:00
|
|
|
* Confirma los cambios asociados a una transacción.
|
2024-02-14 07:45:50 +00:00
|
|
|
*
|
2024-06-04 14:43:09 +00:00
|
|
|
* @param vIsTx es true si existe transacción asociada
|
2024-02-14 07:45:50 +00:00
|
|
|
*/
|
2024-06-04 14:43:09 +00:00
|
|
|
IF vIsTx THEN
|
2024-02-14 07:45:50 +00:00
|
|
|
COMMIT;
|
|
|
|
END IF;
|
|
|
|
END$$
|
|
|
|
DELIMITER ;
|