This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELIMITER $$ | |
CREATE PROCEDURE sp_mass_payee_update (IN id_list JSON) | |
BEGIN | |
-- Declare variables and cursor for notification loop (must be before any SQL statements) | |
DECLARE done INT DEFAULT 0; | |
DECLARE cur_id BIGINT UNSIGNED; | |
DECLARE cur_xpayer_id BIGINT UNSIGNED; | |
DECLARE cur_notify_code INT; | |
DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = 1; | |
DECLARE cur CURSOR FOR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
gone = ! "git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" {print $1}' | xargs git branch -D" |