17 lines
365 B
SQL
17 lines
365 B
SQL
DELIMITER $$
|
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `hedera`.`order_requestRecalc`(vSelf INT)
|
|
proc: BEGIN
|
|
/**
|
|
* Adds a request to recalculate the order total.
|
|
*
|
|
* @param vSelf The order identifier
|
|
*/
|
|
IF vSelf IS NULL THEN
|
|
LEAVE proc;
|
|
END IF;
|
|
|
|
-- #4409 Disable order recalc
|
|
-- INSERT INTO orderRecalc SET orderFk = vSelf;
|
|
END$$
|
|
DELIMITER ;
|