webZone SQL fixes
gitea/salix/test This commit looks good
Details
gitea/salix/test This commit looks good
Details
This commit is contained in:
parent
78704995a2
commit
47c47435fa
|
@ -340,3 +340,59 @@ END$$
|
||||||
DELIMITER ;
|
DELIMITER ;
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
|
USE `hedera`;
|
||||||
|
DROP procedure IF EXISTS `hedera`.`myOrderAddItem`;
|
||||||
|
|
||||||
|
DELIMITER $$
|
||||||
|
USE `hedera`$$
|
||||||
|
CREATE DEFINER=`root`@`%` PROCEDURE `__myOrderAddItem`(
|
||||||
|
vSelf INT,
|
||||||
|
vWarehouse INT,
|
||||||
|
vItem INT,
|
||||||
|
vAmount INT)
|
||||||
|
BEGIN
|
||||||
|
/**
|
||||||
|
* @deprecated Use myOrder_addItem()
|
||||||
|
*/
|
||||||
|
CALL myOrder_addItem(vSelf, vWarehouse, vItem, vAmount);
|
||||||
|
END$$
|
||||||
|
|
||||||
|
DELIMITER ;
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
USE `hedera`;
|
||||||
|
DROP procedure IF EXISTS `hedera`.`myOrderConfirm`;
|
||||||
|
|
||||||
|
DELIMITER $$
|
||||||
|
USE `hedera`$$
|
||||||
|
CREATE DEFINER=`root`@`%` PROCEDURE `__myOrderConfirm`(vSelf INT)
|
||||||
|
BEGIN
|
||||||
|
/**
|
||||||
|
* @deprecated Use myOrder_confirm()
|
||||||
|
*/
|
||||||
|
CALL myOrder_confirm(vSelf);
|
||||||
|
END$$
|
||||||
|
|
||||||
|
DELIMITER ;
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
USE `hedera`;
|
||||||
|
DROP procedure IF EXISTS `hedera`.`myOrderNewFromDate`;
|
||||||
|
|
||||||
|
DELIMITER $$
|
||||||
|
USE `hedera`$$
|
||||||
|
CREATE DEFINER=`root`@`%` PROCEDURE `__myOrderNewFromDate`(
|
||||||
|
OUT vSelf INT,
|
||||||
|
vLandingDate DATE)
|
||||||
|
BEGIN
|
||||||
|
/**
|
||||||
|
* @deprecated Use myOrder_newWithDate()
|
||||||
|
*/
|
||||||
|
CALL myOrder_newWithDate(vSelf, vLandingDate);
|
||||||
|
END$$
|
||||||
|
|
||||||
|
DELIMITER ;
|
||||||
|
;
|
||||||
|
|
|
@ -4,4 +4,7 @@ GRANT EXECUTE ON PROCEDURE hedera.myBasket_calcCatalogFull TO `guest`@`%`;
|
||||||
GRANT EXECUTE ON PROCEDURE hedera.myBasket_getAvailable TO `guest`@`%`;
|
GRANT EXECUTE ON PROCEDURE hedera.myBasket_getAvailable TO `guest`@`%`;
|
||||||
GRANT EXECUTE ON PROCEDURE hedera.myOrder_getAvailable TO `guest`@`%`;
|
GRANT EXECUTE ON PROCEDURE hedera.myOrder_getAvailable TO `guest`@`%`;
|
||||||
GRANT EXECUTE ON PROCEDURE hedera.catalog_calcFromMyAddress TO account@'%';
|
GRANT EXECUTE ON PROCEDURE hedera.catalog_calcFromMyAddress TO account@'%';
|
||||||
|
REVOKE SELECT ON TABLE hedera.myOrderMyTicket FROM account@'%';
|
||||||
|
GRANT SELECT ON TABLE hedera.myOrderTicket TO account@'%';
|
||||||
|
|
||||||
CALL account.privSync;
|
CALL account.privSync;
|
||||||
|
|
Loading…
Reference in New Issue