15 lines
291 B
MySQL
15 lines
291 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `srt`.`stop`()
|
||
|
BEGIN
|
||
|
|
||
|
/*
|
||
|
* Se ha pulsado el botón STOP en la pantalla tàctil del sorter
|
||
|
*/
|
||
|
|
||
|
INSERT INTO srt.sorterLog(`action`) VALUES('STOP');
|
||
|
|
||
|
UPDATE srt.config SET isEnteringBlocked = TRUE;
|
||
|
|
||
|
END$$
|
||
|
DELIMITER ;
|